Skip to content

Commit c59f0d3

Browse files
committed
chore: fix some comments
Signed-off-by: lencap <[email protected]>
1 parent 5b1b179 commit c59f0d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x/wasm/keeper/bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/CosmWasm/wasmd/x/wasm/types"
1313
)
1414

15-
// BenchmarkVerification benchmarks secp256k1 verification which is 1000 gas based on cpu time.
15+
// BenchmarkGasNormalization benchmarks secp256k1 verification which is 1000 gas based on cpu time.
1616
//
1717
// Just this function is copied from
1818
// https://github.com/cosmos/cosmos-sdk/blob/90e9370bd80d9a3d41f7203ddb71166865561569/crypto/keys/internal/benchmarking/bench.go#L48-L62

x/wasm/types/gas_register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ type WasmGasRegisterConfig struct {
106106
// See also https://github.com/CosmWasm/wasmd/issues/1798 for more thinking around
107107
// discount cases.
108108
InstanceCostDiscount storetypes.Gas
109-
// CompileCosts costs to persist and "compile" a new wasm contract
109+
// CompileCost costs to persist and "compile" a new wasm contract
110110
CompileCost storetypes.Gas
111111
// UncompressCost costs per byte to unpack a contract
112112
UncompressCost wasmvmtypes.UFraction

0 commit comments

Comments
 (0)