Add rootstock support (#497)
* add rootstock chain * add rootstock chain specific methods
This commit is contained in:
Submodule emerald-grpc updated: dc2ee26eb0...c89cd3f5cc
@@ -1493,3 +1493,25 @@ chain-settings:
|
|||||||
code: NEUTRON_TESTNET
|
code: NEUTRON_TESTNET
|
||||||
grpcId: 10083
|
grpcId: 10083
|
||||||
priority: 10
|
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
|
||||||
|
|||||||
@@ -328,6 +328,14 @@ class DefaultEthereumMethods(
|
|||||||
"linea_estimateGas",
|
"linea_estimateGas",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Chain.ROOTSTOCK__MAINNET, Chain.ROOTSTOCK__TESTNET -> listOf(
|
||||||
|
"rsk_getRawTransactionReceiptByHash",
|
||||||
|
"rsk_getTransactionReceiptNodesByHash",
|
||||||
|
"rsk_getRawBlockHeaderByHash",
|
||||||
|
"rsk_getRawBlockHeaderByNumber",
|
||||||
|
"rsk_protocolVersion",
|
||||||
|
)
|
||||||
|
|
||||||
else -> emptyList()
|
else -> emptyList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user