--- tags: v9, upgrade, testing --- # v9.0.2 pre-release testing `consumer-removal` bug fix A new version of Gaia will be released to fix the bug where a consumer chain is stopped immediately after a `consumer-removal` proposal passes, even if the `stop_time` has not been reached. ## Testing v9.0.2 will be ready for release after these checks are completed: - [X] Replicate bug in local testnet - [X] Confirm bug is fixed in commit [b0b42fce13d92814aec786d575a410f6d98b7ee9](https://github.com/cosmos/gaia/commit/b0b42fce13d92814aec786d575a410f6d98b7ee9) - [X] Confirm commit is not consensus-breaking with respect to v9.0.1 Four validators (each one of them with 25% voting power) were started with v9.0.1, and two of them upgraded to the new version. ``` curl -s http://rs-test.stg.earthball.xyz:25030/abci_info | jq -r '.result.response.version' v9.0.1 curl -s http://rs-test.stg.earthball.xyz:25031/abci_info | jq -r '.result.response.version' v9.0.1 curl -s http://rs-test.stg.earthball.xyz:25032/abci_info | jq -r '.result.response.version' release/v9.0.x-b0b42fce13d92814aec786d575a410f6d98b7ee9 curl -s http://rs-test.stg.earthball.xyz:25033/abci_info | jq -r '.result.response.version' release/v9.0.x-b0b42fce13d92814aec786d575a410f6d98b7ee9 ``` All four validators continue to create blocks after upgrading: ``` Proposer blocks from 2305 to 2404 val4: 25 val1: 25 val2: 25 val3: 25 ``` Start new consumer chain and submit a `consumer-removal` proposal from a non-upgraded node **App Hash Errors: All four nodes in the provider chain get stuck at the prevote step** ``` ERR prevote step: ProposalBlock is invalid err="wrong Block.Header.AppHash. Expected 932CC5500E0225363DAD08F150696C050A79D3C98C3DDE2F6F73594781BE75D8, got 64CFB031EFC3F04022EF21F4113890D51C695BF6936DEC4D4E40CC13BA1F66BF" height=3101 module=consensus round=16 ``` - [x] Upgrade RS testnet to v9.0.2-rc0 - [X] Launch new consumer chain in RS testnet - [X] Pass consumer-removal proposal with a stop_time set at least two hours in the future: https://explorer.rs-testnet.polypore.xyz/provider/gov/15 - [X] The consumer chain stops at `stop_time` specified in proposal.