-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(bridge withdrawer): remove unit tests and add blackbox tests (#1232
) ## Summary changes made in #1215 required adding a mock gRPC server. Moving to black box tests was the next step planned so this will replace the invalidated unit tests with valid black box tests. ## Background Brief background on why these changes were made, ie "why?" ## Changes * Add black box tests for native and erc20 sequencer and ics20 withdrawals * test helpers for the mock cometbft server * test helpers for the mock sequencer gRPC server * test helpers for managing anvil & ethereum node * remove the "unit tests" in `submitter/tests.rs` * some logs i found useful to add while putting this together ## Testing * native withdrawal to the sequencer works * native withdrawal with ics20 works * erc20 to the sequencer works * erc20 with ics20 works ## Related Issues Link any issues that are related, prefer full github links. closes #1227 --------- Co-authored-by: Richard Janis Goldschmidt <[email protected]>
- Loading branch information
1 parent
c19812d
commit 8fa15ce
Showing
13 changed files
with
1,780 additions
and
99 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.