diff --git a/sh/scenarios/chainspecs/client.chainspec.toml.override b/sh/scenarios/chainspecs/client.chainspec.toml.override new file mode 100644 index 0000000..ee7ab31 --- /dev/null +++ b/sh/scenarios/chainspecs/client.chainspec.toml.override @@ -0,0 +1,2 @@ +[transactions.v1] +wasm_lanes = [[2, 1_048_576, 2048, 1_000_000_000_000, 1], [3, 104857600, 1024, 500_000_000_000, 3], [4, 172_032, 1024, 50_000_000_000, 7], [5, 12_288, 512, 1_500_000_000, 15]] diff --git a/sh/scenarios/chainspecs/event_stream.chainspec.toml.override b/sh/scenarios/chainspecs/event_stream.chainspec.toml.override new file mode 100644 index 0000000..ee7ab31 --- /dev/null +++ b/sh/scenarios/chainspecs/event_stream.chainspec.toml.override @@ -0,0 +1,2 @@ +[transactions.v1] +wasm_lanes = [[2, 1_048_576, 2048, 1_000_000_000_000, 1], [3, 104857600, 1024, 500_000_000_000, 3], [4, 172_032, 1024, 50_000_000_000, 7], [5, 12_288, 512, 1_500_000_000, 15]] diff --git a/sh/scenarios/chainspecs/swap_validator_set.chainspec.toml.override b/sh/scenarios/chainspecs/swap_validator_set.chainspec.toml.override index b080a17..7d32595 100644 --- a/sh/scenarios/chainspecs/swap_validator_set.chainspec.toml.override +++ b/sh/scenarios/chainspecs/swap_validator_set.chainspec.toml.override @@ -3,3 +3,6 @@ round_seigniorage_rate = [0, 1] locked_funds_period = '0days' validator_slots = 5 vesting_schedule_period = '0days' + +[transactions.v1] +wasm_lanes = [[2, 1_048_576, 2048, 1_000_000_000_000, 1], [3, 104857600, 1024, 500_000_000_000, 3], [4, 172_032, 1024, 50_000_000_000, 7], [5, 12_288, 512, 1_500_000_000, 15]] diff --git a/sh/scenarios/chainspecs/sync_upgrade_test.chainspec.toml.override b/sh/scenarios/chainspecs/sync_upgrade_test.chainspec.toml.override new file mode 100644 index 0000000..ee7ab31 --- /dev/null +++ b/sh/scenarios/chainspecs/sync_upgrade_test.chainspec.toml.override @@ -0,0 +1,2 @@ +[transactions.v1] +wasm_lanes = [[2, 1_048_576, 2048, 1_000_000_000_000, 1], [3, 104857600, 1024, 500_000_000_000, 3], [4, 172_032, 1024, 50_000_000_000, 7], [5, 12_288, 512, 1_500_000_000, 15]] diff --git a/sh/scenarios/client.sh b/sh/scenarios/client.sh index 1e184ca..ce1cdf5 100755 --- a/sh/scenarios/client.sh +++ b/sh/scenarios/client.sh @@ -1312,8 +1312,8 @@ function get_chainspec_from_rpc() { OUTPUT=$($(get_path_to_client) get-chainspec \ --node-address "$(get_node_address_rpc)" \ -vv \ - | sed -n '/\[protocol\]/,$p' \ - | sed '/FAUCET/Q') + | awk '/\[.+\]/{flag=1} flag' \ + | awk '/FAUCET/{exit} {print}') # Check non-empty check_client_responded "$OUTPUT" @@ -1341,7 +1341,7 @@ function get_chainspec_json_from_rpc() { OUTPUT=$($(get_path_to_client) get-chainspec \ --node-address "$(get_node_address_rpc)" \ -vv \ - | sed '/\[protocol\]/Q') + | awk '/\[.+\]/{exit} {print}') # Check non-empty check_client_responded "$OUTPUT" diff --git a/sh/scenarios/common/itst.sh b/sh/scenarios/common/itst.sh index 2206aa2..b10b7d9 100644 --- a/sh/scenarios/common/itst.sh +++ b/sh/scenarios/common/itst.sh @@ -473,6 +473,7 @@ function assert_node_proposed() { fi PROPOSER=$(echo "$BLOCK" | jq -r '.header.proposer') + HEIGHT=$(echo "$BLOCK" | jq -r '.header.height') if [ "$PROPOSER" == "$PUBLIC_KEY_HEX" ]; then log "Node-$NODE_ID created a block!" @@ -480,6 +481,7 @@ function assert_node_proposed() { log "Proposer: $PROPOSER" break; else + log "Block $HEIGHT proposed by $PROPOSER, but we need one from $PUBLIC_KEY_HEX" sleep 1 TIMEOUT=$((TIMEOUT-1)) if [ "$TIMEOUT" = '0' ]; then diff --git a/sh/scenarios/validators_disconnect.sh b/sh/scenarios/validators_disconnect.sh index 8b62664..3d108d0 100644 --- a/sh/scenarios/validators_disconnect.sh +++ b/sh/scenarios/validators_disconnect.sh @@ -41,7 +41,7 @@ function main() { nctl-start node=6 nctl-start node=7 # 7. Check if the network is progressing - do_await_era_change_with_timeout 1 "500" + do_await_era_change_with_timeout 1 "1500" source "$NCTL"/sh/scenarios/common/health_checks.sh \ errors=0 \ equivocators=0 \