CHANGELOG
Version: v14
Fixes
- 1817 - Add migration script to fix pending and chain nonces on testnet
Version: v13.0.0
zetaclientd start
: 2 inputs required from stdin
Features
- 1698 - bitcoin dynamic depositor fee
Docs
- 1731 added doc for hotkey and tss key-share password prompts.
Features
*[1728] (#1728) - allow aborted transactions to be refunded by minting tokens to zEvm.
Refactor
- 1766 - Refactors the
PostTxProcessing
EVM hook functionality to deal with invalid withdraw events - 1630 added password prompts for hotkey and tss keyshare in zetaclient
Starting zetaclient now requires two passwords to be input; one for the hotkey and another for the tss key-share. - 1760 - Make staking keeper private in crosschain module
Fixes
- 1678 - clean cached stale block to fix evm outtx hash mismatch
- 1690 - double watched gas prices and fix btc scheduler
- 1687 - only use EVM supported chains for gas stability pool
- 1692 - fix get params query for emissions module
- 1706 - fix CLI crosschain show-out-tx-tracker
- 1707 - fix bitcoin fee rate estimation
- 1712 - increase EVM outtx inclusion timeout to 20 minutes
- 1733 - remove the unnecessary 2x multiplier in the convertGasToZeta RPC
- 1721 - zetaclient should provide bitcoin_chain_id when querying TSS address
- 1744 - added cmd to encrypt tss keyshare file, allowing empty tss password for backward compatibility.
Tests
- 1584 - allow to run E2E tests on any networks
- 1753 - fix gosec errors on usage of rand package
- 1762 - improve coverage for fungibile module
CI
- Adjusted the release pipeline to be a manually executed pipeline with an approver step. The pipeline now executes all the required tests run before the approval step unless skipped.
- Added pipeline to build and push docker images into dockerhub on release for ubuntu and macos.
- Adjusted the pipeline for building and pushing docker images for MacOS to install and run docker.
- Added docker-compose and make commands for launching full nodes.
make mainnet-zetarpc-node
make mainnet-bitcoind-node
- Made adjustments to the docker-compose for launching mainnet full nodes to include examples of using the docker images build from the docker image build pipeline.
- 1736 - chore: add Ethermint endpoints to OpenAPI
Chores
Version: v12.2.4
Fixes
- 1638 - additional check to make sure external chain height always increases
- 1672 - paying 50% more than base gas price to buffer EIP1559 gas price increase
- 1642 - Change WhitelistERC20 authorization from group1 to group2
- 1610 - add pending outtx hash to tracker after monitoring for 10 minutes
- 1656 - schedule bitcoin keysign with intervals to avoid keysign failures
- 1662 - skip Goerli BlobTxType transactions introduced in Dencun upgrade
- 1663 - skip Mumbai empty block if ethclient sanity check fails
- 1661 - use estimated SegWit tx size for Bitcoin gas fee calculation
- 1667 - estimate SegWit tx size in uinit of vByte
- 1675 - use chain param ConfirmationCount for bitcoin confirmation
Chores
- 1694 - remove standalone network, use require testing package for the entire node folder
Version: v12.1.0
Tests
- 1577 - add chain header tests in E2E tests and fix admin tests
Features
- 1658 - modify emission distribution to use fixed block rewards
Fixes
- 1535 - Avoid voting on wrong ballots due to false blockNumber in EVM tx receipt
- 1588 - fix chain params comparison logic
- 1650 - exempt (discounted) system txs from min gas price check and gas fee deduction
- 1632 - set keygen to
KeygenStatus_KeyGenSuccess
if its inKeygenStatus_PendingKeygen
. - 1576 - Fix zetaclient crash due to out of bound integer conversion and log prints.
- 1575 - Skip unsupported chain parameters by IsSupported flag
CI
- 1580 - Fix release pipelines cleanup step.
Chores
Features
- 1591 - support lower gas limit for voting on inbound and outbound transactions
- 1592 - check inbound tracker tx hash against Tss address and some refactor on inTx observation
Refactoring
Refactoring
- 1619 - Add evm fee calculation to tss migration of evm chains
Version: v12.0.0
Breaking Changes
TSS and chain validation related queries have been moved from crosschain
module to observer
module:
PendingNonces
:Changed from/zeta-chain/crosschain/pendingNonces/{chain_id}/{address}
to/zeta-chain/observer/pendingNonces/{chain_id}/{address}
. It returns all the pending nonces for a chain id and address. This returns the current pending nonces for the chain.ChainNonces
: Changed from/zeta-chain/crosschain/chainNonces/{chain_id}
to/zeta-chain/observer/chainNonces/{chain_id}
. It returns all the chain nonces for a chain id. This returns the current nonce of the TSS address for the chain.ChainNoncesAll
:Changed from/zeta-chain/crosschain/chainNonces
to/zeta-chain/observer/chainNonces
. It returns all the chain nonces for all chains. This returns the current nonce of the TSS address for all chains.
All chains now have the same observer set:
ObserversByChain
:/zeta-chain/observer/observers_by_chain/{observation_chain}
has been removed and replaced with/zeta-chain/observer/observer_set
. All chains have the same observer set.AllObserverMappers
:/zeta-chain/observer/all_observer_mappers
has been removed./zeta-chain/observer/observer_set
should be used to get observers.
Observer params and core params have been merged into chain params:
Params
:/zeta-chain/observer/params
no longer returns observer params. Observer params data have been moved to chain params described below.GetCoreParams
: Renamed intoGetChainParams
./zeta-chain/observer/get_core_params
moved to/zeta-chain/observer/get_chain_params
.GetCoreParamsByChain
: Renamed intoGetChainParamsForChain
./zeta-chain/observer/get_core_params_by_chain
moved to/zeta-chain/observer/get_chain_params_by_chain
.
Getting the correct TSS address for Bitcoin now requires proviidng the Bitcoin chain id:
GetTssAddress
: Changed from/zeta-chain/observer/get_tss_address/
to/zeta-chain/observer/getTssAddress/{bitcoin_chain_id}
. Optional bitcoin chain id can now be passed as a parameter to fetch the correct tss for required BTC chain. This parameter only affects the BTC tss address in the response.
Features
- 1498 - Add monitoring(grafana, prometheus, ethbalance) for localnet testing
- 1395 - Add state variable to track aborted zeta amount
- 1410 -
snapshots
commands - enable zetaclients to use dynamic gas price on zetachain - enables >0 min_gas_price in feemarket module
- add static chain data for Sepolia testnet
- added metrics to track the burn rate of the hotkey in the telemetry server as well as prometheus
Fixes
- 1554 - Screen out unconfirmed UTXOs that are not created by TSS itself
- 1560 - Zetaclient post evm-chain outtx hashes only when receipt is available
- 1516 - Unprivileged outtx tracker removal
- 1537 - Sanity check events of ZetaSent/ZetaReceived/ZetaRevertedWithdrawn/Deposited
- 1530 - Outbound tx confirmation/inclusion enhancement
- 1496 - post block header for enabled EVM chains only
- 1518 - Avoid duplicate keysign if an outTx is already pending
- fix Code4rena issue - zetaclients potentially miss inTx when PostSend (or other RPC) fails
- fix go-staticcheck warnings for zetaclient
- fix Athens-3 issue - incorrect pending-tx inclusion and incorrect confirmation count
- masked zetaclient config at startup
- set limit for queried pending cctxs
- add check to verify new tss has been produced when triggering tss funds migration
- fix Athens-3 log print issue - avoid posting uncessary outtx confirmation
- fix docker build issues with version: golang:1.20-alpine3.18
- 1525 - relax EVM chain block header length check 1024->4096
- 1522 - block
distribution
module account from receiving zeta - 1528 - fix panic caused on decoding malformed BTC addresses
- 1536 - add index to check previously finalized inbounds
- 1556 - add emptiness check for topic array in event parsing
- 1546 - fix reset of pending nonces on genesis import
- 1555 - Reduce websocket message limit to 10MB
- 1567 - add bitcoin chain id to fetch the tss address rpc endpoint
- 1501 - fix stress test - use new refactored config file and smoketest runner
- 1589 - add bitcoin chain id to
get tss address
andget tss address historical
cli query
Refactoring
- 1552 - requires group2 to enable header verification
- 1211 - use
grpc
andmsg
for query and message files - refactor cctx scheduler - decouple evm cctx scheduler from btc cctx scheduler
- move tss state from crosschain to observer
- move pending nonces, chain nonces and nonce to cctx to observer
- move tss related cli from crosschain to observer
- reorganize smoke tests structure
- Add pagination to queries which iterate over large data sets InTxTrackerAll ,PendingNoncesAll ,AllBlameRecord ,TssHistory
- GetTssAddress now returns only the current tss address for ETH and BTC
- Add a new query GetTssAddressesByFinalizedBlockHeight to get any other tss addresses for a finalized block height
- Move observer params into core params
- Remove chain id from the index for observer mapper and rename it to observer set.
- Add logger to smoke tests
- 1521 - replace go-tss lib version with one that reverts back to thorchain tss-lib
- 1558 - change log level for gas stability pool iteration error
- Update --ledger flag hint
Chores
- 1446 - renamed file
zetaclientd/aux.go
tozetaclientd/utils.go
to avoid complaints from go package resolver. - 1499 - Add scripts to localnet to help test gov proposals
- 1442 - remove build types in
.goreleaser.yaml
- 1504 - remove
-race
in themake install
commmand - 1564 - bump ti-actions/changed-files
Tests
- 1538 - improve stateful e2e testing
CI
- Removed private runners and unused GitHub Action
Version: v11.0.0
Features
- 1387 - Add HSM capability for zetaclient hot key
- add a new thread to zetaclient which checks zeta supply in all connected chains in every block
- add a new tx to update an observer, this can be either be run a tombstoned observer/validator or via admin_policy_group_2.
Fixes
- Added check for redeployment of gas and asset token contracts
- 1372 - Include Event Index as part for inbound tx digest
- 1367 - fix minRelayTxFee issue and check misuse of bitcoin mainnet/testnet addresses
- 1358 - add a new thread to zetaclient which checks zeta supply in all connected chains in every block
- prevent deposits for paused zrc20
- 1406 - improve log prints and speed up evm outtx inclusion
- fix Athens-3 issue - include bitcoin outtx regardless of the cctx status
Refactoring
- 1391 - consolidate node builds
- update
MsgUpdateContractBytecode
to use code hash instead of contract address
Chores
Tests
- Add unit tests for adding votes to a ballot
CI
Version: v10.1.2
Features
- 1137 - external stress testing
- 1205 - allow setting liquidity cap for ZRC20
- 1260 - add ability to update gas limit
- 1263 - Bitcoin block header and merkle proof
- 1247 - add query command to get all gas stability pool balances
- 1143 - tss funds migration capability
- 1358 - zetaclient thread for zeta supply checks
- 1384 - tx to update an observer
Fixes
- 1195 - added upgrade name, and allow download. allows to test release
- 1153 - address
cosmos-gosec
lint issues - 1128 - adding namespaces back in rpc
- 1245 - set unique index for generate cctx
- 1250 - remove error return in
IsAuthorized
- 1261 - Ethereum comparaison checksum/non-checksum format
- 1264 - Blame index update
- 1243 - feed sataoshi/B to zetacore and check actual outTx size
- 1235 - cherry pick all hotfix from v10.0.x (zero-amount, precision, etc.)
- 1257 - register emissions grpc server
- 1277 - read gas limit from smart contract
- 1252 - add CLI command to query system contract
- 1285 - add notice when using
--ledger
with Ethereum HD path - 1283 - query outtx tracker by chain using prefixed store
- 1280 - minor fixes to stateful upgrade
- 1304 - remove check
gasObtained == outTxGasFee
- 1308 - begin blocker for mock mainnet
Refactoring
- 1226 - call
onCrossChainCall
when depositing to a contract - 1238 - change default mempool version in config
- 1279 - remove duplicate funtion name IsEthereum
- 1289 - skip gas stability pool funding when gasLimit is equal gasUsed
Chores
- 1193 - switch back to
cosmos/cosmos-sdk
- 1222 - changed maxNestedMsgs
- 1265 - sync from mockmain
- 1307 - increment handler version
Tests
- 1135 - Stateful upgrade for smoke tests
CI
- 1218 - cross-compile release binaries and simplify PR testings
- 1302 - add mainnet builds to goreleaser
Changelog
- 1f8f76f add nosec directives