Skip to content

Commit 7fa6c77

Browse files
committed
fix: tests
1 parent d822bdc commit 7fa6c77

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/acceptance/test_csm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ def test_initial_state(self, hash_consensus):
180180
assert chain_config["genesisTime"] == CHAIN_GENESIS_TIME
181181

182182
frame_config = hash_consensus.getFrameConfig()
183-
assert frame_config["initialEpoch"] == 326715
183+
assert frame_config["initialEpoch"] == 434490
184184
assert frame_config["epochsPerFrame"] == CS_ORACLE_EPOCHS_PER_FRAME
185-
assert frame_config["fastLaneLengthSlots"] == 1800
185+
assert frame_config["fastLaneLengthSlots"] == 300
186186

187187
assert hash_consensus.getQuorum() == ORACLE_QUORUM
188188

189-
assert hash_consensus.getInitialRefSlot() == 10454879
189+
assert hash_consensus.getInitialRefSlot() == 13903679
190190

191191
members = hash_consensus.getMembers()
192192
assert sorted(members["addresses"]) == sorted(ORACLE_COMMITTEE)

tests/regression/test_permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def protocol_permissions():
400400
"DEFAULT_ADMIN_ROLE": [contracts.agent],
401401
"MANAGE_MEMBERS_AND_QUORUM_ROLE": [contracts.agent],
402402
"DISABLE_CONSENSUS_ROLE": [],
403-
"MANAGE_FRAME_CONFIG_ROLE": [TWO_PHASE_FRAME_CONFIG_UPDATE],
403+
"MANAGE_FRAME_CONFIG_ROLE": [],
404404
"MANAGE_FAST_LANE_CONFIG_ROLE": [],
405405
"MANAGE_REPORT_PROCESSOR_ROLE": [],
406406
},

0 commit comments

Comments
 (0)