This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: e2e setup for goerli network & Refactor: move initialization to …
…nix hook (paritytech#777) * Refactor: move to initialize hook & some cleanup * Fix husky * Update foundry libs with submodule * env for goerli * Fix for production deployment * Suppress error temporarily when init BeefyClient for foundry-rs/foundry#3880 * More refactor for comments * For goerli e2e setup * Fix: for both local&goerli setup * More fixes * Fix for comments * Cleanup * Improve e2e scripts * Fix for comments
- Loading branch information
Showing
18 changed files
with
98 additions
and
1,756 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "Hack SLOTS_IN_EPOCH in lodestar" | ||
(cd packages/test && ./scripts/hack-ethereum.sh) | ||
|
||
echo "Install husky hook" | ||
(cd .. && ./core/node_modules/.bin/husky install) | ||
|
||
echo "Initialize foundry libraries" | ||
(cd packages/contracts && (forge install||true)) |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
source_up_if_exists | ||
|
||
export PRIVATE_KEY=0x4e9444a6efd6d42725a250b650a781da2737ea308c839eaccb0f7f3dbd2fea77 | ||
export RANDAO_COMMIT_DELAY=3 | ||
export RANDAO_COMMIT_EXP=8 | ||
export PARAID=1000 | ||
## Config only for foundry test | ||
# export PRIVATE_KEY=0x4e9444a6efd6d42725a250b650a781da2737ea308c839eaccb0f7f3dbd2fea77 | ||
# export RANDAO_COMMIT_DELAY=3 | ||
# export RANDAO_COMMIT_EXP=8 | ||
# export PARAID=1000 |
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 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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"source": { | ||
"ethereum": { | ||
"endpoint": "ws://127.0.0.1:8546" | ||
}, | ||
"polkadot": { | ||
"endpoint": "ws://127.0.0.1:9944" | ||
}, | ||
"parachain": { | ||
"endpoint": "ws://127.0.0.1:11144" | ||
}, | ||
"contracts": { | ||
"BeefyClient": null, | ||
"BasicInboundChannel": null | ||
}, | ||
"beefy-activation-block": 0, | ||
"basicChannelSourceIDs": [] | ||
"source": { | ||
"ethereum": { | ||
"endpoint": "ws://127.0.0.1:8546" | ||
}, | ||
"sink": { | ||
"ethereum": { | ||
"endpoint": "ws://127.0.0.1:8546", | ||
"gas-limit": 5000000 | ||
}, | ||
"contracts": { | ||
"BasicInboundChannel": null | ||
} | ||
"polkadot": { | ||
"endpoint": "ws://127.0.0.1:9944" | ||
}, | ||
"parachain": { | ||
"endpoint": "ws://127.0.0.1:11144" | ||
}, | ||
"contracts": { | ||
"BeefyClient": null, | ||
"BasicInboundChannel": null | ||
}, | ||
"beefy-activation-block": 0, | ||
"basicChannelSourceIDs": [] | ||
}, | ||
"sink": { | ||
"ethereum": { | ||
"endpoint": "ws://127.0.0.1:8546", | ||
"gas-limit": null | ||
}, | ||
"contracts": { | ||
"BasicInboundChannel": null | ||
} | ||
} | ||
} |
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.