From 6f5ce8b6f31c606704cc5829886f523636729bf2 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Wed, 2 Feb 2022 13:47:35 +0200 Subject: [PATCH] SKALE-4942 Replace finish_ts with freeze_until --- skale/contracts/manager/node_rotation.py | 2 +- tests/manager/node_rotation_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skale/contracts/manager/node_rotation.py b/skale/contracts/manager/node_rotation.py index 1beb3f46..7c05dfc9 100644 --- a/skale/contracts/manager/node_rotation.py +++ b/skale/contracts/manager/node_rotation.py @@ -57,7 +57,7 @@ def get_rotation(self, schain_name): return { 'leaving_node': rotation_data[0], 'new_node': rotation_data[1], - 'finish_ts': rotation_data[2], + 'freeze_until': rotation_data[2], 'rotation_id': rotation_data[3] } diff --git a/tests/manager/node_rotation_test.py b/tests/manager/node_rotation_test.py index d133b461..51f94935 100644 --- a/tests/manager/node_rotation_test.py +++ b/tests/manager/node_rotation_test.py @@ -10,7 +10,7 @@ def test_get_rotation(skale): assert skale.node_rotation.get_rotation(DEFAULT_SCHAIN_NAME) == { 'leaving_node': 0, 'new_node': 0, - 'finish_ts': 0, + 'freeze_until': 0, 'rotation_id': 0 }