Skip to content

Commit

Permalink
Merge pull request #602 from CosmWasm/co/remove-gaslimit
Browse files Browse the repository at this point in the history
[1.5] Remove unused `gasLimit` parameter of `SimulateStoreCode`
  • Loading branch information
chipshort authored Jan 7, 2025
2 parents b7f7d62 + fdd5ccc commit 6a3d790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (vm *VM) StoreCode(code WasmCode) (Checksum, error) {
// SimulateStoreCode is the same as StoreCode but does not actually store the code.
// This is useful for simulating all the validations happening in StoreCode without actually
// writing anything to disk.
func (vm *VM) SimulateStoreCode(code WasmCode, gasLimit uint64) (Checksum, error) {
func (vm *VM) SimulateStoreCode(code WasmCode) (Checksum, error) {
return api.StoreCode(vm.cache, code, false)
}

Expand Down

0 comments on commit 6a3d790

Please sign in to comment.