diff --git a/scripts/e2e-upgrade.sh b/scripts/e2e-upgrade.sh index 56613e5a6..d53c51d61 100755 --- a/scripts/e2e-upgrade.sh +++ b/scripts/e2e-upgrade.sh @@ -4,10 +4,10 @@ set -eu # setup the network using the old binary -OLD_VERSION=${OLD_VERSION:-"v0.50.2"} +OLD_VERSION=${OLD_VERSION:-"v0.50.3"} WASM_PATH=${WASM_PATH:-"$PWD/scripts/wasm_file/oraiswap-token.wasm"} ARGS="--chain-id testing -y --keyring-backend test --gas auto --gas-adjustment 1.5" -NEW_VERSION=${NEW_VERSION:-"v0.50.3"} +NEW_VERSION=${NEW_VERSION:-"v0.50.4"} VALIDATOR_HOME=${VALIDATOR_HOME:-"$HOME/.oraid/validator1"} MIGRATE_MSG=${MIGRATE_MSG:-'{}'} EXECUTE_MSG=${EXECUTE_MSG:-'{"ping":{}}'} @@ -150,5 +150,8 @@ NODE_HOME=$VALIDATOR_HOME USER=validator1 sh $PWD/scripts/tests-0.50.2/test-para NODE_HOME=$VALIDATOR_HOME USER=validator1 FUND=1000orai sh $PWD/scripts/tests-0.50.3/test-tokenfactory-metadata-binding.sh USER=validator1 USER2=validator2 sh $PWD/scripts/tests-0.50.3/test-gasless.sh +# v0.50.4 tests +NODE_HOME=$VALIDATOR_HOME USER=validator1 FUND=1000orai sh $PWD/scripts/tests-0.50.4/test-tokenfactory-force-transfer.sh + echo "Tests Passed!!" bash scripts/clean-multinode-local-testnet.sh diff --git a/scripts/json/proposal.json b/scripts/json/proposal.json index 4491ae1e9..6b00ea696 100644 --- a/scripts/json/proposal.json +++ b/scripts/json/proposal.json @@ -4,7 +4,7 @@ "@type": "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", "authority": "orai10d07y265gmmuvt4z0w9aw880jnsr700jf39xhq", "plan": { - "name": "v0.50.3", + "name": "v0.50.4", "time": "0001-01-01T00:00:00Z", "height": "35", "info": "upgrade info", @@ -14,7 +14,7 @@ ], "metadata": "", "deposit": "10000000orai", - "title": "Upgrade Oraichain to v0.50.3", - "summary": "Please refer to the CHANGELOG: https://github.com/oraichain/wasmd/blob/release/v0.50.x/CHANGELOG_ORAI.md#v0503 for more details about the upgrade", + "title": "Upgrade Oraichain to v0.50.4", + "summary": "Please refer to the CHANGELOG: https://github.com/oraichain/wasmd/blob/release/v0.50.x/CHANGELOG_ORAI.md#v0504 for more details about the upgrade", "expedited": false } diff --git a/scripts/tests-0.50.1/test-gov-params.sh b/scripts/tests-0.50.1/test-gov-params.sh index fd734802f..3ff7f1af4 100755 --- a/scripts/tests-0.50.1/test-gov-params.sh +++ b/scripts/tests-0.50.1/test-gov-params.sh @@ -23,15 +23,15 @@ voting_period=$(oraid query gov params --output json | jq -r '.params.voting_per expected_burn_vote_veto="true" expected_expedited_min_deposit_amount="50000000" expected_expedited_min_deposit_denom="orai" -expected_expedited_threshold="0.667" +expected_expedited_threshold="0.667000000000000000" expected_min_deposit_amount="10000000" expected_min_deposit_denom="orai" -expected_min_deposit_ratio="0.01" +expected_min_deposit_ratio="0.010000000000000000" expected_min_initial_deposit_ratio="0.000000000000000000" -expected_proposal_cancel_ratio="0.5" -expected_quorum="0.334" -expected_threshold="0.5" -expected_veto_threshold="0.334" +expected_proposal_cancel_ratio="0.500000000000000000" +expected_quorum="0.334000000000000000" +expected_threshold="0.500000000000000000" +expected_veto_threshold="0.334000000000000000" # Comparison without quotes on right-hand side if [[ $burn_vote_veto != $expected_burn_vote_veto ]]; then diff --git a/scripts/tests-0.50.4/test-tokenfactory-force-transfer.sh b/scripts/tests-0.50.4/test-tokenfactory-force-transfer.sh index e19e4ac18..ac2f0e744 100755 --- a/scripts/tests-0.50.4/test-tokenfactory-force-transfer.sh +++ b/scripts/tests-0.50.4/test-tokenfactory-force-transfer.sh @@ -40,7 +40,7 @@ if ! [[ $admin =~ $user_address ]]; then fi sleep 2 -# try to mint token +# try to mint token oraid tx tokenfactory mint 10000$first_denom $ARGS >$HIDE_LOGS # query balance after mint