Skip to content

Commit

Permalink
fix oracle keeper mock for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwtalley committed Jun 20, 2024
1 parent 846da4d commit e30b56b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/oracle/keeper/mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ import (
type MockWasmServer struct {
}

func (m MockWasmServer) BuildAddress(ctx context.Context, request *wasmtypes.QueryBuildAddressRequest) (*wasmtypes.QueryBuildAddressResponse, error) {
return nil, nil
}

func (k Keeper) WithWasmQueryServer(server wasmtypes.QueryServer) Keeper {
k.wasmQueryServer = server
return k
Expand Down

0 comments on commit e30b56b

Please sign in to comment.