Skip to content

Latest commit

 

History

History
741 lines (483 loc) · 39.3 KB

CHANGELOG.md

File metadata and controls

741 lines (483 loc) · 39.3 KB

Changelog

UNRELEASED

State Machine Breaking

  • #1377 Upgrade sdk to 0.50, and integrate block-stm parallel tx execution.
  • #1394 Add icahost wirings but disable in parameters.
  • #1414 Integrate new evm tx format.
  • #1458 Adjust require gas for recvPacket when ReceiverChainIsSource.
  • #1519 Upgrade ibc-go to 8.3 and remove icaauth module.
  • #1518 Keep versiondb/memiavl compatible with upstream sdk, stop supporting other streaming service.
  • #1541 Disable MsgCreatePermanentLockedAccount and MsgCreatePeriodicVestingAccount messages.
  • #1552 Avoid unnecessary GetAccount in ante handlers.

Improvements

  • (store) #1378 Upgrade rocksdb to v8.11.3.
  • (versiondb) #1387 Add dedicated config section for versiondb, prepare for sdk 0.50 integration.
  • (store) #1448 Upgrade rocksdb to v9.1.1.
  • #1431 Integrate testground to run benchmark on cluster.
  • #1464 Update cosmos-sdk to v0.50.7.
  • #1484, #1487 Respect gas that is wanted to be returned by the ante handler.
  • #1488 Enable optimistic execution.
  • #1490 Update cometbft to v0.38.8.
  • (versiondb) #1491 Free slice data in HasAtVersion.
  • (versiondb) #1498 Reduce scope of copying slice data in iterator.
  • #1500, #1503 Set mempool MaxTx from config (with a default value of 3000).
  • (store) #1511 Upgrade rocksdb to v9.2.1.
  • (block-stm) #1515 Improve performance by cache signature verification result between incarnations of same tx.
  • (store) #1526 Cache index/filters in rocksdb application.db to reduce ram usage.
  • (store)#1529 Enable pinL0FilterAndIndexBlocksInCache.
  • (store)#1547 Disable memiavl cache if block-stm is enabled.

Bug Fixes

  • #1520 Avoid invalid chain id for signer error when rpc call before chain id set in BeginBlock.
  • #1539 Fix go-block-stm bug that causes app hash mismatch.

Jun 18, 2024

v1.3.0-rc2

Improvements

  • (rpc) #1467 Avoid unnecessary tx decode in tx listener.

Bug Fixes

  • #1466 Fix handling of pending transactions related APIs.

May 21, 2024

v1.3.0-rc1

State Machine Breaking

  • #1407 Add end-to-end encryption module.

Improvements

  • #1413 Add custom keyring implementation for e2ee module.
  • (e2ee)#1415 Add batch keys query for e2ee module.
  • (e2ee)#1421 Validate e2ee key when register.
  • #1437 Update cometbft and cosmos-sdk dependencies.

Bug Fixes

  • (rpc) #1444 Avoid nil pointer error when query blocks before feemarket module gets enabled.
  • #1439 Add back default prepare proposal logic.

May 3, 2024

v1.2.2

Bug Fixes

  • (rpc) #1416 Fix parsed logs from old events.

April 22, 2024

v1.2.1

Improvements

  • (test) #1380 Upgrade cosmovisor to 1.5.0 in integration test.
  • (versiondb) #1379 Flush versiondb when graceful shutdown, make rocksdb upgrade smooth.

Bug Fixes

  • (rpc) #1397 Avoid panic on invalid elasticity_multiplier.

Features

  • #1406 Add set-encryption-key for encryption module.
  • #1411 Add encrypt and decrypt cmds for message.

April 8, 2024

v1.2.0

v1.2.0-rc1

Bug Fixes

  • (rpc) #1371 Add param keytable in evm for old upgrade.

April 2, 2024

v1.2.0-rc0

