-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/integ: deal with lack of refund with delay
The slowest <1/3 of validators will routinely miss having their approval votes included in a block that contains the resolution. As a result, they will not get the refund expected when placing a valid vote. To deal with this possibility in the tests where we check expected balance changes, sleep a little after deposit transactions are resolved so that the late approval can be mined in the subsequent block. Without the delay, the balance will be less the gas consumed by the approve txn.
- Loading branch information
1 parent
f738faa
commit a9930db
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters