From 5657a78f6bead6e4ee81407db28ed92715dfdec0 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Mon, 19 Jun 2023 02:34:18 +0700 Subject: [PATCH] fixups for hardened tests --- src/rpc/blockchain.cpp | 1 + test/functional/rpc_blockchain.py | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index b684aeb75fbfc0..bc4e24a1d30169 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1586,6 +1586,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request) BuriedForkDescPushBack(softforks, "realloc", consensusParams.BRRHeight); BIP9SoftForkDescPushBack(softforks, "v19", consensusParams, Consensus::DEPLOYMENT_V19); BIP9SoftForkDescPushBack(softforks, "v20", consensusParams, Consensus::DEPLOYMENT_V20); + BIP9SoftForkDescPushBack(softforks, "mn_rr", consensusParams, Consensus::DEPLOYMENT_MN_RR); BIP9SoftForkDescPushBack(softforks, "testdummy", consensusParams, Consensus::DEPLOYMENT_TESTDUMMY); obj.pushKV("softforks", softforks); diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index 1934ad4dcb61a6..b3493f31e239dd 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -158,7 +158,7 @@ def _test_getblockchaininfo(self): 'dip0020': { 'type': 'buried', 'active': False, 'height': 300}, 'dip0024': { 'type': 'buried', 'active': False, 'height': 900}, 'realloc': { 'type': 'buried', 'active': False, 'height': 2500}, - 'mn_rr': { + 'v19': { 'type': 'bip9', 'bip9': { 'status': 'defined', @@ -167,24 +167,23 @@ def _test_getblockchaininfo(self): 'since': 0 }, 'active': False}, - 'v19': { + 'v20': { 'type': 'bip9', 'bip9': { 'status': 'defined', 'start_time': 0, 'timeout': 999999999999, 'since': 0 - }, - 'active': False}, - 'v20': { + }, 'active': False}, + 'mn_rr': { 'type': 'bip9', 'bip9': { 'status': 'defined', 'start_time': 0, 'timeout': 999999999999, 'since': 0 - }, 'active': False}, - + }, + 'active': False}, 'testdummy': { 'type': 'bip9', 'bip9': {