Bug Fixes

  • #1363 Update ethermint to fix a panic on overflow and patch gasUsed in the RPC API.

State Machine Breaking

  • #1366 Keep behavior of random opcode as before.

March 26, 2024

v1.1.1

Improvements

  • #1362 Log blacklist addresses.

March 19, 2024

v1.1.0

Bug Fixes

  • #1336 Update ethermint to develop to fix feeHistory rpc api.

February 28, 2024

v1.1.0-rc5

Bug Fixes

  • #1329 Update cosmos-sdk to v0.47.10.

February 19, 2024

v1.1.0-rc4

State Machine Breaking

  • #1318 Add packet_sequence index in relayer event.
  • #1318 Fix filter rule for eth_getLogs.
  • #1322 Add v1.1.0-testnet-1 upgrade plan for testnet.

Improvements

  • #1324 Update cosmos-sdk to v0.47.9.

February 5, 2024

v1.1.0-rc3

Bug Fixes

  • #1292 memiavl cancel background snapshot rewriting when graceful shutdown.
  • #1294 Update ethermint to fix and improve of debug_traceCall and eth_feeHistory.
  • #1302 Fix concurrent map access in rootmulti store.
  • #1304 Write versiondb with fsync, and relax the version requirement on startup.
  • #1308 Update ethermint to fix duplicate cache events emitted from evm hooks and wrong priority tx.
  • #1311 Add missing version in memiavl log.

Improvements

  • #1291 Update ibc-go to v7.3.2.
  • #1309 Add missing destroy for file lock and close map on error.

January 5, 2024

v1.1.0-rc2

  • #1258 Support hard-fork style upgrades.
  • #1272 Update ethermint to develop, cosmos-sdk to v0.47.7.
  • #1273 Enable push0 opcode in integration test.
  • #1274 Remove authz module.
  • #1287 Support debug_traceCall.

Bug Fixes

  • #1215 Update ethermint to fix of concurrent write in fee history.
  • #1217 Use the default chain-id behavour in sdk.
  • #1216 Update ethermint to fix of avoid redundant parse chainID from gensis when start server.
  • #1230 Fix mem store in versiondb multistore.
  • #1233 Re-emit logs in callback contract.
  • #1256 Improve permission checkings for some messages.

State Machine Breaking

  • #1232 Adjust require gas in relayer precompile to be closed with actual consumed.
  • #1209 Support accurate estimate gas in evm tx from relayer.
  • #1247 Update ethermint to develop, go-ethereum to v1.11.2.
  • #1235 Add channel detail in ica packet callback.
  • #1251 Adjust require gas for submitMsgs in ica precompile.
  • #1252 Add plan v1.1.0-testnet to update default max_callback_gas param.

Improvements

  • #1239 Refactor websocket/subscription system to improve performance and stability.
  • #1241 Improve parallelization of memiavl restoration.
  • (deps) #1253 Upgrade Go-Ethereum version to v1.11.6.

October 17, 2023

v1.1.0-rc1

Bug Fixes

  • #1206 Add missing keypair of SendEnabled to restore legacy param set before migration.
  • #1205 Fix versiondb and memiavl upgrade issues, add integration test.

Improvements

  • #1197 tune rocksdb options to control memory consumption.

October 9, 2023

v1.1.0-rc0

