From fdd5ccc5eee4f1c1cdd8feee88e6231561032202 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Tue, 7 Jan 2025 13:35:28 +0100 Subject: [PATCH] Remove unused gasLimit param of SimulateStoreCode function --- lib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.go b/lib.go index ae6b4a6e8..3efe2d2f7 100644 --- a/lib.go +++ b/lib.go @@ -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) }