Skip to content

chore: Add polkadot evm mainnet example#703

Merged
tirumerla merged 1 commit into
mainfrom
add-polkadot-evm-mainnet-example
Mar 20, 2026
Merged

chore: Add polkadot evm mainnet example#703
tirumerla merged 1 commit into
mainfrom
add-polkadot-evm-mainnet-example

Conversation

@NicoMolinaOZ
Copy link
Copy Markdown
Contributor

@NicoMolinaOZ NicoMolinaOZ commented Mar 19, 2026

Summary

  • Transaction sent on mainnet using relayer:

https://blockscout.polkadot.io/tx/0x0a36526105d1bd1b006fdcb2fd82cc0ad0b6367596dbaabf3df1c97a4ca880a3

Testing Process

Checklist

  • Add a reference to related issues in the PR description.
  • Add unit tests if applicable.

Note

If you are using Relayer in your stack, consider adding your team or organization to our list of Relayer Users in the Wild!

Summary by CodeRabbit

  • New Features

    • Added Polkadot hub mainnet network support with Ethereum Virtual Machine compatibility. Configuration includes multiple RPC endpoints for reliability and redundancy, alongside blockchain explorer integration for transaction verification and network monitoring
  • Chores

    • Reformatted Polkadot hub testnet network configuration

@NicoMolinaOZ NicoMolinaOZ requested a review from a team as a code owner March 19, 2026 12:50
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 19, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7a9568b6-44ca-43a9-a6fb-586f907f54e5

📥 Commits

Reviewing files that changed from the base of the PR and between 672ee6d and 41d6cf2.

📒 Files selected for processing (1)
  • config/networks/polkadot.json

Walkthrough

A new Polkadot hub mainnet network configuration was added to the network settings file with EVM RPC and explorer URLs, along with blockchain parameters. The existing testnet configuration was reformatted to use inline array syntax without altering its values.

Changes

Cohort / File(s) Summary
Network Configuration
config/networks/polkadot.json
Added mainnet entry for polkadot-hub (chain_id: 420420419) with RPC endpoints, Blockscout explorer, DOT symbol, 6 confirmations, and 2400ms block time. Reformatted testnet entry to use inline array syntax.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A new network hops into view,
Polkadot hub, shiny and new!
RPC paths lead to blockchain delight,
With confirmations set just right,
Our config now bounces with blockchain might! 🌐

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the main change: adding a Polkadot EVM mainnet configuration entry to the network config file.
Description check ✅ Passed The description includes all required template sections (Summary, Testing Process, Checklist) with the Summary providing a transaction reference demonstrating mainnet usage.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-polkadot-evm-mainnet-example
📝 Coding Plan
  • Generate coding plan for human review comments

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 OpenGrep (1.16.4)
config/networks/polkadot.json

┌──────────────┐
│ Opengrep CLI │
└──────────────┘

�[32m✔�[39m �[1mOpengrep OSS�[0m
�[32m✔�[39m Basic security coverage for first-party code vulnerabilities.

�[1m Loading rules from local config...�[0m


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

Tip

You can make CodeRabbit's review stricter and more nitpicky using the `assertive` profile, if that's what you prefer.

Change the reviews.profile setting to assertive to make CodeRabbit's nitpick more issues in your PRs.

Copy link
Copy Markdown
Contributor

@tirumerla tirumerla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tirumerla tirumerla merged commit b2dfc3a into main Mar 20, 2026
24 checks passed
@tirumerla tirumerla deleted the add-polkadot-evm-mainnet-example branch March 20, 2026 00:06
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants