diff --git a/HalbornCTF_Golang_Cosmos/app/export.go b/HalbornCTF_Golang_Cosmos/app/export.go index 0c000cdf..4d00255b 100644 --- a/HalbornCTF_Golang_Cosmos/app/export.go +++ b/HalbornCTF_Golang_Cosmos/app/export.go @@ -44,13 +44,13 @@ func (app *GaiaApp) ExportAppStateAndValidators( }, err } -// prepare for fresh start at zero height +// prepare for a fresh start at zero height // NOTE zero height genesis is a temporary feature which will be deprecated // in favour of export at a block height func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { applyAllowedAddrs := false - // check if there is a allowed address list + // check if there is an allowed address list if len(jailAllowedAddrs) > 0 { applyAllowedAddrs = true } diff --git a/HalbornCTF_Golang_Cosmos/app/helpers/account.go b/HalbornCTF_Golang_Cosmos/app/helpers/account.go index b73d6da9..2bdd9374 100644 --- a/HalbornCTF_Golang_Cosmos/app/helpers/account.go +++ b/HalbornCTF_Golang_Cosmos/app/helpers/account.go @@ -15,7 +15,7 @@ func AddTestAddrs(app *gaiaapp.GaiaApp, ctx sdk.Context, accNum int, accCoins sd return addTestAddrs(app, ctx, accNum, accCoins, createRandomAccounts) } -// createRandomAccounts is a strategy used by addTestAddrs() in order to generated addresses in random order. +// createRandomAccounts is a strategy used by addTestAddrs() in order to generate addresses in random order. func createRandomAccounts(accNum int) []sdk.AccAddress { testAddrs := make([]sdk.AccAddress, accNum) for i := 0; i < accNum; i++ { diff --git a/HalbornCTF_Golang_Cosmos/app/params/doc.go b/HalbornCTF_Golang_Cosmos/app/params/doc.go index 7c6035ca..0cb7042f 100644 --- a/HalbornCTF_Golang_Cosmos/app/params/doc.go +++ b/HalbornCTF_Golang_Cosmos/app/params/doc.go @@ -3,7 +3,7 @@ Package params defines the simulation parameters in the gaia. It contains the default weights used for each transaction used on the module's simulation. These weights define the chance for a transaction to be simulated at -any gived operation. +any given operation. You can repace the default values for the weights by providing a params.json file with the weights defined for each of the transaction operations: diff --git a/HalbornCTF_Golang_Cosmos/contrib/devtools/Makefile b/HalbornCTF_Golang_Cosmos/contrib/devtools/Makefile index 8cfcc905..417ebaf7 100644 --- a/HalbornCTF_Golang_Cosmos/contrib/devtools/Makefile +++ b/HalbornCTF_Golang_Cosmos/contrib/devtools/Makefile @@ -65,7 +65,7 @@ tools-stamp: $(RUNSIM) touch $@ # Install the runsim binary with a temporary workaround of entering an outside -# directory as the "go get" command ignores the -mod option and will polute the +# directory as the "go get" command ignores the -mod option and will pollute the # go.{mod, sum} files. # # ref: https://github.com/golang/go/issues/30515 diff --git a/HalbornCTF_Golang_Cosmos/proto/gaia/hal/v1beta1/hal.proto b/HalbornCTF_Golang_Cosmos/proto/gaia/hal/v1beta1/hal.proto index 0b06aa55..92ee7b00 100644 --- a/HalbornCTF_Golang_Cosmos/proto/gaia/hal/v1beta1/hal.proto +++ b/HalbornCTF_Golang_Cosmos/proto/gaia/hal/v1beta1/hal.proto @@ -72,7 +72,7 @@ message RedeemEntry { (gogoproto.moretags) = "yaml:\"address\"" ]; - // operations are redeem operations that are active. + // operations are redeemed operations that are active. repeated RedeemEntryOperation operations = 2 [ (gogoproto.moretags) = "yaml:\"operations\"", (gogoproto.nullable) = false