Important: add iterator feature support
This commit is contained in:
@@ -355,7 +355,7 @@ func NewWasmApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b
|
||||
|
||||
// The last arguments can contain custom message handlers, and custom query handlers,
|
||||
// if we want to allow any custom callbacks
|
||||
supportedFeatures := "staking,stargate"
|
||||
supportedFeatures := "iterator,staking,stargate"
|
||||
app.wasmKeeper = wasm.NewKeeper(
|
||||
appCodec,
|
||||
keys[wasm.StoreKey],
|
||||
|
||||
@@ -35,7 +35,7 @@ func init() {
|
||||
|
||||
var hackatomWasm []byte
|
||||
|
||||
const SupportedFeatures = "staking,stargate"
|
||||
const SupportedFeatures = "iterator,staking,stargate"
|
||||
|
||||
func TestNewKeeper(t *testing.T) {
|
||||
_, keepers := CreateTestInput(t, false, SupportedFeatures)
|
||||
|
||||
@@ -31,7 +31,7 @@ type testData struct {
|
||||
}
|
||||
|
||||
func setupTest(t *testing.T) testData {
|
||||
ctx, keepers := CreateTestInput(t, false, "staking,stargate")
|
||||
ctx, keepers := CreateTestInput(t, false, "iterator,staking,stargate")
|
||||
cdc := keeper.MakeTestCodec(t)
|
||||
data := testData{
|
||||
module: NewAppModule(cdc, keepers.WasmKeeper, keepers.StakingKeeper),
|
||||
|
||||
Reference in New Issue
Block a user