Skip to content

Commit be12244

Browse files
committed
feat: time synced with the chain
1 parent a3cab05 commit be12244

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/acceptance/test_accounting_oracle_negative.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def test_submitConsensusReport(accounting_oracle: Contract, hash_consensus: Cont
8080
{"from": hash_consensus},
8181
)
8282

83+
# ensure the brownie time offset is correct, and time synced with the chain
84+
chain.sleep(1)
8385

8486
with reverts(encode_error("HashCannotBeZero()")):
8587
accounting_oracle.submitConsensusReport(

0 commit comments

Comments
 (0)