v1.2.0
Improvements
- ADR-028 Addresses: a new specification for deriving addresses for all kinds of addressable accounts to cover a security risk due to address space collisions.
- Better support for multisig transactions.
- Transaction fees are now saved on-chain and configurable. We can adjust the transaction fee whenever necessary without having to update the binary.
- Better modularization on some of our modules. gentlemint module will now only take care of token-related tasks like load tokens, burn tokens or fee handling, etc. electoral module takes care of authorization.
- Transaction fee will be automatically calculated base on the on-chain values if not supplied. Clients can still submit higher fee if they want to.
- Automatically load SHR by SHRP when balance is not enough for transaction fee.
- Backports improvements to state synchronization and ABCI performance under concurrent load, and the PostgreSQL event indexer.
- Allow state sync fetchers and request timeout to be configurable.
- Retry requests for snapshots and add a minimum discovery time (5s) for new snapshots.
Bug fixes
- Sometimes user input fee gets overridden by application default fee, unexpectedly.
- Transfer tokens accidentally minted the same amount of tokens to module’s balance (each module has its own address), causing inconsistent total supply values.
- When balance is equal to transaction fee, the transaction is rejected. We now allow spending ALL available balance, making it zero.
- There is a substantial bug in evidence handling where evidence could sometimes be broadcast before the block containing that evidence was fully committed, resulting in some nodes panicking when trying to verify said evidence.
- Sometimes peers (nodes) try to send messages on incorrect channels causing error which could terminate the process.
- A bug with incorrectly handling contexts that would occasionally freeze state sync.
- A memory leak in the evidence reactor.
- And many many more from Cosmos SDK and Tendermint altogether.
Those are some major features, improvements and bug fixes we both made and picked up from a huge list with tons of others. More can be found at Cosmos SDK and Tendermint official github pages.
Instruction
For this release, depending on your current validator situation only run ONE of the two scripts. DO NOT RUN BOTH.
Do not run these instructions until notified by ShareRing
1. For Nodes currently running shareledger
# download the hard_fork_v1.2.0.sh script
curl -LJ https://github.com/ShareRing/Shareledger/releases/download/v1.2.0/hard_fork_v1.2.0.sh > hard_fork_v1.2.0.sh
# give exec permission
chmod +x hard_fork_v1.2.0.sh
# run the script with sudo privilege
sudo ./hard_fork_v1.2.0.sh2. For Nodes that have not installed shareledger before
This is for new builds
# download the new_validator_v1.2.0.sh script
curl -LJ https://github.com/ShareRing/Shareledger/releases/download/v1.2.0/new_validator_v1.2.0.sh > new_validator_v1.2.0.sh
# give exec permission
chmod +x new_validator_v1.2.0.sh
# run the script with sudo privilege
sudo ./new_validator_v1.2.0.sh