State Machine Breaking

  • cronos#695 Implement ADR-007, generic events format with indexed params.
  • cronos#728 Upgrade gravity bridge latest bugfix, including multi attestation processing and double spend check.
  • cronos#742 Add upgrade handler for v0.8.0-gravity-alpha2.
  • cronos#750 Add upgrade handler for v0.8.0-gravity-alpha3.
  • cronos#769 Prevent cancellation function to be called outside the scope of the contract that manage it.
  • cronos#775 Support turnbridge transaction.
  • cronos#781 Add prune command.
  • cronos#830 Upgrade gravity bridge for latest bugfixes, patching two important DOS vulnerabilities
  • cronos#834 Remove unsafe experimental flag.
  • cronos#842 Add upgrade handler for v2.0.0-testnet3.
  • cronos#795 Support permissions in cronos.
  • cronos#997 Fix logic to support proxy contract for cronos originated crc20.
  • cronos#1005 Support specify channel id for send-to-ibc event in case of source token.
  • cronos#1069 Update ethermint to develop, go-ethereum to v1.10.26 and ibc-go to v6.2.0.
  • cronos#1147 Integrate ica module.
  • (deps) #1121 Bump Cosmos-SDK to v0.47.5 and ibc-go to v7.2.0.
  • cronos#1014 Support stateful precompiled contract for relayer.
  • cronos#1165 Icaauth module is not adjusted correctly in ibc-go v7.2.0.
  • cronos#1163 Support stateful precompiled contract for ica.
  • cronos#837 Support stateful precompiled contract for bank.
  • cronos#1184 Update ibc-go to v7.3.1.
  • cronos#1186 Enlarge the max block gas limit in new version.
  • cronos#1187 Disable gravity module in app.
  • cronos#1185 Support ibc callback.
  • cronos#1196 Skip register stateful precompiled contract for bank.

Bug Fixes

  • #833 Fix rollback command.
  • #945 Fix no handler exists for proposal type error when update-client due to wrong ibc route.
  • #1036 Fix memiavl import memory leak.
  • #1038 Update ibc-go to v5.2.1.
  • #1042 Avoid channel get changed when concurrent subscribe happens (ethermint commit).
  • #1058 Fix decode log for multi topics in websocket subscribe (ethermint commit).
  • #1062 Update cometbft v0.34.29 with several minor bug fixes and low-severity security-fixes.
  • #1075 Add missing close in memiavl to avoid resource leaks.
  • #1073 memiavl automatically truncate corrupted wal tail.
  • #1087 memiavl fix LastCommitID when memiavl db not loaded.
  • #1088 memiavl fix empty value in write-ahead-log replaying.
  • #1102 avoid duplicate cache events emitted from ibc and gravity hook.
  • #1123 Fix memiavl snapshot switching
  • #1125 Fix genesis migrate for feeibc, evm, feemarket and gravity.
  • #1130 Fix lock issues when state-sync with memiavl.
  • #1150 Fix memiavl's unsafe retain of the root hashes.

Features

  • #1042 call Close method on app to cleanup resource on graceful shutdown (ethermint commit).
  • #1083 memiavl support both sdk 46 and 47 root hash rules.
  • #1091 memiavl support rollback.
  • #1100 memiavl support read-only mode, and grab exclusive lock for write mode.
  • #1103 Add EventQueryTxFor cmd to subscribe and wait for transaction.
  • #1108 versiondb support restore from local snapshot.
  • #1114 memiavl support CacheMultiStoreWithVersion.
  • #1116 versiondb commands support sdk47 app hash calculation.

Improvements

  • #890 optimize memiavl snapshot format.
  • #904 Enable "dynamic-level-bytes" on new application.db.
  • #924 memiavl support Export API.
  • #950 Implement memiavl and integrate with state machine.
  • #985 Fix versiondb verify command on older versions
  • #998 Bump grocksdb to v1.7.16 and rocksdb to v7.10.2
  • #1028 Add memiavl configs into app.toml
  • #1027 Integrate local state-sync commands.
  • #1029 Change config async-commit to async-commit-buffer, make the channel size configurable.
  • #1034 Support memiavl snapshot strategy configuration.
  • #1035 Support caching in memiavl directly, ignore inter-block cache silently.
  • #1050 nativebyteorder mode will check endianness on startup, binaries are built with nativebyteorder by default.
  • #1064 Simplify memiavl snapshot switching.
  • #1067 memiavl: only export state-sync snapshots on an exist snapshot
  • #1082 Make memiavl setup code reusable.
  • #1092 memiavl disable sdk address cache if zero-copy enabled, and disable zero-copy by default.
  • #1099 clean up memiavl tmp directories left behind.
  • #940 Update rocksdb dependency to 8.1.1.
  • #1149 memiavl support WorkingHash api required by FinalizeBlock.
  • #1151 memiavl CacheMultiStoreWithVersion supports io.Closer.
  • #1154 Remove dependency on cosmos-sdk.
  • #1171 Add memiavl background snapshot writing concurrency limit.
  • #1179 Support blocking addresses in mempool.
  • #1182 Bump librocksdb to 8.5.3.
  • #1183 Avoid redundant logs added from relayer.

