v2.0.0
The release contains:
- Integration of Duality into Neutron:
- A novel mechanism design which combines the computational efficiency of AMMs and flexibility of order books; enabling development of fair, efficient, open markets.
- Upgrade from Cosmos SDK 0.45 to the Cosmos SDK 0.47:
- the SDK version includes some key store migration for the CLI. Make sure you backup your private keys before testing this! You can not switch back to v0.45;
- upgrade from Tendermint to CometBFT;
- support for ABCI 1.0 in the SDK, allowing chains to set their own mempool implementation;
- deprecation of the
x/params
module. (Module params now will be handled directly by the modules themselves, via theMsgUpdateParams
message); - upgrade to ibc-go v7.3.1;
- other technical changes and improvements, please see a full changelog here.
- Update Wasmd module to v0.45:
- legacy REST endpoints for queries and txs are completely removed and only gRPC endpoints must be used now;
- enable
instantiate2
feature - instantiate addresses at a predictable contract address. - contracts are able to use floating point operations;
- smart-contract binary size limit increased from 800KB to 1.6MB;
- other technical changes and improvements, please see a full changelog here;
- Update the Tokenfactory module:
- enable BankHooks features to call smart-contracts on token transfers;
- fees on Tokenfactory token creation are removed, allowing tokens to be created on Neutron completely free of charge;
- Refactoring of ICTX and Transfer module:
RegisterInterchainAccount
method requires a fee now:- To avoid possible spam on the network, the caller of the method will now be required to pay fees for the ICA registration on remote chain;
- this change is backwards compatible - if your contract was deployed before the upgrade, it will not pay fee for further ICA registration after the upgrade;
Binaries
Binary for Linux adm64 is available below.
Build from source
If you prefer to build from source, you can use the following commands:
git clone https://github.com/neutron-org/neutron
cd neutron && git checkout v2.0.0
make install
Please check upgrade instruction here.
What's Changed
- added security.md by @swelf19 in #218
- ccv msg filter build tag by @oldremez in #227
- removing treasury from genesis by @oldremez in #228
- Set genesis slashing parameters by @albertandrejev in #229
- Apply naming convention for DAO contracts labels by @oldremez in #224
- chore: readme makefile update by @swelf19 in #219
- Simplify vaults by @foxpy in #234
- update go .tool-versions (asdf) to version 1.20 by @NeverHappened in #232
- feat: update contracts, fix
make init
by @foxpy in #255 - fix: clean staking error #ntrn-443 by @NeverHappened in #222
- feat: bump hermes to v1.4.1 by @foxpy in #257
- fix:
make start
: GRPC_PORT setting didn't work by @foxpy in #261 - remove a starport artifact by @faddat in #236
- use the extra rules on gofumpt for tighter linting by @faddat in #238
- go mod tidy by @faddat in #237
- Fix broken link in comment by @keefertaylor in #250
- feat: enable cosmwasm_1_1 and cosmwasm_1_2 by @foxpy in #259
- feat: add more config/client.toml values #ntrn-529 by @NeverHappened in #272
- Feat: NTRN-29. Add global fee module by @albertandrejev in #264
- add basic registered query validation in genesis by @quasisamurai in #230
- fix: fix comment by @NeverHappened in #283
- feat: add support for BUILDDIR env variable in Makefile #NTRN-528 by @foxpy in #280
- Update main 2 #ntrn-566 by @NeverHappened in #281
- feat: allowlist stargate queries #ntrn-547 by @NeverHappened in #273
- Only statesync by @faddat in #265
- fix wrong addr passed in contract by @quasisamurai in #293
- feat: remove starport by @swelf19 in #262
- Disallow possibility to create proposal for non-members by @quasisamurai in #298
- [Snyk] Security upgrade golang from 1.17.3-alpine to 1.19.11-alpine by @neutron-robot in #299
- chore: update hermes #ntrn-1 by @NeverHappened in #292
- Bump github.com/cosmos/gogoproto from 1.4.6 to 1.4.10 by @dependabot in #297
- Bump github.com/spf13/viper from 1.14.0 to 1.16.0 by @dependabot in #282
- Bump github.com/prometheus/client_golang from 1.14.0 to 1.16.0 by @dependabot in #269
- feat: set commit timeout #ntrn-79 by @NeverHappened in #294
- feat: update sdk47 globalfee by @NeverHappened in #295
- Chore: PFM upgrade by @pr0n00gler in #300
- feat: add axlr reward denom by @NeverHappened in #305
- fix: Add googleapis as dep in buf.yaml by @apollo-sturdy in #302
- feat: contract manager resubmit #ntrn-84 by @NeverHappened in #301
- feat: add msg update params #ntrn-102 by @NeverHappened in #308
- Rework governance/ update admin-module NTRN-70 by @quasisamurai in #303
- genesis investors vault + vesting by @quasisamurai in #315
- feat: interachain sudo callback refactoring by @swelf19 in #313
- feat: ictx + transfer with limited sudo call #NTRN-85 by @swelf19 in #304
- Update our tokenfactory to the latest version NTRN-93 by @quasisamurai in #307
- chore: decrease investors vesting amount by @sotnikov-s in #317
- chore: upgrades merge by @swelf19 in #318
- feat: increase limit of wasm contracts #ntrn-107 by @NeverHappened in #320
- chore: clear globalfee bypassmessages #NTRN-130 by @swelf19 in #331
- chore: update neutron voting registry contract by @sotnikov-s in #328
- block-sdk integration by @nivasan1 in #324
- chore(deps): update block-sdk by @nivasan1 in #333
- [Snyk] Security upgrade golang from 1.19.11-alpine to 1.20.9-alpine by @neutron-robot in #329
- Chore: bump Cosmos SDK by @pr0n00gler in #338
- Feat: whitelist interchain account query by @pr0n00gler in #316
- fix: modify interchain keeper's accepted parameteres by @Lockwarr in #336
- update wasmd to v0.43 #NTRN-112 by @swelf19 in #339
- enable backwards compat feature: only contracts after migration are charged for ice creation NTRN-135 by @quasisamurai in #334
- Chore: bump PFM by @pr0n00gler in #347
- fix typo in comment by @quasisamurai in #351
- Remove incentives and epochs module. by @jcompagni10 in #353
- Audit Fix: deposit msg validation by @jcompagni10 in #343
- audit small fixes NTRN-136 by @quasisamurai in #345
- Fix: incomplete pool validation by @pr0n00gler in #356
- Fix: remove burn permissions for wasmd by @pr0n00gler in #346
- Fix: small improvements by @pr0n00gler in #355
- Audit Fix: Fix coins.add usage during deposit by @jcompagni10 in #342
- Fix/misc security fixes by @jcompagni10 in #361
- [NTRN-142] feat: enhance contract failure with error by @sotnikov-s in #352
- fix: msg multihop validation #ntrn-157 by @NeverHappened in #357
- Ensure deposit, withdraw and place/withdraw limit order correctly val… by @jcompagni10 in #360
- Chore: bump pfm by @pr0n00gler in #363
- Audit FIX: ibc swap pfm issues by @jcompagni10 in #359
- Chore: upgrade name by @pr0n00gler in #364
- Chore: update admin module by @pr0n00gler in #367
- Fix: proper params by @pr0n00gler in #362
- Fix: tokenfactory params update by @pr0n00gler in #368
- Chore: bump pfm to 7.1.1 by @pr0n00gler in #369
- Fix: whitelist dex stargate queries by @pr0n00gler in #371
- Feat: update whitelisted msgs by @pr0n00gler in #370
- Audit Fix: prevent depositor or LP from creating unfair spreads by @jcompagni10 in #344
- Fix/revert pfm upgrade by @jcompagni10 in #372
- camelCase -> snake_case by @pr0n00gler in #358
- Fix: ignite by @pr0n00gler in #375
- Fix: remove skip block sdk by @pr0n00gler in #377
- upd: wasmd 0.45 by @swelf19 in #376
- revert PFM reversions. Disable PFM for ibcswap by @jcompagni10 in #374
- Merge duality neutron (CORRECT BRANCH) by @jcompagni10 in #341
- update sdk47 #NTRN-10 by @swelf19 in #268
New Contributors
- @keefertaylor made their first contribution in #250
- @neutron-robot made their first contribution in #299
- @apollo-sturdy made their first contribution in #302
- @nivasan1 made their first contribution in #324
- @jcompagni10 made their first contribution in #353
Full Changelog: v1.0.4...v2.0.0