Skip to content

Commit

Permalink
Fixes python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoOl94 committed Aug 8, 2023
1 parent 84a5d73 commit e58b515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qa/sc_evm_mc_addr_ownership.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def run_test(self):
assert_true(gas_used > 21000)

# reach the fork
current_best_epoch = sc_node.block_forgingInfo()["result"]["bestEpochNumber"]
current_best_epoch = sc_node.block_forgingInfo()["result"]["bestBlockEpochNumber"]

for i in range(0, ZENDAO_FORK_EPOCH - current_best_epoch):
generate_next_block(sc_node, "first node", force_switch_to_next_epoch=True)
Expand Down
2 changes: 1 addition & 1 deletion qa/sc_evm_mc_addr_ownership_perf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def run_test(self):
self.sc_sync_all()

# reach the zendao fork if not reached yet
current_best_epoch = sc_node.block_forgingInfo()["result"]["bestEpochNumber"]
current_best_epoch = sc_node.block_forgingInfo()["result"]["bestBlockEpochNumber"]

if (ZENDAO_FORK_EPOCH - current_best_epoch) > 0:
for i in range(0, ZENDAO_FORK_EPOCH - current_best_epoch):
Expand Down

0 comments on commit e58b515

Please sign in to comment.