Oraichain Mainnet Release Notes
This release focuses on fixing bugs relating to executing an AI request. It also updates Cosmos SDK version 0.42.3 and Tendermint version 0.34.8.
Bug fixes
AI request fees can be empty
There's a bug in the Cosmos SDK that allows empty coins to be larger than any other number of coins. We have fixed it by checking if the input is empty or not before comparing.
Creating a provider script through CLI uses transaction fees instead of custom fees
Previously, using CLI to create a provider script automatically takes transaction fees to charge users. We have added a new separate option for script owners to set custom fees instead.
Fix report does not include estimated fees
The report has an attribute showing how many ORAIs a validator needs to use, but it was always set to zero. We have updated it by calculating the estimated fees.
Fix Oraichain having no version
We have included a specific version of Oraichain after each update. To check, you can type: oraid status
to see the current node version you are running.
Fix status of a validator when storing AI result into the blockchain
When a validator report is examined, Oraichain verifies that validator's current status, which is bonded, unbonding or unbonded. To synchronize with the latest Cosmos SDK version, we make use of the pre-defined statuses for a validator instead of our custom ones.
Cosmos SDK and Tendermint version update
Due to a bug coming from Cosmos SDK version 0.40 and 0.41, where validators that allow double signing do not get jailed, we have to update to Cosmos SDK to 0.42.3 to fix it.