Some checks failed
CodeQL / Analyze (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
Buf-Push / push (push) Has been cancelled
43 lines
1.4 KiB
Go
43 lines
1.4 KiB
Go
//go:build !cgo || nolink_libwasmvm
|
|
|
|
package keeper
|
|
|
|
import (
|
|
storetypes "cosmossdk.io/core/store"
|
|
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
|
|
"github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
|
)
|
|
|
|
// NewKeeperWithVM creates a new Keeper instance with the provided Wasm VM.
|
|
// This constructor function is used when binaries are compiled with cgo disabled or the
|
|
// custom build directive: nolink_libwasmvm.
|
|
// This function is intended to panic and notify users that 08-wasm keeper functionality is not available.
|
|
func NewKeeperWithVM(
|
|
_ codec.BinaryCodec,
|
|
_ storetypes.KVStoreService,
|
|
_ types.ClientKeeper,
|
|
_ string,
|
|
_ types.WasmEngine,
|
|
_ types.QueryRouter,
|
|
_ ...Option,
|
|
) Keeper {
|
|
panic("not implemented, please build with cgo enabled or nolink_libwasmvm disabled")
|
|
}
|
|
|
|
// NewKeeperWithConfig creates a new Keeper instance with the provided Wasm configuration.
|
|
// This constructor function is used when binaries are compiled with cgo disabled or the
|
|
// custom build directive: nolink_libwasmvm.
|
|
// This function is intended to panic and notify users that 08-wasm keeper functionality is not available.
|
|
func NewKeeperWithConfig(
|
|
_ codec.BinaryCodec,
|
|
_ storetypes.KVStoreService,
|
|
_ types.ClientKeeper,
|
|
_ string,
|
|
_ types.WasmConfig,
|
|
_ types.QueryRouter,
|
|
_ ...Option,
|
|
) Keeper {
|
|
panic("not implemented, please build with cgo enabled or nolink_libwasmvm disabled")
|
|
}
|