Closed matevz closed 1 month ago
Fails here: https://github.com/oasisprotocol/sapphire-paratime/blob/a4beb2acfcb993af66299022b5db2ba984908f8d/contracts/test/auth.ts#L167
If the block takes too much time to be mined, then the last block timestamp is still considered and the bearer is not expired yet. Fix the test so that it waits for the block to be mined with the timestamp greater than expiration.
expiration
Fails here: https://github.com/oasisprotocol/sapphire-paratime/blob/a4beb2acfcb993af66299022b5db2ba984908f8d/contracts/test/auth.ts#L167
If the block takes too much time to be mined, then the last block timestamp is still considered and the bearer is not expired yet. Fix the test so that it waits for the block to be mined with the timestamp greater than
expiration
.