Skip to content

Releases: DeFiCh/ain

v4.1.8

20 Sep 12:09
6ff00a5
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • dToken Restart:
    • Allow 1:1 upgrades via the DST20 version 3 contract.
    • Restore loan and collateral amounts from auctions to vaults.

Upgrade Notes

  • From v4.1.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

Full Changelog: v4.1.7...v4.1.8

v4.1.7

16 Sep 14:10
ec0d759
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • Mining
    • After fork only mint blocks with time greater than previous blocks.
    • On dToken restart check token locks and pools status before adding EVM and creation TXs.
  • dToken Restart:
    • Check optional collateral valid before usage.
    • Add loan payback history entries.

Upgrade Notes

  • From v4.1.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

Full Changelog: v4.1.6...v4.1.7

v4.1.6

07 Sep 04:54
87dec63
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • Sets the Changi hard fork to block 2,241,000, approx Sep 7th 14:00 UTC.
  • Introduces the following features to be enabled after the next hard fork:
    • Governance
    • dToken restart
    • Rejecting blocks with a time prior to the previous block

Upgrade Notes

  • From v4.1.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

Full Changelog: v4.1.5...v4.1.6

v4.1.5

07 Sep 01:25
ee07796
Compare
Choose a tag to compare

[Release pulled due to: https://github.com//pull/3039].

Please continue to use:

v4.1.4

02 Sep 08:07
872700d
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • Fixes long standing bugs in using -consolidaterewards flag for multiple tokens in one go. -consolidaterewards is now expected to be usable for full optimization across all addresses.
  • Optimized mining support with additional strategies beyond the default.
  • Future flagged fixes: Bugs in upcoming static reward calculation.

Upgrade Notes

  • From v4.1.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.1.3...v4.1.4

v4.1.3

18 Jul 09:48
a634bce
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • -enablesnapshots for implicit LevelDB snapshot on each block. This enables all the RPCs to bypass the global chain lock and to serve requests in parallel. Default is off for now to only take a snapshot when required as we learn from the effects at scale before changing defaults.

Upgrade Notes

  • From v4.1.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

Full Changelog: v4.1.2...v4.1.3

v4.1.2

05 Jul 18:13
8a0e0d8
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • -ascendingstaketime flag in preparation for the next upgrade's behavior for miners to reject blocks in past time.
  • Increase timeouts for block downloads and stale peer checks.
    • This was a cause of nodes not being to recover quickly and took longer that expected to self-heal, giving the false impression that it has stalled on a wrong fork.
  • Improved utxostoaccount by only selecting coins on the source address if possible
  • Skip address ownership check on accounttoaccount, utxostoaccount and sendtokenstoaddress using -dvmownerskipcheck
  • Minor quality-of-life updates for the testing framework

Upgrade Notes

  • From v4.1.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

Full Changelog: v4.1.1...v4.1.2

v4.1.1

21 Jun 13:03
1ed5d56
Compare
Choose a tag to compare

Optional Upgrade

Highlights

  • Complete rewrite of the EVM tracer architecture.
    • debug_traceCall enabled.
  • Minor bugs on getblock verbosity 3, and 4.
  • [Breaking] Minor changes to the log format of debug.log to reduce noise.

Upgrade Notes

  • From v4.1.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.

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.1.1

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