From fc63fb816e4fac230fd135d4bf4ece6b8496740f Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:28:02 +0200 Subject: [PATCH] chore: fix typos (#2770) * fix typos * fix typo * fix typo * fix typo --- changelog.md | 18 +++++++++--------- docs/cli/zetatool/readme.md | 4 ++-- docs/zetaclient/zetaclient_logging.md | 4 ++-- .../keeper/msg_server_withdraw_emissions.go | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/changelog.md b/changelog.md index 562422fcbc..2cb41327b0 100644 --- a/changelog.md +++ b/changelog.md @@ -28,7 +28,7 @@ ### Fixes * [2654](https://github.com/zeta-chain/node/pull/2654) - add validation for authorization list in when validating genesis state for authorization module -* [2674](https://github.com/zeta-chain/node/pull/2674) - allow operators to vote on ballots assosiated with discarded keygen without affecting the status of the current keygen. +* [2674](https://github.com/zeta-chain/node/pull/2674) - allow operators to vote on ballots associated with discarded keygen without affecting the status of the current keygen. * [2672](https://github.com/zeta-chain/node/pull/2672) - check observer set for duplicates when adding a new observer or updating an existing one ## v19.0.0 @@ -83,7 +83,7 @@ * [2118](https://github.com/zeta-chain/node/pull/2118) - consolidate inbound and outbound naming * [2124](https://github.com/zeta-chain/node/pull/2124) - removed unused variables and method * [2150](https://github.com/zeta-chain/node/pull/2150) - created `chains` `zetacore` `orchestrator` packages in zetaclient and reorganized source files accordingly -* [2210](https://github.com/zeta-chain/node/pull/2210) - removed uncessary panics in the zetaclientd process +* [2210](https://github.com/zeta-chain/node/pull/2210) - removed unnecessary panics in the zetaclientd process * [2205](https://github.com/zeta-chain/node/pull/2205) - remove deprecated variables pre-v17 * [2226](https://github.com/zeta-chain/node/pull/2226) - improve Go formatting with imports standardization and max line length to 120 * [2262](https://github.com/zeta-chain/node/pull/2262) - refactor MsgUpdateZRC20 into MsgPauseZrc20 and MsgUnPauseZRC20 @@ -151,7 +151,7 @@ ### CI * [2388](https://github.com/zeta-chain/node/pull/2388) - added GitHub attestations of binaries produced in the release workflow. -* [2285](https://github.com/zeta-chain/node/pull/2285) - added nightly EVM performance testing pipeline, modified localnet testing docker image to utilitze debian:bookworm, removed build-jet runners where applicable, removed deprecated/removed upgrade path testing pipeline +* [2285](https://github.com/zeta-chain/node/pull/2285) - added nightly EVM performance testing pipeline, modified localnet testing docker image to utilize debian:bookworm, removed build-jet runners where applicable, removed deprecated/removed upgrade path testing pipeline * [2268](https://github.com/zeta-chain/node/pull/2268) - updated the publish-release pipeline to utilize the Github Actions Ubuntu 20.04 Runners * [2070](https://github.com/zeta-chain/node/pull/2070) - Added commands to build binaries from the working branch as a live full node rpc to test non-governance changes * [2119](https://github.com/zeta-chain/node/pull/2119) - Updated the release pipeline to only run on hotfix/ and release/ branches. Added option to only run pre-checks and not cut release as well. Switched approval steps to use environments @@ -357,8 +357,8 @@ * [1584](https://github.com/zeta-chain/node/pull/1584) - allow to run E2E tests on any networks * [1746](https://github.com/zeta-chain/node/pull/1746) - rename smoke tests to e2e tests * [1753](https://github.com/zeta-chain/node/pull/1753) - fix gosec errors on usage of rand package -* [1762](https://github.com/zeta-chain/node/pull/1762) - improve coverage for fungibile module -* [1782](https://github.com/zeta-chain/node/pull/1782) - improve coverage for fungibile module system contract +* [1762](https://github.com/zeta-chain/node/pull/1762) - improve coverage for fungible module +* [1782](https://github.com/zeta-chain/node/pull/1782) - improve coverage for fungible module system contract ### CI @@ -460,7 +460,7 @@ Observer params and core params have been merged into chain params: * `GetCoreParams`: Renamed into `GetChainParams`. `/zeta-chain/observer/get_core_params` moved to `/zeta-chain/observer/get_chain_params` * `GetCoreParamsByChain`: Renamed into `GetChainParamsForChain`. `/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: +Getting the correct TSS address for Bitcoin now requires providing 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 @@ -487,7 +487,7 @@ Getting the correct TSS address for Bitcoin now requires proviidng the Bitcoin c * 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 Athens-3 log print issue - avoid posting unnecessary outtx confirmation * fix docker build issues with version: golang:1.20-alpine3.18 * [1525](https://github.com/zeta-chain/node/pull/1525) - relax EVM chain block header length check 1024->4096 * [1522](https://github.com/zeta-chain/node/pull/1522/files) - block `distribution` module account from receiving zeta @@ -524,7 +524,7 @@ Getting the correct TSS address for Bitcoin now requires proviidng the Bitcoin c * [1446](https://github.com/zeta-chain/node/pull/1446) - renamed file `zetaclientd/aux.go` to `zetaclientd/utils.go` to avoid complaints from go package resolver * [1499](https://github.com/zeta-chain/node/pull/1499) - Add scripts to localnet to help test gov proposals * [1442](https://github.com/zeta-chain/node/pull/1442) - remove build types in `.goreleaser.yaml` -* [1504](https://github.com/zeta-chain/node/pull/1504) - remove `-race` in the `make install` commmand +* [1504](https://github.com/zeta-chain/node/pull/1504) - remove `-race` in the `make install` command * [1564](https://github.com/zeta-chain/node/pull/1564) - bump ti-actions/changed-files ### Tests @@ -586,7 +586,7 @@ Getting the correct TSS address for Bitcoin now requires proviidng the Bitcoin c * [1128](https://github.com/zeta-chain/node/pull/1228) - adding namespaces back in rpc * [1245](https://github.com/zeta-chain/node/pull/1245) - set unique index for generate cctx * [1250](https://github.com/zeta-chain/node/pull/1250) - remove error return in `IsAuthorized` -* [1261](https://github.com/zeta-chain/node/pull/1261) - Ethereum comparaison checksum/non-checksum format +* [1261](https://github.com/zeta-chain/node/pull/1261) - Ethereum comparison checksum/non-checksum format * [1264](https://github.com/zeta-chain/node/pull/1264) - Blame index update * [1243](https://github.com/zeta-chain/node/pull/1243) - feed sataoshi/B to zetacore and check actual outTx size * [1235](https://github.com/zeta-chain/node/pull/1235) - cherry pick all hotfix from v10.0.x (zero-amount, precision, etc.) diff --git a/docs/cli/zetatool/readme.md b/docs/cli/zetatool/readme.md index c35d5009a7..206e1eb5e5 100644 --- a/docs/cli/zetatool/readme.md +++ b/docs/cli/zetatool/readme.md @@ -11,7 +11,7 @@ configure an ethereum rpc endpoint, then you will have to find an evm rpc endpoi `EthRPCURL` #### Zeta URL -You will need to find an enpoint for zetachain and set the field: `ZetaURL` +You will need to find an endpoint for zetachain and set the field: `ZetaURL` #### Contract Addresses Depending on the network, connector and custody contract addresses must be set using these fields: `ConnectorAddress`, @@ -52,4 +52,4 @@ Running the commands can be simply done through the makefile in the node repo: make filter-missed-btc or ... make filter-missed-eth -``` \ No newline at end of file +``` diff --git a/docs/zetaclient/zetaclient_logging.md b/docs/zetaclient/zetaclient_logging.md index 2782609d78..02eb732c62 100644 --- a/docs/zetaclient/zetaclient_logging.md +++ b/docs/zetaclient/zetaclient_logging.md @@ -6,7 +6,7 @@ - `TRACE` (-1): for tracing the code execution path. - `DEBUG` (0): messages useful for troubleshooting the program. - `INFO` (1): messages describing the normal operation of an application. - - `WARNING` (2): for logging events that need may need to be checked later. + - `WARNING` (2): for logging events that may need to be checked later. - `ERROR` (3): error messages for a specific operation. - `FATAL` (4): severe errors where the application cannot recover. `os.Exit(1)` is called after the message is logged. - `PANIC` (5): similar to `FATAL`, but `panic()` is called instead. @@ -33,4 +33,4 @@ - BTCSigner : chain = `BTC` module=`BTCsigner` - ProcessOutTX : chain = `BTC` module=`BTCsigner` OutboundId = `OutboundID of cctx being signed` SendHash = `Index of cctx being signed` - EVMSigner : chain = `evm_chain_name` module=`EVMSigner` - - ProcessOutTX : chain = `evm_chain_name` module=`BTCsigner` OutboundId = `OutboundID of cctx being signed` SendHash = `Index of cctx being signed` \ No newline at end of file + - ProcessOutTX : chain = `evm_chain_name` module=`BTCsigner` OutboundId = `OutboundID of cctx being signed` SendHash = `Index of cctx being signed` diff --git a/x/emissions/keeper/msg_server_withdraw_emissions.go b/x/emissions/keeper/msg_server_withdraw_emissions.go index 3b570ea81b..cb7231fc33 100644 --- a/x/emissions/keeper/msg_server_withdraw_emissions.go +++ b/x/emissions/keeper/msg_server_withdraw_emissions.go @@ -50,7 +50,7 @@ func (k msgServer) WithdrawEmission( SendCoinsFromModuleToAccount(ctx, types.UndistributedObserverRewardsPool, address, sdk.NewCoins(sdk.NewCoin(config.BaseDenom, msg.Amount))) if err != nil { ctx.Logger(). - Error(fmt.Sprintf("Error while processing withdraw of emission to adresss %s for amount %s : err %s", address, msg.Amount, err)) + Error(fmt.Sprintf("Error while processing withdraw of emission to address %s for amount %s : err %s", address, msg.Amount, err)) return nil, errorsmod.Wrap(types.ErrUnableToWithdrawEmissions, err.Error()) }