April 13, 2023

v1.0.7

Improvements

  • #936 Reuse recovered sender address to optimize performance (ethermint commit).
  • #949 Release static-linked binaries for linux platform.
  • #934 Add pebbledb backend.

Bug Fixes

Mar 16, 2023

v1.0.6

Bug Fixes

  • #932 Backport multiple json-rpc bug fixes in ethermint (commits).

Mar 6, 2023

v1.0.5

Bug Fixes

  • #908 Forbids negative priority fee.

Improvements

  • #904 Enable "dynamic-level-bytes" on new application.db.
  • #907 Apply a configurable limit in rpc apis.
  • #909 Update to cosmos-sdk v0.46.11.

Feb 15, 2023

v1.0.4

Bug Fixes

  • #814 Fix prometheus metrics.

Improvements

  • #813 Tune up rocksdb options.
  • #791 Implement versiondb and migration commands.
  • #779 Add config iavl-lazy-loading to enable lazy loading of iavl store.

Feb 08, 2023

v1.0.3

Bug Fixes

  • #846 Disable authz message

Jan 04, 2023

v1.0.2

State Machine Breaking

  • #802 Update ibc-go to v5.2.0.

December 14, 2022

v1.0.1

Improvements

  • #781 Add prune command.
  • #790 Update cosmos-sdk to v0.46.7, it fix a migration issue which affects pending proposals's votes during upgrade, it also adds the config entries for file streamer.

Nov 22, 2022

v1.0.0

Improvements

  • #772 Update cosmos-sdk to v0.46.6, it's non-breaking for cronos.

Nov 17, 2022

v1.0.0-rc4

Bug Fixes

  • #771 Fix london hardfork number in testnet3 parameters.

Nov 13, 2022

v1.0.0-rc3

State Machine Breaking

  • #765 Upgrade ibc-go to v5.1.0 and related dependencies.

Nov 10, 2022

v1.0.0-rc2

Bug Fixes

  • #761 Fix non-deterministic evm execution result when there are concurrent grpc queries.
  • #762 Add v1.0.0 upgrade plan for dry-run and mainnet upgrade, which clears the extra_eips parameter.
  • #763 Add error log for iavl set error.
  • #764 Make eth_getProof result compatible with ethereum.

Nov 4, 2022

v1.0.0-rc1

Bug Fixes

  • #760 Revert breaking changes on gas used in Ethermint.

Nov 1, 2022

v1.0.0-rc0

Bug Fixes

  • #748 Fix inconsistent state if upgrade migration commit is interrupted.
  • #752 Update iavl to v0.19.4.

Oct 15, 2022

v0.9.0-beta4

Bug Fixes

  • cronos#719 Fix eth_call for legacy blocks (backport #713).

Improvements

  • cronos#720 Add option iavl-disable-fastnode to disable iavl fastnode indexing migration (backport #714).
  • cronos#721 Integrate the file state streamer (backport #702).
  • cronos#730 Update dependencies to recent versions (backport #729).

Sep 20, 2022

v0.9.0-beta3

Bug Fixes

Aug 29, 2022

v0.9.0-beta2

September 13, 2022

v0.9.0

