Skip to content

Commit

Permalink
Samlaf avs 559 setup integration test for bls agg (#277)
Browse files Browse the repository at this point in the history
* move IERC20 to middleware repo (bindings from one found in contracts repo was buggy for some reason)

* make bindings

* update foundry version + regenerate bindings

* update startAnvil function to advance chain by 1 block to fix current bug

* add integration test in blsagg

* fix lint error

* create new advanceChain fct which doesn't require cast being installed on local machine

* change blsagg_test to use AdvanceChainByNBlocksExecInContainer fct which doesn't need cast to be installed locally

* refactored the blsagg integration test to be easier to read
  • Loading branch information
samlaf authored Jun 28, 2024
1 parent 2c8b1d5 commit cc3b8d2
Show file tree
Hide file tree
Showing 8 changed files with 1,744 additions and 10 deletions.
2 changes: 1 addition & 1 deletion contracts/anvil/contracts-deployed-anvil-state.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/anvil/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parent_path=$(
pwd -P
)

FOUNDRY_IMAGE=ghcr.io/foundry-rs/foundry:nightly-5b7e4cb3c882b28f3c32ba580de27ce7381f415a
FOUNDRY_IMAGE=ghcr.io/foundry-rs/foundry:nightly-3abac322efdb69e27b6fe8748b72754ae878f64d@sha256:871b66957335636a02c6c324c969db9adb1d6d64f148753c4a986cf32a40dc3c

clean_up() {
# Check if the exit status is non-zero
Expand Down
2 changes: 1 addition & 1 deletion contracts/bindings/ContractsRegistry/binding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

101 changes: 100 additions & 1 deletion contracts/bindings/IERC20/binding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cc3b8d2

Please sign in to comment.