-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1669 from skalenetwork/deploy-fix
Add deploy test
- Loading branch information
Showing
7 changed files
with
125 additions
and
131 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,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
ACCOUNTS=accounts.json | ||
GANACHE=$(npx ganache \ | ||
--😈 \ | ||
--wallet.accountKeysPath "$ACCOUNTS" \ | ||
--chain.allowUnlimitedContractSize \ | ||
) | ||
PRIVATE_KEY=$(jq -r "first(.private_keys[])" < "$ACCOUNTS") | ||
|
||
export CHAIN_NAME_SCHAIN="d2-chain" | ||
export PRIVATE_KEY_FOR_ETHEREUM=$PRIVATE_KEY | ||
export PRIVATE_KEY_FOR_SCHAIN=$PRIVATE_KEY | ||
|
||
yarn deploy-skale-manager-components | ||
yarn deploy-to-both-chains | ||
|
||
npx ganache instances stop "$GANACHE" |
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.