Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs improvements #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions HalbornCTF_Golang_Cosmos/app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion HalbornCTF_Golang_Cosmos/app/helpers/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++ {
Expand Down
2 changes: 1 addition & 1 deletion HalbornCTF_Golang_Cosmos/app/params/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion HalbornCTF_Golang_Cosmos/contrib/devtools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion HalbornCTF_Golang_Cosmos/proto/gaia/hal/v1beta1/hal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down