Skip to content

v1.3.0

Compare
Choose a tag to compare
@PhuongDo896 PhuongDo896 released this 09 Sep 10:46
· 3 commits to develop since this release

This on-chain upgrade governance proposal is to adopt ShareLedger v1.3.0, which includes the new ShareLedger Swapping module, as well as a number of other fixes. By voting YES to this proposal, you approve to add these.

Background

Since the last ShareLedger upgrade, there have been a number of fixes. Additionally, the team have created some significant improvements to the ERC20/SLP3 swapping process and fees by incorporating it into the ShareLedger blockchain as a native Web3 function. The new swapping module also creates the ability to perform swaps between BEP20 (BNB Smart Chain) and SLP3 (ShareLedger).

More detail on the changes are as follows:

Cosmos SDK upgraded to v0.45.3
Full changlog here: cosmos-sdk/CHANGELOG.md at v0.45.3 · cosmos/cosmos-sdk

Tendermint upgraded to v0.34.19
Full changelog here: tendermint/CHANGELOG.md at v0.34.19 · tendermint/tendermint

Cosmos IBC upgraded to v3.0.0
Full changelog here: ibc-go/CHANGELOG.md at v3.0.0 · cosmos/ibc-go

Swap module on Shareledger

  • All swap requests are now kept track by transactions on Shareledger

  • Increase transaction volume on Shareledger

  • Reduce swapping cost (instead of making multiple transactions to Ethereum, now most of transactions are done on Shareledger)

  • Relayer role to process approved swap requests

  • Support both Ethereum (ERC20) and Binance smart chain (BEP20)

  • Use EIP712 to sign and verify the approvals on smart contract side

  • Reduce use of centralized database for keeping transactional data

  • Overall performance improvement

On-Chain Upgrade Process

When the network reaches the halt height (as published in this proposal), the state machine program of the ShareLedger chain will be halted. The current method for upgrading requires all validators and node operators to manually substitute the existing state machine binary with the new binary, then restart the binary. You can use the following script to upgrade your ShareLedger:

wget https://github.com/ShareRing/Shareledger/releases/download/v1.3.0/proposal_upgrade.sh
chmod +x proposal_upgrade.sh
sudo ./proposal_upgrade.sh

Reminder: you can use the above upgrade script only if the following message appears in ShareLedger log

UPGRADE "v1.3.0-shareledger" NEEDED at height: ...

Potential Risk Factors

Although very extensive testing and simulation has taken place there always still exists a risk that ShareLedger might experience problems due to potential bugs or errors from the new features. In the case of serious problems, validators should stop operating the network immediately, allow the ShareRing team to execute a contingency plan. and await further instructions via the Masternode Slack channel.