mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-12 14:36:56 +00:00
Deposit contract script additions (#455)
* Deposit contract script additions * Cleanup/cosmetics
This commit is contained in:
parent
2a28a95cfc
commit
2b7b7b1471
File diff suppressed because one or more lines are too long
83
beacon_chain/deposit_contract.nim
Normal file
83
beacon_chain/deposit_contract.nim
Normal file
File diff suppressed because one or more lines are too long
@ -36,10 +36,10 @@ nim c -o:"$BEACON_NODE_BIN" $NIMFLAGS $DEFS beacon_chain/beacon_node
|
||||
|
||||
if [ ! -f "${LAST_VALIDATOR}" ]; then
|
||||
echo Building $DEPLOY_DEPOSIT_CONTRACT_BIN
|
||||
nim c -o:"$DEPLOY_DEPOSIT_CONTRACT_BIN" $NIMFLAGS $DEFS -d:release beacon_chain/deploy_deposit_contract
|
||||
nim c -o:"$DEPLOY_DEPOSIT_CONTRACT_BIN" $NIMFLAGS $DEFS -d:release beacon_chain/deposit_contract
|
||||
|
||||
if [ "$DEPOSIT_WEB3_URL_ARG" != "" ]; then
|
||||
DEPOSIT_CONTRACT_ADDRESS=$($DEPLOY_DEPOSIT_CONTRACT_BIN $DEPOSIT_WEB3_URL_ARG)
|
||||
DEPOSIT_CONTRACT_ADDRESS=$($DEPLOY_DEPOSIT_CONTRACT_BIN deploy $DEPOSIT_WEB3_URL_ARG)
|
||||
export DEPOSIT_CONTRACT_ADDRESS
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user