From c1c7aa4d4a3a896a41b64c28d541bdc2aa4e1834 Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Tue, 17 Aug 2021 12:30:06 +0530 Subject: [PATCH 1/2] Add EunosPaya height to blockchaininfo --- src/rpc/blockchain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 25c68de61a2..4b35c3f5486 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1358,6 +1358,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request) BuriedForkDescPushBack(softforks, "dakota", consensusParams.DakotaHeight); BuriedForkDescPushBack(softforks, "dakotacrescent", consensusParams.DakotaCrescentHeight); BuriedForkDescPushBack(softforks, "eunos", consensusParams.EunosHeight); + BuriedForkDescPushBack(softforks, "eunospaya", consensusParams.EunosPayaHeight); BIP9SoftForkDescPushBack(softforks, "testdummy", consensusParams, Consensus::DEPLOYMENT_TESTDUMMY); obj.pushKV("softforks", softforks); From 66315cb13777382d16c0c7bb980c01c127f4dfc9 Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Tue, 17 Aug 2021 15:21:03 +0530 Subject: [PATCH 2/2] Update tests --- test/functional/rpc_blockchain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index 9aac53cf988..51662ce5172 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -130,6 +130,7 @@ def _test_getblockchaininfo(self): 'dakota': {'type': 'buried', 'active': False, 'height': 10000000}, 'dakotacrescent': {'type': 'buried', 'active': False, 'height': 10000000}, 'eunos': {'type': 'buried', 'active': False, 'height': 10000000}, + 'eunospaya': {'type': 'buried', 'active': False, 'height': 10000000}, 'testdummy': { 'type': 'bip9', 'bip9': {