Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max chain length in sc config #326

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deploy-0chain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ runs:
--set commonConf.sc.smart_contracts.storagesc.max_blobber_select_for_challenge=1 \
--set commonConf.sc.smart_contracts.storagesc.max_delegates=200 \
--set commonConf.sc.smart_contracts.storagesc.max_file_size=2048000000000 \
--set commonConf.sc.smart_contracts.storagesc.max_chain_length=32 \
--set commonConf.zchainUp.network.user_handlers.rate_limit=1500 \
--set commonConf.sc.smart_contracts.storagesc.challenge_generation_gap=4 \
--set commonConf.sc.smart_contracts.minersc.min_stake_per_delegate=0 \
Expand Down Expand Up @@ -710,6 +711,7 @@ runs:
echo '{"client_id":"1746b06bb09f55ee01b33b5e2e055d6cc7a900cb57c0a3a5eaabb8a0e7745802","client_key":"7b630ba670dac2f22d43c2399b70eff378689a53ee03ea20957bb7e73df016200fea410ba5102558b0c39617e5afd2c1843b161a1dedec15e1ab40543a78a518","keys":[{"public_key":"7b630ba670dac2f22d43c2399b70eff378689a53ee03ea20957bb7e73df016200fea410ba5102558b0c39617e5afd2c1843b161a1dedec15e1ab40543a78a518","private_key":"c06b6f6945ba02d5a3be86b8779deca63bb636ce7e46804a479c50e53c864915"}],"mnemonics":"cactus panther essence ability copper fox wise actual need cousin boat uncover ride diamond group jacket anchor current float rely tragic omit child payment","version":"1.0","date_created":"2021-08-04 18:53:56.949069945 +0100 BST m=+0.018986002"}' > owner_wallet.json
./zwallet mn-update-config --keys cost.add_hardfork --values 100 --wallet owner_wallet.json --config ./zbox_config.yaml --configDir .
./zwallet add-hardfork -n apollo -r 1 --wallet owner_wallet.json --config ./zbox_config.yaml --configDir .
./zwallet sc-update-config --keys max_chain_length --values 32 --wallet owner_wallet.json --config ./zbox_config.yaml --configDir .

- name: "Stake blobbers using above built binaries"
shell: 'script --return --quiet --command "bash {0}"'
Expand Down