Skip to content

Commit 1149653

Browse files
authored
Merge pull request #1599 from CosmWasm/1596-remove_wasmer_ref
Remove Wasmer references
2 parents 0903d63 + ffcfa8d commit 1149653

19 files changed

+100
-99
lines changed

x/wasm/ibc_integration_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestOnChanOpenInitVersion(t *testing.T) {
4848
var (
4949
chainAOpts = []wasmkeeper.Option{
5050
wasmkeeper.WithWasmEngine(
51-
wasmtesting.NewIBCContractMockWasmer(myContract)),
51+
wasmtesting.NewIBCContractMockWasmEngine(myContract)),
5252
}
5353
coordinator = wasmibctesting.NewCoordinator(t, 2, chainAOpts)
5454
chainA = coordinator.GetChain(wasmibctesting.GetChainID(1))
@@ -100,7 +100,7 @@ func TestOnChanOpenTryVersion(t *testing.T) {
100100
var (
101101
chainAOpts = []wasmkeeper.Option{
102102
wasmkeeper.WithWasmEngine(
103-
wasmtesting.NewIBCContractMockWasmer(myContract)),
103+
wasmtesting.NewIBCContractMockWasmEngine(myContract)),
104104
}
105105
coordinator = wasmibctesting.NewCoordinator(t, 2, chainAOpts)
106106
chainA = coordinator.GetChain(wasmibctesting.GetChainID(1))
@@ -225,12 +225,12 @@ func TestOnIBCPacketReceive(t *testing.T) {
225225

226226
// mock to submit an ibc data package from given chain and capture the ack
227227
type captureAckTestContractEngine struct {
228-
*wasmtesting.MockWasmer
228+
*wasmtesting.MockWasmEngine
229229
}
230230

231231
// NewCaptureAckTestContractEngine constructor
232232
func NewCaptureAckTestContractEngine() *captureAckTestContractEngine {
233-
m := wasmtesting.NewIBCContractMockWasmer(&wasmtesting.MockIBCContractCallbacks{
233+
m := wasmtesting.NewIBCContractMockWasmEngine(&wasmtesting.MockIBCContractCallbacks{
234234
IBCChannelOpenFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, msg wasmvmtypes.IBCChannelOpenMsg, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.IBC3ChannelOpenResponse, uint64, error) {
235235
return &wasmvmtypes.IBC3ChannelOpenResponse{}, 0, nil
236236
},
@@ -245,7 +245,7 @@ func NewCaptureAckTestContractEngine() *captureAckTestContractEngine {
245245
func (x *captureAckTestContractEngine) SubmitIBCPacket(t *testing.T, path *wasmibctesting.Path, chainA *wasmibctesting.TestChain, senderContractAddr sdk.AccAddress, packetData []byte) *[]byte {
246246
t.Helper()
247247
// prepare a bridge to send an ibc packet by an ordinary wasm execute message
248-
x.MockWasmer.ExecuteFn = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, executeMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
248+
x.MockWasmEngine.ExecuteFn = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, executeMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
249249
return &wasmvmtypes.Response{
250250
Messages: []wasmvmtypes.SubMsg{{ID: 1, ReplyOn: wasmvmtypes.ReplyNever, Msg: wasmvmtypes.CosmosMsg{IBC: &wasmvmtypes.IBCMsg{SendPacket: &wasmvmtypes.SendPacketMsg{
251251
ChannelID: path.EndpointA.ChannelID, Data: executeMsg, Timeout: wasmvmtypes.IBCTimeout{Block: &wasmvmtypes.IBCTimeoutBlock{Revision: 1, Height: 10000000}},
@@ -254,7 +254,7 @@ func (x *captureAckTestContractEngine) SubmitIBCPacket(t *testing.T, path *wasmi
254254
}
255255
// capture acknowledgement
256256
var gotAck []byte
257-
x.MockWasmer.IBCPacketAckFn = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, msg wasmvmtypes.IBCPacketAckMsg, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.IBCBasicResponse, uint64, error) {
257+
x.MockWasmEngine.IBCPacketAckFn = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, msg wasmvmtypes.IBCPacketAckMsg, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.IBCBasicResponse, uint64, error) {
258258
gotAck = msg.Acknowledgement.Data
259259
return &wasmvmtypes.IBCBasicResponse{}, 0, nil
260260
}

x/wasm/ibctesting/wasm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var wasmIdent = []byte("\x00\x61\x73\x6D")
2323

2424
// SeedNewContractInstance stores some wasm code and instantiates a new contract on this chain.
2525
// This method can be called to prepare the store with some valid CodeInfo and ContractInfo. The returned
26-
// Address is the contract address for this instance. Test should make use of this data and/or use NewIBCContractMockWasmer
26+
// Address is the contract address for this instance. Test should make use of this data and/or use NewIBCContractMockWasmEngine
2727
// for using a contract mock in Go.
2828
func (chain *TestChain) SeedNewContractInstance() sdk.AccAddress {
2929
pInstResp := chain.StoreCode(append(wasmIdent, rand.Bytes(10)...))

x/wasm/keeper/contract_keeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestInstantiate2(t *testing.T) {
2222

2323
example := StoreHackatomExampleContract(t, parentCtx, keepers)
2424
otherExample := StoreReflectContract(t, parentCtx, keepers)
25-
mock := &wasmtesting.MockWasmer{}
25+
mock := &wasmtesting.MockWasmEngine{}
2626
wasmtesting.MakeInstantiable(mock)
2727
keepers.WasmKeeper.wasmVM = mock // set mock to not fail on contract init message
2828

x/wasm/keeper/handler_plugin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func TestBurnCoinMessageHandlerIntegration(t *testing.T) {
387387
for name, spec := range specs {
388388
t.Run(name, func(t *testing.T) {
389389
ctx, _ = parentCtx.CacheContext()
390-
k.wasmVM = &wasmtesting.MockWasmer{ExecuteFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, executeMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
390+
k.wasmVM = &wasmtesting.MockWasmEngine{ExecuteFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, executeMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
391391
return &wasmvmtypes.Response{
392392
Messages: []wasmvmtypes.SubMsg{
393393
{Msg: wasmvmtypes.CosmosMsg{Bank: &wasmvmtypes.BankMsg{Burn: &spec.msg}}, ReplyOn: wasmvmtypes.ReplyNever},

x/wasm/keeper/keeper.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ var defaultAcceptedAccountTypes = map[reflect.Type]struct{}{
7777
reflect.TypeOf(&authtypes.BaseAccount{}): {},
7878
}
7979

80-
// Keeper will have a reference to Wasmer with it's own data directory.
80+
// Keeper will have a reference to Wasm Engine with it's own data directory.
8181
type Keeper struct {
8282
storeKey storetypes.StoreKey
8383
cdc codec.Codec
8484
accountKeeper types.AccountKeeper
8585
bank CoinTransferrer
8686
portKeeper types.PortKeeper
8787
capabilityKeeper types.CapabilityKeeper
88-
wasmVM types.WasmerEngine
88+
wasmVM types.WasmEngine
8989
wasmVMQueryHandler WasmVMQueryHandler
9090
wasmVMResponseHandler WasmVMResponseHandler
9191
messenger Messenger
@@ -1026,7 +1026,7 @@ func (k Keeper) consumeRuntimeGas(ctx sdk.Context, gas uint64) {
10261026
ctx.GasMeter().ConsumeGas(consumed, "wasm contract")
10271027
// throw OutOfGas error if we ran out (got exactly to zero due to better limit enforcing)
10281028
if ctx.GasMeter().IsOutOfGas() {
1029-
panic(sdk.ErrorOutOfGas{Descriptor: "Wasmer function execution"})
1029+
panic(sdk.ErrorOutOfGas{Descriptor: "Wasm engine function execution"})
10301030
}
10311031
}
10321032

x/wasm/keeper/keeper_test.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -711,15 +711,15 @@ func TestInstantiateWithNonExistingCodeID(t *testing.T) {
711711
func TestInstantiateWithContractDataResponse(t *testing.T) {
712712
ctx, keepers := CreateTestInput(t, false, AvailableCapabilities)
713713

714-
wasmerMock := &wasmtesting.MockWasmer{
714+
wasmEngineMock := &wasmtesting.MockWasmEngine{
715715
InstantiateFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, initMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
716716
return &wasmvmtypes.Response{Data: []byte("my-response-data")}, 0, nil
717717
},
718718
AnalyzeCodeFn: wasmtesting.WithoutIBCAnalyzeFn,
719719
StoreCodeFn: wasmtesting.NoOpStoreCodeFn,
720720
}
721721

722-
example := StoreRandomContract(t, ctx, keepers, wasmerMock)
722+
example := StoreRandomContract(t, ctx, keepers, wasmEngineMock)
723723
_, data, err := keepers.ContractKeeper.Instantiate(ctx, example.CodeID, example.CreatorAddr, nil, nil, "test", nil)
724724
require.NoError(t, err)
725725
assert.Equal(t, []byte("my-response-data"), data)
@@ -738,7 +738,7 @@ func TestInstantiateWithContractFactoryChildQueriesParent(t *testing.T) {
738738

739739
var instantiationCount int
740740
callbacks := make([]func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, initMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error), 2)
741-
wasmerMock := &wasmtesting.MockWasmer{
741+
wasmEngineMock := &wasmtesting.MockWasmEngine{
742742
// dispatch instantiation calls to callbacks
743743
InstantiateFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, initMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
744744
require.Greater(t, len(callbacks), instantiationCount, "unexpected call to instantiation")
@@ -758,7 +758,7 @@ func TestInstantiateWithContractFactoryChildQueriesParent(t *testing.T) {
758758
// overwrite wasmvm in response handler
759759
keeper.wasmVMResponseHandler = NewDefaultWasmVMContractResponseHandler(NewMessageDispatcher(keeper.messenger, keeper))
760760

761-
example := StoreRandomContract(t, ctx, keepers, wasmerMock)
761+
example := StoreRandomContract(t, ctx, keepers, wasmEngineMock)
762762
// factory contract
763763
callbacks[0] = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, initMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
764764
t.Log("called factory")
@@ -1467,7 +1467,7 @@ func TestIterateContractsByCode(t *testing.T) {
14671467

14681468
func TestIterateContractsByCodeWithMigration(t *testing.T) {
14691469
// mock migration so that it does not fail when migrate example1 to example2.codeID
1470-
mockWasmVM := wasmtesting.MockWasmer{MigrateFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, migrateMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
1470+
mockWasmVM := wasmtesting.MockWasmEngine{MigrateFn: func(codeID wasmvm.Checksum, env wasmvmtypes.Env, migrateMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.Response, uint64, error) {
14711471
return &wasmvmtypes.Response{}, 1, nil
14721472
}}
14731473
wasmtesting.MakeInstantiable(&mockWasmVM)
@@ -1733,7 +1733,7 @@ func TestPinCode(t *testing.T) {
17331733
k := keepers.WasmKeeper
17341734

17351735
var capturedChecksums []wasmvm.Checksum
1736-
mock := wasmtesting.MockWasmer{PinFn: func(checksum wasmvm.Checksum) error {
1736+
mock := wasmtesting.MockWasmEngine{PinFn: func(checksum wasmvm.Checksum) error {
17371737
capturedChecksums = append(capturedChecksums, checksum)
17381738
return nil
17391739
}}
@@ -1760,7 +1760,7 @@ func TestUnpinCode(t *testing.T) {
17601760
k := keepers.WasmKeeper
17611761

17621762
var capturedChecksums []wasmvm.Checksum
1763-
mock := wasmtesting.MockWasmer{
1763+
mock := wasmtesting.MockWasmEngine{
17641764
PinFn: func(checksum wasmvm.Checksum) error {
17651765
return nil
17661766
},
@@ -1794,7 +1794,7 @@ func TestInitializePinnedCodes(t *testing.T) {
17941794
k := keepers.WasmKeeper
17951795

17961796
var capturedChecksums []wasmvm.Checksum
1797-
mock := wasmtesting.MockWasmer{PinFn: func(checksum wasmvm.Checksum) error {
1797+
mock := wasmtesting.MockWasmEngine{PinFn: func(checksum wasmvm.Checksum) error {
17981798
capturedChecksums = append(capturedChecksums, checksum)
17991799
return nil
18001800
}}
@@ -1822,7 +1822,7 @@ func TestInitializePinnedCodes(t *testing.T) {
18221822

18231823
func TestPinnedContractLoops(t *testing.T) {
18241824
var capturedChecksums []wasmvm.Checksum
1825-
mock := wasmtesting.MockWasmer{PinFn: func(checksum wasmvm.Checksum) error {
1825+
mock := wasmtesting.MockWasmEngine{PinFn: func(checksum wasmvm.Checksum) error {
18261826
capturedChecksums = append(capturedChecksums, checksum)
18271827
return nil
18281828
}}
@@ -1948,7 +1948,7 @@ func TestNewDefaultWasmVMContractResponseHandler(t *testing.T) {
19481948
func TestReply(t *testing.T) {
19491949
ctx, keepers := CreateTestInput(t, false, AvailableCapabilities)
19501950
k := keepers.WasmKeeper
1951-
var mock wasmtesting.MockWasmer
1951+
var mock wasmtesting.MockWasmEngine
19521952
wasmtesting.MakeInstantiable(&mock)
19531953
example := SeedNewContractInstance(t, ctx, keepers, &mock)
19541954

@@ -2017,7 +2017,7 @@ func TestReply(t *testing.T) {
20172017
func TestQueryIsolation(t *testing.T) {
20182018
ctx, keepers := CreateTestInput(t, false, AvailableCapabilities)
20192019
k := keepers.WasmKeeper
2020-
var mock wasmtesting.MockWasmer
2020+
var mock wasmtesting.MockWasmEngine
20212021
wasmtesting.MakeInstantiable(&mock)
20222022
example := SeedNewContractInstance(t, ctx, keepers, &mock)
20232023
WithQueryHandlerDecorator(func(other WasmVMQueryHandler) WasmVMQueryHandler {

x/wasm/keeper/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ func (f postOptsFn) apply(keeper *Keeper) {
2626

2727
// WithWasmEngine is an optional constructor parameter to replace the default wasmVM engine with the
2828
// given one.
29-
func WithWasmEngine(x types.WasmerEngine) Option {
29+
func WithWasmEngine(x types.WasmEngine) Option {
3030
return optsFn(func(k *Keeper) {
3131
k.wasmVM = x
3232
})
3333
}
3434

3535
// WithWasmEngineDecorator is an optional constructor parameter to decorate the default wasmVM engine.
36-
func WithWasmEngineDecorator(d func(old types.WasmerEngine) types.WasmerEngine) Option {
36+
func WithWasmEngineDecorator(d func(old types.WasmEngine) types.WasmEngine) Option {
3737
return postOptsFn(func(k *Keeper) {
3838
k.wasmVM = d(k.wasmVM)
3939
})

x/wasm/keeper/options_test.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package keeper
22

33
import (
4-
"github.com/prometheus/client_golang/prometheus"
54
"reflect"
65
"testing"
76

7+
"github.com/prometheus/client_golang/prometheus"
8+
89
wasmvm "github.com/CosmWasm/wasmvm"
910
"github.com/stretchr/testify/assert"
1011
"github.com/stretchr/testify/require"
@@ -26,10 +27,10 @@ func TestConstructorOptions(t *testing.T) {
2627
isPostOpt bool
2728
}{
2829
"wasm engine": {
29-
srcOpt: WithWasmEngine(&wasmtesting.MockWasmer{}),
30+
srcOpt: WithWasmEngine(&wasmtesting.MockWasmEngine{}),
3031
verify: func(t *testing.T, k Keeper) {
3132
t.Helper()
32-
assert.IsType(t, &wasmtesting.MockWasmer{}, k.wasmVM)
33+
assert.IsType(t, &wasmtesting.MockWasmEngine{}, k.wasmVM)
3334
},
3435
},
3536
"vm cache metrics": {
@@ -42,13 +43,13 @@ func TestConstructorOptions(t *testing.T) {
4243
isPostOpt: true,
4344
},
4445
"decorate wasmvm": {
45-
srcOpt: WithWasmEngineDecorator(func(old types.WasmerEngine) types.WasmerEngine {
46+
srcOpt: WithWasmEngineDecorator(func(old types.WasmEngine) types.WasmEngine {
4647
require.IsType(t, &wasmvm.VM{}, old)
47-
return &wasmtesting.MockWasmer{}
48+
return &wasmtesting.MockWasmEngine{}
4849
}),
4950
verify: func(t *testing.T, k Keeper) {
5051
t.Helper()
51-
assert.IsType(t, &wasmtesting.MockWasmer{}, k.wasmVM)
52+
assert.IsType(t, &wasmtesting.MockWasmEngine{}, k.wasmVM)
5253
},
5354
isPostOpt: true,
5455
},

x/wasm/keeper/proposal_integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ func TestPinCodesProposal(t *testing.T) {
654654
ctx, keepers := CreateTestInput(t, false, "staking")
655655
wasmKeeper := keepers.WasmKeeper
656656

657-
mock := wasmtesting.MockWasmer{
657+
mock := wasmtesting.MockWasmEngine{
658658
StoreCodeFn: wasmtesting.NoOpStoreCodeFn,
659659
AnalyzeCodeFn: wasmtesting.WithoutIBCAnalyzeFn,
660660
}
@@ -745,7 +745,7 @@ func TestUnpinCodesProposal(t *testing.T) {
745745
ctx, keepers := CreateTestInput(t, false, "staking")
746746
wasmKeeper := keepers.WasmKeeper
747747

748-
mock := wasmtesting.MockWasmer{
748+
mock := wasmtesting.MockWasmEngine{
749749
StoreCodeFn: wasmtesting.NoOpStoreCodeFn,
750750
AnalyzeCodeFn: wasmtesting.WithoutIBCAnalyzeFn,
751751
}
@@ -835,7 +835,7 @@ func TestUpdateInstantiateConfigProposal(t *testing.T) {
835835
ctx, keepers := CreateTestInput(t, false, "staking")
836836
wasmKeeper := keepers.WasmKeeper
837837

838-
mock := wasmtesting.MockWasmer{
838+
mock := wasmtesting.MockWasmEngine{
839839
StoreCodeFn: wasmtesting.NoOpStoreCodeFn,
840840
AnalyzeCodeFn: wasmtesting.WithoutIBCAnalyzeFn,
841841
}

x/wasm/keeper/querier_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func TestQuerySmartContractPanics(t *testing.T) {
192192
}
193193
for msg, spec := range specs {
194194
t.Run(msg, func(t *testing.T) {
195-
keepers.WasmKeeper.wasmVM = &wasmtesting.MockWasmer{QueryFn: func(checksum wasmvm.Checksum, env wasmvmtypes.Env, queryMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) ([]byte, uint64, error) {
195+
keepers.WasmKeeper.wasmVM = &wasmtesting.MockWasmEngine{QueryFn: func(checksum wasmvm.Checksum, env wasmvmtypes.Env, queryMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) ([]byte, uint64, error) {
196196
spec.doInContract()
197197
return nil, 0, nil
198198
}}

0 commit comments

Comments
 (0)