v4.1.0
Mandatory Upgrade
Hard fork upgrade is set for block 4006000 (approx. ETA May 23, 2024. UTC) on mainnet.
Update of mainnet node to v4.1
before the chain upgrade block is REQUIRED.
Protocol Upgrades
- Make vault fee settable via Governance variables
- Enable renaming of token on DVM and EVM
- Enable renaming on pools
- Refund lost funds due to null pool swap bug
- Disable changing DAT flag
- Add support for merging or splitting token on EVM
- Add support for fractional merging or splitting of tokens
- Limit FutureSwap swappable amount based on average pool liquidity
Upgrade Notes
- From
v4.0.x
(except 4.0.6 and 4.0.7): Drop in-upgrade.- From
v4.0.8
: Drop-in upgrade. - From
v4.0.6
/v4.0.7
: Fresh sync or bootstrap from snapshot required, due to a bug with EVM logs indexer. - Other
v4.0.x
: Drop-in upgrade.
- From
- All other older nodes: Fresh sync or bootstrap from snapshots required.
- For nodes that are being restored from recent snapshot, as with all updates before: -rescan for the wallet txs and additionally -spv_resync for users who hold BTC. If either isn't used, they may not be shown in the wallet until rescanned/resynced.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
What's Changed
- Enable neutral votes in RPC by default by @Bushstar in #2818
- EVM: Refactor trace tx pipeline into executor by @sieniven in #2824
- getaccount accept valid scriptPubKey by @Bushstar in #2830
- EVM: Add support for access list creation for eth namespace RPC by @sieniven in #2827
- Add total emissions test tool by @Bushstar in #2847
- Add scriptPubKey support to getaddressinfo by @Bushstar in #2854
- EVM: Fix trace transaction state by @sieniven in #2841
- Make vault fee settable via Gov vars by @Bushstar in #2849
- Remove redundant -stop-block by @Bushstar in #2859
- Enable renaming of tokens on EVM by @Bushstar in #2821
- Fix clippy warnings by @Bushstar in #2860
- Refund null pool swaps by @Bushstar in #2822
- Fix compilation after merge by @Bushstar in #2863
- ain-dftx: Rust de/serialization of custom messages by @Jouzo in #2852
- Remove snapshot usage by @Bushstar in #2851
- Update pool symbol and name by @Bushstar in #2739
- Move RocksDB traits to dedicated package by @Jouzo in #2853
- CI: Add latest tag for built image in release workflow by @sieniven in #2867
- Disable changing of isDAT after DF23 fork by @Bushstar in #2866
- Support for fractional token migration by @Bushstar in #2204
- Run Jellyfish Tests in parallel by @canonbrother in #2865
- Remove Boost filesystem and system by @Bushstar in #2747
- Future Swap limitation by @Bushstar in #2843
- EVM: Storage versioning and migration by @Jouzo in #2681
- Support token split on EVM by @Bushstar in #2850
- Index EVM txs' block hash and index by @Jouzo in #2675
- Set DF23 Changi fork by @Bushstar in #2869
- chore: fix typos by @xiaoxianBoy in #2870
- Test update loan token after DF23 fork by @Bushstar in #2868
- Allow minting of loan tokens on mocknet by @Bushstar in #2877
- Remove RPC splits block by @Bushstar in #2878
- Fix miner token split creation TXs by @Bushstar in #2879
- EVM fractional split support for 64bit splits by @Bushstar in #2880
- Add logs for future swap limit calculation by @sieniven in #2871
- Set DF23 Testnet fork by @Bushstar in #2883
- Check future swap limitation block period more than sample period by @Bushstar in #2886
- Add checkpoints every 100k by @Bushstar in #2884
- Sort FS Limit samples by height by @Bushstar in #2891
- Prevent empty token name in RPC by @Bushstar in #2887
- CI: Fix release workflow by @sieniven in #2893
- Remove view snapshot from RPC call by @Bushstar in #2896
- Pin eth_account to 0.11.2 by @Bushstar in #2899
- Future Swap avoid division by zero by @Bushstar in #2902
- Fix setgov test failure by @Jouzo in #2906
- Add limit and remaining to listloantokenliquidity by @Bushstar in #2897
- Allow updating of DAT tokens by @Bushstar in #2904
- EVM: Add support for token split via DST20 v2 contract by @Jouzo in #2903
- Pin eth_typing to v4.0.0 by @Bushstar in #2910
- EVM: DST20 v2 burn of sent amount by @Jouzo in #2911
- Set tentative mainnet DF23 fork height by @Bushstar in #2908
New Contributors
- @xiaoxianBoy made their first contribution in #2870
Full Changelog: v4.0.9...v4.1.0