From b8bc2f3d7d49db90b0a355708712d82e3b738509 Mon Sep 17 00:00:00 2001 From: Dmytro Tkachuk Date: Mon, 2 Mar 2020 19:32:51 +0200 Subject: [PATCH] SKALE-2261 Fix functions after SM merge --- skale/contracts/data/schains_data.py | 2 +- skale/contracts/delegation/validator_service.py | 2 +- tests/constants.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skale/contracts/data/schains_data.py b/skale/contracts/data/schains_data.py index 8efa289e..97b7fe43 100644 --- a/skale/contracts/data/schains_data.py +++ b/skale/contracts/data/schains_data.py @@ -25,7 +25,7 @@ FIELDS = [ - 'name', 'owner', 'indexInOwnerList', 'partOfNode', 'lifetime', 'startDate', + 'name', 'owner', 'indexInOwnerList', 'partOfNode', 'lifetime', 'startDate', 'startBlock', 'deposit', 'index', 'chainId' ] diff --git a/skale/contracts/delegation/validator_service.py b/skale/contracts/delegation/validator_service.py index 2f4e48a4..5f0a57cf 100644 --- a/skale/contracts/delegation/validator_service.py +++ b/skale/contracts/delegation/validator_service.py @@ -26,7 +26,7 @@ FIELDS = [ 'name', 'validator_address', 'requested_address', 'description', 'fee_rate', - 'registration_time', 'minimum_delegation_amount', 'last_bounty_collection_month' + 'registration_time', 'minimum_delegation_amount' ] diff --git a/tests/constants.py b/tests/constants.py index fa232385..928cc032 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -24,7 +24,7 @@ LIFETIME_YEARS = 1 LIFETIME_SECONDS = LIFETIME_YEARS * 366 * 86400 -EMPTY_SCHAIN_ARR = ['', '0x0000000000000000000000000000000000000000', 0, 0, 0, 0, 0, 0] +EMPTY_SCHAIN_ARR = ['', '0x0000000000000000000000000000000000000000', 0, 0, 0, 0, 0, 0, 0] EMPTY_ETH_ACCOUNT = '0x0000000000000000000000000000000000000001' MIN_NODES_IN_SCHAIN = 2