From f508c1afd424587082685996e4518d9b03c26772 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 3 Jun 2024 12:21:37 +0300 Subject: [PATCH] add rootstock chain specific methods --- .../dshackle/upstream/calls/DefaultEthereumMethods.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt index 3bb1e5be4..6af3c1cd3 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt @@ -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() } }