State Machine Breaking

  • cronos#429 Update ethermint to main, ibc-go to v3.0.0, cosmos sdk to v0.45.4 and gravity to latest, remove v0.7.0 related upgradeHandler.
  • cronos#532 Add SendtoChain and CancelSendToChain support from evm call.
  • cronos#600 Implement bidirectional token mapping.
  • cronos#611 Fix mistake on acknowledgement error in ibc middleware.
  • cronos#627 Upgrade gravity bridge module with security enhancements
  • cronos#647 Integrate ibc fee middleware.
  • cronos#672 Revert interchain-accounts integration.

Bug Fixes

  • cronos#502 Fix failed tx are ignored in json-rpc apis.
  • cronos#556 Bump gravity bridge module version to include bugfixes (including grpc endpoint)
  • cronos#639 init and validate-genesis commands don't include experimental modules by default.

Improvements

  • cronos#418 Support logs in evm-hooks and return id for SendToEthereum events
  • cronos#489 Enable jemalloc memory allocator, and update rocksdb src to v6.29.5.
  • cronos#511 Replace ibc-hook with ibc middleware, use ibc-go upstream version.
  • cronos#550 Support basic json-rpc apis on pruned nodes.
  • cronos#549 Use custom tx indexer feature of ethermint.
  • cronos#673 Upgrade cosmos-sdk to 0.46.1 and ibc-go to v5.0.0-rc0.

Aug 5, 2022

v0.8.0

State Machine Breaking

  • cronos#618 selfdestruct don't delete bytecode of smart contract.

Aug 5, 2022

v0.7.1

Bug Fixes

  • cronos#454 Add back the latest testnet upgrade handler.
  • cronos#503 Fix failed tx are ignored in json-rpc apis (backport #502).
  • cronos#526 Fix tendermint duplicated tx issue.
  • cronos#584 Validate eth tx hash in ante handler and fix tx hashes returned in some JSON-RPC apis.
  • cronos#587 Unlucky tx patch cmd recompute eth tx hash.
  • cronos#595 Workaround the tx hash issue in event parsing.

Improvements

  • cronos#489 Enable jemalloc memory allocator, and update rocksdb src to v6.29.5.
  • cronos#513 Add fix-unlucky-tx command to patch txs post v0.7.0 upgrade.
  • cronos#522 Add reindex-duplicated-tx command to handle the tendermint tx duplicated issue.
  • cronos#585 Reject replay unprotected tx, mainly the old transactions on ethereum.

May 3, 2022

v0.7.0

State Machine Breaking

  • cronos#241 Update ethermint to main and merged statedb refactoring in custom fork.
  • cronos#289 Update ethermint to v0.10.0-cronos which uses ibc-go v2.0.2 instead of v3.0.0-alpha2 and include the fixes below:
  • cronos#315 Update cosmos-sdk to v0.45.0

Improvements

  • cronos#210 re-enabling gravity bridge conditionally
  • cronos#322 Merge min-gas-price change in ethermint: don't check min-gas-price for EVM tx when feemarket enabled.
  • cronos#345 disable the url query parameter in swagger-ui.
  • cronos#328 display detail panic information in query result when --trace enabled.
  • cronos#441 Update cosmos-sdk to v0.45.4

Bug Fixes

  • cronos#287 call upgrade handler before sealing app
  • cronos#323 Upgrade gravity bridge to v0.3.9 which contain a bugfix on batchTxExecuted.
  • cronos#324 Update to cosmos-sdk v0.45.1, which fixes an OOM issue.
  • cronos#329 Fix panic of eth_call on blocks prior to upgrade.
  • cronos#340 Update dependencies to include several bug fixes: a) fix subscription deadlock issue in ethermint, b) fix data races traceContext.
  • cronos#370 Update ethermint to fix a websocket bug, add websockets integration tests.
  • cronos#378 Backport recent ethermint bug fixes: a) fix tx inclusion issue by report correct gasWanted of eth tx, b) Add buffer to eth_gasPrice response to fix client UX, c) Quick fix for eth_feeHistory when reward is nil, d) add returnValue message on tracing.
  • cronos#446 Fix failure of query legacy block after upgrade.

