Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rootstock support #497

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion emerald-grpc
22 changes: 22 additions & 0 deletions foundation/src/main/resources/chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1493,3 +1493,25 @@ chain-settings:
code: NEUTRON_TESTNET
grpcId: 10083
priority: 10
- id: rootstock
label: Rootstock
type: eth
settings:
fork-choice: quorum
expected-block-time: 45s
lags:
syncing: 6
lagging: 1
chains:
- id: Mainnet
chain-id: 0x1e
short-names: [ rootstock, rootstock-mainnet ]
code: ROOTSTOCK_MAINNET_CHAIN
grpcId: 1062
priority: 100
- id: Testnet
chain-id: 0x1f
short-names: [ rootstock-testnet ]
code: ROOTSTOCK_TESTNET_CHAIN
grpcId: 10084
priority: 10
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,14 @@ class DefaultEthereumMethods(
"linea_estimateGas",
)

Chain.ROOTSTOCK__MAINNET, Chain.ROOTSTOCK__TESTNET -> listOf(
"rsk_getRawTransactionReceiptByHash",
"rsk_getTransactionReceiptNodesByHash",
"rsk_getRawBlockHeaderByHash",
"rsk_getRawBlockHeaderByNumber",
"rsk_protocolVersion",
)

else -> emptyList()
}
}
Expand Down
Loading