-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove code involving ganache/truffle (#3437)
* Remove code involving ganache/truffle * remove certusone/wormhole-sdk dependency' * Add ethereum tests foundry (#3439) * WIP * correct openzeppelin version * Fix Relayer Test
- Loading branch information
1 parent
d71ea78
commit 928a208
Showing
49 changed files
with
5,915 additions
and
54,247 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ lib/forge-std: | |
forge install foundry-rs/[email protected] --no-git --no-commit | ||
|
||
lib/openzeppelin-contracts: | ||
forge install openzeppelin/openzeppelin-contracts@0457042d93d9dfd760dbaa06a4d2f1216fdbe297 --no-git --no-commit | ||
forge install openzeppelin/openzeppelin-contracts@v4.3.1 --no-git --no-commit | ||
|
||
dependencies: node_modules forge_dependencies | ||
|
||
|
@@ -61,15 +61,7 @@ flattened: $(patsubst contracts/%, flattened/%, $(FLATTEN_FILES)) | |
.env: .env.test | ||
cp $< $@ | ||
|
||
test: test-forge test-identifiers # test-ganache | ||
|
||
.PHONY: test-ganache | ||
test-ganache: build .env dependencies | ||
@if pgrep ganache-cli; then echo "Error: ganache-cli already running. Stop it before running tests"; exit 1; fi | ||
. ./.env && npx ganache-cli --chain.vmErrorsOnRPCResponse --chain.chainId $$INIT_EVM_CHAIN_ID --wallet.defaultBalance 10000 --wallet.deterministic --chain.time="1970-01-01T00:00:00+00:00" --chain.asyncRequestProcessing=false > ganache.log & | ||
sleep 5 | ||
npm test || (pkill ganache-cli && exit 1) | ||
pkill ganache-cli || true | ||
test: test-forge test-identifiers | ||
|
||
.PHONY: test-upgrade | ||
test-upgrade: build .env node_modules | ||
|
@@ -86,4 +78,4 @@ test-forge: dependencies | |
forge test --no-match-test .*_KEVM # ignore KEVM tests (see PROOFS.md) | ||
|
||
clean: | ||
rm -rf ganache.log .env node_modules build flattened build-forge ethers-contracts lib/forge-std lib/openzeppelin-contracts | ||
rm -rf .env node_modules build flattened build-forge ethers-contracts lib/forge-std lib/openzeppelin-contracts |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
ethereum/migrations/6_deploy_bridge_implementation_only.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.