Skip to content

v0.2.26

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jun 12:55
· 2354 commits to main since this release

Features

Bug Fixes

Documentation

Styles

Code Refactoring

Tests

Continuous Integration

Chores

Commits

Upgrade from v0.2.25

A list of smart contract migrations has to be applied on a chain with the help of gov proposals. The ones in the same section may be run together. The fees are left empty letting the operator fine-tune.

Store the new code of Lease, Lpp, Oracle, Rewards Dispatcher, and Time Alarms contracts

IMPORTANT! They all should have --run-as <admin contract address> and with their respective --code-hash <code hash>, where <code hash> is the binary's SHA256 hash.

Pass the Admin contract with --instantiate-anyof-addresses nolus1gurgpv8savnfw66lckwzn4zk7fp394lpe667dhu7aw48u40lj6jsqxf8nd when preparing the store code proposals of any contract except the Lease one and the Leaser contracts --instantiate-anyof-addresses nolus1wn625s4jcmvk0szpl85rj5azkfc6suyvf75q6vrddscjdphtve8s5gg42f in the case of the Lease contract.

Update the contracts via the Admin contract

nolusd tx gov submit-proposal sudo-contract <admin contract addr> '{"migrate_contracts":{"release":"v0.2.26-2023-06-05T12:23+00:00","migration_spec":{"dispatcher":{"code_id":<Rewards Dispatcher code id>,"migrate_msg":"{}"},"lpp":{"code_id":<Lpp code id>,"migrate_msg":"{}"},"oracle":{"code_id":<Oracle code id>,"migrate_msg":"{}"},"timealarms":{"code_id":<TimeAlarms code id>,"migrate_msg":"{}"}},"post_migration_execute":{"leaser":"{\"migrate_leases\":{\"new_code_id\":\"<Lease code id>\",\"max_leases\":1000}}"}}}' --title "Migrate contracts (v0.2.26)" --description "Migrate contracts to their version at release v0.2.26" --from <signer> --gas <gas_amount> --gas-prices 0.0025unls --deposit 10000000unls```