December 10, 2021

v0.6.5

Bug Fixes

  • cronos#255 fix empty topics in non-breaking way
  • cronos#270 reject MsgEthereumTx wrapping tx without the extension option.

November 30, 2021

v0.6.4

Bug Fixes

November 29, 2021

v0.6.3

Bug Fixes

Improvements

  • tharsis#786 Improve error message of SendTransaction/SendRawTransaction JSON-RPC APIs.
  • cronos#222 change solc 0.6.11 to 0.6.8 (from dapp cachix) and update hermes to 0.8.

November 19, 2021

v0.6.2

Bug Fixes

October 26, 2021

v0.6.1

State Machine Breaking

  • cronos#190 upgrade ethermint to v0.7.2 with (#661) and (#689)

Bug Fixes

  • cronos#187 multiple denoms can be mapped to same contract
  • cronos#157 cronos params name has an unnecessary Key prefix
  • cronos#179 fix denom (symbol) in CRC20Module
  • cronos#178 version CLI command doesn't output any text

October 13, 2021

v0.6.0

This version removes gravity-bridge from cronos, also includes multiple bug fixes in third-party dependencies.

Consensus breaking changes

  • cronos#171 remove gravity-bridge for mainnet launch

Bug Fixes

Improvements

  • cronos#162 bump ibc-go to v1.2.1 with hooks support
  • cronos#169 bump ethermint to v0.7.1 and go-ethereum to v10.1.3-patched which include (CVE-2021-39137) hotfix

October 4, 2021

v0.5.5

This version fixes various bugs regarding ibc fund transfer and EVM-related in ethermint. We also enable swagger doc ui and add the token mapping state in genesis.

Bug Fixes

  • cronos#109 ibc transfer timeout too short
  • tharsis#590 fix export contract state in genesis and reimport
  • cronos#123 fix ibc refund logic
  • tharsis#617 iterator on deeply nested cache contexts is extremely slow
  • tharsis#615 tx log attribtue value not parsable by some client

Features

September 22, 2021

v0.5.4

This version is the same as v0.5.3 with a patched version of ethermint which include a bug fix on the transaction receipts events and on concurrent query.

Bug Fixes

September 21, 2021

v0.5.3

This version contains several new features, it enables gravity bridge in Cronos and automatic token conversion for bridging tokens to crc20 tokens. It also fixes the decimal conversion issues in the CRO tokens from Crypto.org Chain. In addition to that, it also upgrade ethermint to its latest version (v0.5.0.x) which bring several breaking changes (see changelog).

Consensus breaking changes

  • cronos#87 upgrade ethermint to v0.4.2-0.20210920104419-1a01c6a992c0

Features

  • cronos#11 embed gravity bridge module
  • cronos#35 add support for ibc hook
  • cronos#55 add support for ibc token conversion to crc20
  • cronos#45 allow evm contract to call bank send and gravity send
  • cronos#65 support SendToIbc in evm_log_handlers
  • cronos#59 gravity bridged tokens are converted to crc20 automatically
  • cronos#68 support SendCroToIbc in evm_log_handlers
  • cronos#86 change account prefix

August 19, 2021

v0.5.2

Consensus breaking changes

Improvements

Bug Fixes

August 16, 2021

v0.5.1

This version is a new scaffolding of cronos project where ethermint is included as a library.

Consensus breaking changes

  • (ethermint) tharsis#399 Exception in sub-message call reverts the call if it's not propagated.
  • (ethermint) tharsis#334 Log index changed to the index in block rather than tx.
  • (ethermint) tharsis#342 Don't clear balance when resetting the account.
  • (ethermint) tharsis#383 GetCommittedState use the original context.

Features

Improvements

Bug Fixes