Skip to content

Commit

Permalink
chore: remove repeat word (#1895)
Browse files Browse the repository at this point in the history
Signed-off-by: costcould <fliter@myyahoo.com>
  • Loading branch information
costcould authored Jun 19, 2024
1 parent 21b048d commit aaaca67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type SystemUnderTest struct {
currentHeight int64
chainID string
outputDir string
// blockTime is the the expected/desired block time. This is not going to be very precise
// blockTime is the expected/desired block time. This is not going to be very precise
// since Tendermint consensus does not allow specifying it directly.
blockTime time.Duration
rpcAddr string
Expand Down
4 changes: 2 additions & 2 deletions x/wasm/types/gas_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type GasRegister interface {
// SetupContractCost are charged when interacting with a Wasm contract, i.e. every time
// the contract is prepared for execution through any entry point (execute/instantiate/sudo/query/ibc_*/...).
SetupContractCost(discount bool, msgLen int) storetypes.Gas
// ReplyCosts costs to to handle a message reply
// ReplyCosts costs to handle a message reply
ReplyCosts(discount bool, reply wasmvmtypes.Reply) storetypes.Gas
// EventCosts costs to persist an event
EventCosts(attrs []wasmvmtypes.EventAttribute, events wasmvmtypes.Array[wasmvmtypes.Event]) storetypes.Gas
Expand Down Expand Up @@ -187,7 +187,7 @@ func (g WasmGasRegister) SetupContractCost(discount bool, msgLen int) storetypes
}
}

// ReplyCosts costs to to handle a message reply.
// ReplyCosts costs to handle a message reply.
// Set discount to true in cases where you can reasonably assume the contract
// is loaded from an in-memory cache (e.g. pinned contracts or replys).
func (g WasmGasRegister) ReplyCosts(discount bool, reply wasmvmtypes.Reply) storetypes.Gas {
Expand Down

0 comments on commit aaaca67

Please sign in to comment.