Skip to content

Commit

Permalink
fix(wasm)!: fix type interface conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Oct 4, 2024
1 parent 2ee5604 commit a27594a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/nexus/keeper/wasmer_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func NewWasmerEngine(inner wasmtypes.WasmerEngine, msgIDGenerator types.MsgIDGen
}

func getCtx(querier wasmvm.Querier) sdk.Context {
return querier.(wasmkeeper.QueryHandler).Ctx
return querier.(*wasmkeeper.QueryHandler).Ctx

Check warning on line 25 in x/nexus/keeper/wasmer_engine.go

View check run for this annotation

Codecov / codecov/patch

x/nexus/keeper/wasmer_engine.go#L25

Added line #L25 was not covered by tests
}

// Instantiate calls the inner engine and increments the transaction ID
Expand Down

0 comments on commit a27594a

Please sign in to comment.