Skip to content

Releases: DeFiCh/ain

v4.1.0

15 May 13:40
4b061c7
Compare
Choose a tag to compare

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.
  • 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

What's Changed

New Contributors

Full Changelog: v4.0.9...v4.1.0

v4.0.9

05 Feb 14:20
9f1d0f6
Compare
Choose a tag to compare

Optional Upgrade

Updates

  • Enable passing null value in topic list
  • Fix estimate gas RPC
  • Fix eth subscription notifications

Upgrade Notes

  • From v4.0.6/v4.0.7: if EVM logs used then -reindex, fresh sync or bootstrap from snapshot required.
  • From all other v4.0.x versions: drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex, fresh sync or bootstrap from snapshot 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Network Snapshot

What's Changed

Full Changelog: v4.0.8...v4.0.9

v4.0.8

25 Jan 07:22
4d7e2dd
Compare
Choose a tag to compare

Optional Upgrade

Updates

  • Fix EVM log index
  • Stability improvements
  • Node health RPC getnodestatusinfo
  • EVM Filter improvments
  • EVM database integrity checks
  • Improve gas fee and fee history

Upgrade Notes

  • From v4.0.6/v4.0.7: if EVM logs used then -reindex, fresh sync or bootstrap from snapshot required.
  • From all other v4.0.x versions: drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex, fresh sync or bootstrap from snapshot 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Network Snapshot

What's Changed

Full Changelog: v4.0.5...v4.0.8

v4.0.5

01 Dec 15:17
73489ee
Compare
Choose a tag to compare

Optional Upgrade

  • Add transferdomain single key check config -tdsinglekeycheck
  • Introduce LevelDB snapshots. Used in pool pair RPC calls only in this release.

Upgrade Notes

  • From v4.0.x: drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.3...v4.0.5

v4.0.3

21 Nov 16:27
93af122
Compare
Choose a tag to compare

Optional Upgrade

  • RPC: TransferDomain
    • Add single key check for source and destination addresses in transferdomain RPC
    • [BREAKING] Sending to addresses that doesn't correspond to the source requires the flag singlekeycheck to be set to false.

Upgrade Notes

  • From v4.0.2 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.2...v4.0.3

v4.0.2

20 Nov 11:51
5651495
Compare
Choose a tag to compare

Optional Upgrade

  • Fixed: RPC eth_estimateGas failure due to invalid fee cap
  • Fixed: Cleanup defunct indexes on EVM rollback

Upgrade Notes

  • From v4.0.1 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.1...v4.0.2

v4.0.1

16 Nov 09:12
fa1aca8
Compare
Choose a tag to compare

Optional Upgrade

  • Fixes an edge-case bug where masternodes silently lose the ability to mine blocks. This affects miners only if the first key in defi.conf for masternodes is an invalid or outdated key that doesn't represent an enabled state. This bug causes the miners to silently fail mining a block even if there are other valid keys.

Upgrade Notes

  • From v4.0.0 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.0...v4.0.1

v4.0.0

03 Nov 01:00
f616832
Compare
Choose a tag to compare

[Note: Release notes still work-in-progress]

Mandatory Upgrade

This is a mandatory update for the upcoming MetaChain upgrade. It contains key upgrades for the protocol.
MetaChain upgrade is set for block 3462000 (approx. ETA Nov 15, 2023. UTC) on mainnet.

Update of mainnet node to v4.0 before the chain upgrade block is REQUIRED.

Upgrade Notes

  • From v3.2.8 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Read more

v4.0.0-rc2

26 Oct 17:10
c842935
Compare
Choose a tag to compare
v4.0.0-rc2 Pre-release
Pre-release
Fix lints (#2628)

v4.0.0-rc1

17 Oct 10:56
ed73fc1
Compare
Choose a tag to compare
v4.0.0-rc1 Pre-release
Pre-release

Upgrade Notes

For Testnet network users the network has been rolled back to block 1,150,000. This release requires either a reindex, restarting from snapshot or a clean sync. The expected hash on block 1,150,000 is 2f0b131e15bdb6e5ecbd0e8fd4f9db798db59aa3c78a3b352594b8db341e1f33.

For Changi network users upgrading from any release before beta15, this release requires either a reindex, restarting from snapshot or a clean sync due to changes in the EVM state. Failure to do this may result in an inconsistent EVM state.

Summary

Note: This is a release candidate pre-release. This is NOT meant for use on production systems.

  • Version: 4.0.0-rc1

Testnet EVM

  • EVM RPC Port: 18551
  • EVM ChainID: 1131

Changi

  • P2P Port: 20555
  • DFI RPC Port: 20554
  • EVM RPC Port: 20551
  • EVM ChainID: 1133
  • Network name: changi
  • Rest of the parameters are exactly the same as testnet3, which continues to run in parallel.

What's Changed

Full Changelog: v4.0.0-beta15...v4.0.0-rc1