-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uint64 underflow in SequencerClient (#2266)
This underflow causes the fund-builder service to query for the block with block number max(uint64) when the demo is started and the current block height is still zero. To test ``` scripts/build-docker-images-native just demo --force-recreate --renew-anon-volumes ``` and run `scripts/smoke-test-demo` in another terminal. Also increases the number of retries from 5 to 10, so we would retry for a total of 2 seconds instead of 1. I figured it doesn't hurt to fail a second later. Adds a very basic regression test that panics with underflow on the old implementation.
- Loading branch information
Showing
3 changed files
with
32 additions
and
13 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