Skip to content

Commit

Permalink
Remove unused gasLimit param of SimulateStoreCode function
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jan 7, 2025
1 parent ed3a3dc commit fdd5ccc
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 fdd5ccc

Please sign in to comment.