-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: behavior when pending block is not present in db (#258)
- Loading branch information
Showing
5 changed files
with
174 additions
and
24 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
# This script is the same as `e2e-coverage` but does not run with llvm-cov. Use this for faster testing, because | ||
# `e2e-coverage` will likely rebuild everything. | ||
set -e | ||
|
||
# will also launch anvil and automatically close it down on error or success | ||
|
||
anvil --fork-url https://eth.merkle.io --fork-block-number 20395662 & | ||
|
||
subshell() { | ||
set -e | ||
cargo build --bin madara --profile dev | ||
cargo test --profile dev | ||
} | ||
|
||
(subshell && r=$?) || r=$? | ||
pkill -P $$ | ||
exit $r |