From c10077465650ea2320d7d8956d591f65ee250311 Mon Sep 17 00:00:00 2001 From: rootdiae Date: Wed, 15 Jan 2025 10:38:50 +0800 Subject: [PATCH] fix typos --- RELEASE_PROCESS.md | 2 +- proto/babylon/btcstaking/v1/tx.proto | 4 ++-- x/btcstaking/README.md | 6 +++--- x/btcstaking/types/tx.pb.go | 4 ++-- x/finality/README.md | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index d5c61b57c..977d2dee8 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -56,7 +56,7 @@ branch (see [CONTRIBUTING.md](./CONTRIBUTING.md#pull-requests)). * When bugs are found, create a PR for `main`, and backport fixes to the release branch. * Before tagging the release, create and merge PR to the release branch that: - * Moves all changelog entries form `Unreleased` section of the changelog to the newly created section `v0.Y.0` + * Moves all changelog entries from `Unreleased` section of the changelog to the newly created section `v0.Y.0` * Create new release candidate tags after bugs are fixed. * After the team feels the release candidate is ready, create a full release: * **Note:** The final release MUST have the same commit hash as the latest diff --git a/proto/babylon/btcstaking/v1/tx.proto b/proto/babylon/btcstaking/v1/tx.proto index e3036d535..1af336b25 100644 --- a/proto/babylon/btcstaking/v1/tx.proto +++ b/proto/babylon/btcstaking/v1/tx.proto @@ -61,7 +61,7 @@ message MsgCreateFinalityProviderResponse {} // MsgEditFinalityProvider is the message for editing an existing finality provider message MsgEditFinalityProvider { option (cosmos.msg.v1.signer) = "addr"; - // addr the address of the finality provider that whishes to edit his information. + // addr the address of the finality provider that wishes to edit his information. string addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of the finality provider to be edited bytes btc_pk = 2; @@ -108,7 +108,7 @@ message MsgCreateBTCDelegation { // - unbonding transaction, time lock spending path // - staking slashing transaction, change output // - unbonding slashing transaction, change output - // It must be smaller than math.MaxUInt16 and larger that max(MinUnbondingTime, CheckpointFinalizationTimeout) + // It must be smaller than math.MaxUInt16 and larger than max(MinUnbondingTime, CheckpointFinalizationTimeout) uint32 unbonding_time = 11; // fields related to unbonding transaction // unbonding_tx is a bitcoin unbonding transaction i.e transaction that spends diff --git a/x/btcstaking/README.md b/x/btcstaking/README.md index 416241299..5499db899 100644 --- a/x/btcstaking/README.md +++ b/x/btcstaking/README.md @@ -445,7 +445,7 @@ provider. // MsgEditFinalityProvider is the message for editing an existing finality provider message MsgEditFinalityProvider { option (cosmos.msg.v1.signer) = "addr"; - // addr the address of the finality provider that whishes to edit his information. + // addr the address of the finality provider that wishes to edit his information. string addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of the finality provider to be edited bytes btc_pk = 2; @@ -510,7 +510,7 @@ message MsgCreateBTCDelegation { // - unbonding transaction, time lock spending path // - staking slashing transaction, change output // - unbonding slashing transaction, change output - // It must be smaller than math.MaxUInt16 and larger that max(MinUnbondingTime, CheckpointFinalizationTimeout) + // It must be smaller than math.MaxUInt16 and larger than max(MinUnbondingTime, CheckpointFinalizationTimeout) uint32 unbonding_time = 11; // fields related to unbonding transaction // unbonding_tx is a bitcoin unbonding transaction i.e transaction that spends @@ -688,7 +688,7 @@ Upon `BTCUndelegate`, a Babylon node will execute as follows: ### MsgUpdateParams The `MsgUpdateParams` message is used for updating the module parameters for the -BTC Staking module. It can only be executed via a govenance proposal. +BTC Staking module. It can only be executed via a governance proposal. ```protobuf // MsgUpdateParams defines a message for updating btcstaking module parameters. diff --git a/x/btcstaking/types/tx.pb.go b/x/btcstaking/types/tx.pb.go index de1491f4e..e327928a7 100644 --- a/x/btcstaking/types/tx.pb.go +++ b/x/btcstaking/types/tx.pb.go @@ -142,7 +142,7 @@ var xxx_messageInfo_MsgCreateFinalityProviderResponse proto.InternalMessageInfo // MsgEditFinalityProvider is the message for editing an existing finality provider type MsgEditFinalityProvider struct { - // addr the address of the finality provider that whishes to edit his information. + // addr the address of the finality provider that wishes to edit his information. Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of the finality provider to be edited BtcPk []byte `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3" json:"btc_pk,omitempty"` @@ -274,7 +274,7 @@ type MsgCreateBTCDelegation struct { // - unbonding transaction, time lock spending path // - staking slashing transaction, change output // - unbonding slashing transaction, change output - // It must be smaller than math.MaxUInt16 and larger that max(MinUnbondingTime, CheckpointFinalizationTimeout) + // It must be smaller than math.MaxUInt16 and larger than max(MinUnbondingTime, CheckpointFinalizationTimeout) UnbondingTime uint32 `protobuf:"varint,11,opt,name=unbonding_time,json=unbondingTime,proto3" json:"unbonding_time,omitempty"` // fields related to unbonding transaction // unbonding_tx is a bitcoin unbonding transaction i.e transaction that spends diff --git a/x/finality/README.md b/x/finality/README.md index 139d58389..bf10ba541 100644 --- a/x/finality/README.md +++ b/x/finality/README.md @@ -401,7 +401,7 @@ Upon `MsgAddFinalitySig`, a Babylon node will execute as follows: ### MsgUpdateParams The `MsgUpdateParams` message is used for updating the module parameters for the -Finality module. It can only be executed via a govenance proposal. +Finality module. It can only be executed via a governance proposal. ```protobuf // MsgUpdateParams defines a message for updating finality module parameters.