Skip to content

Conversation

@laciferin2024
Copy link
Contributor

@laciferin2024 laciferin2024 commented Dec 10, 2025

Summary by CodeRabbit

  • New Features

    • Added support for Polkadot and Citrea blockchain networks for deployment and interaction.
    • Deployed MoneyPot contract module to Polkadot network.
  • Chores

    • Updated blockchain network configurations and verification settings.
    • Added compiler configuration for new resolver.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 10, 2025

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR adds support for two new blockchain networks—Citrea and Polkadot—to the Hardhat configuration with their respective RPC endpoints, chain IDs, explorers, and faucets. It also includes a resolver configuration and verification setup, along with deployment artifacts and parameters for the Polkadot network.

Changes

Cohort / File(s) Summary
Hardhat Configuration
hardhat.config.ts
Added Citrea (chainId 5115) and Polkadot (chainId 420420422) network configurations with HTTP/WS endpoints, account settings, explorer URLs, and faucet details. Introduced resolver configuration (version 0.3.0, npm source). Extended verification configuration with chainDescriptors and customChains entries for the Polkadot network.
Polkadot Deployment Artifacts
ignition/deployments/chain-420420422/deployed_addresses.json, ignition/deployments/chain-420420422/journal.jsonl
New deployment files capturing deployed contract addresses (MoneyPotModule#IERC20 and MoneyPot) and transaction journal logs for the Polkadot chain initialization, deployment, and execution.
Polkadot Module Parameters
ignition/parameters/polkadot.json
New configuration file specifying MoneyPotModule parameters for Polkadot, including verifier address, token address, Pyth instance, and price ID.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • hardhat.config.ts: Verify accuracy of all RPC endpoints, chain IDs, and explorer/faucet URLs for both networks; confirm verification configuration mappings are correct.
  • Deployment artifacts: Validate contract addresses and ensure journal entries represent expected deployment sequence; check Pyth instance address (zero address on Polkadot) is intentional.

Possibly related PRs

  • scaffold: from unreal #1: Modifies hardhat.config.ts network configuration entries and typing, directly overlapping with the network addition changes in this PR.

Poem

🐰 Across new chains we hippity-hop,
Citrea and Polkadot make us stop,
With RPC endpoints, explorers, and faucets so grand,
Our Hardhat config spans every land! 🌍✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/celia-cbtc

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Cache: Disabled due to Reviews > Disable Cache setting

📥 Commits

Reviewing files that changed from the base of the PR and between fe32e0d and 325e58a.

📒 Files selected for processing (4)
  • hardhat.config.ts (6 hunks)
  • ignition/deployments/chain-420420422/deployed_addresses.json (1 hunks)
  • ignition/deployments/chain-420420422/journal.jsonl (1 hunks)
  • ignition/parameters/polkadot.json (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@laciferin2024 laciferin2024 merged commit a5f3304 into main Dec 10, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants