Skip to content

Commit

Permalink
add function to shutdown bc staking channel (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: NathanBSC <[email protected]>
  • Loading branch information
buddh0 and NathanBSC authored May 15, 2024
1 parent 3ff3183 commit 545ca88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function prepare_config() {

cd ${workspace}/genesis/
git checkout HEAD contracts
sed -i -e s/^}/"function shutdownBCStaking() external { registeredContractChannelMap[VALIDATOR_CONTRACT_ADDR][STAKING_CHANNELID] = false; }}/" ${workspace}/genesis/contracts/CrossChain.sol
poetry run python -m scripts.generate generate-validators
poetry run python -m scripts.generate generate-init-holders "${INIT_HOLDER}"
poetry run python -m scripts.generate dev --dev-chain-id ${BSC_CHAIN_ID} --whitelist-1 "${INIT_HOLDER}" \
Expand Down

0 comments on commit 545ca88

Please sign in to comment.