File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
deployments/rollup-bsn-demo Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- d60fe6249d6e10d879dc3df07e5e68a59702b095 finality.wasm
1+ be6d95a51d228e71f5dcd194b44abd1de0a4970c finality.wasm
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ sleep 10 # wait for containers to be ready (cov emulator takes a while to start)
66
77BBN_CHAIN_ID=" chain-test"
88CONSUMER_ID=" consumer-id"
9+ MIN_PUB_RAND=100 # Minimum number of public randomness commitments required
910
1011# 🔥 GAS TRACKING INFRASTRUCTURE
1112
@@ -95,7 +96,8 @@ measure_gas "$STORE_TX_HASH" "Store Contract WASM"
9596echo " ✅ Contract WASM stored successfully!"
9697
9798echo " → Instantiating contract..."
98- INSTANTIATE_MSG_JSON=" {\" admin\" :\" $admin \" ,\" bsn_id\" :\" $CONSUMER_ID \" }"
99+ echo " → Using min_pub_rand=$MIN_PUB_RAND (minimum randomness commitments required)"
100+ INSTANTIATE_MSG_JSON=" {\" admin\" :\" $admin \" ,\" bsn_id\" :\" $CONSUMER_ID \" ,\" min_pub_rand\" :$MIN_PUB_RAND }"
99101INSTANTIATE_CMD=" /bin/babylond --home /babylondhome tx wasm instantiate 1 '$INSTANTIATE_MSG_JSON ' --chain-id $BBN_CHAIN_ID --keyring-backend test --gas auto --gas-adjustment 1.5 --gas-prices 1ubbn --label 'finality' --admin $admin --from test-spending-key --output json -y"
100102echo " → Command: $INSTANTIATE_CMD "
101103INSTANTIATE_OUTPUT=$( docker exec babylondnode0 /bin/sh -c " $INSTANTIATE_CMD " )
You can’t perform that action at this time.
0 commit comments