Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ COVERAGE_DIR := coverage
# that are not part of the first-party test suite).
USER_GNO_PKGS := $(patsubst %/gnomod.toml,./%/,$(shell find gno.land/p/onbloc gno.land/r/onbloc -name gnomod.toml | grep -v '/ignore/' | sort))
TEST_GNO_PKGS := $(if $(PKG),$(addprefix ./,$(patsubst ./%,%,$(PKG))),$(USER_GNO_PKGS))
SCENARIO_GNO_PKGS := $(patsubst %/gnomod.toml,./%/,$(shell find gno.land/r/onbloc/ibc/scenario -name gnomod.toml | grep -v '/ignore/' | sort))
SCENARIO_TEST_GNO_PKGS := $(if $(PKG),$(addprefix ./,$(patsubst ./%,%,$(PKG))),$(SCENARIO_GNO_PKGS))
GNO_TEST_FLAGS := -v$(if $(RUN), -run "$(RUN)")

help:
Expand Down Expand Up @@ -186,6 +188,12 @@ test: verify-gno vendor
gno test $(GNO_TEST_FLAGS) "$$pkg" || exit $$?; \
done

test-scenario: verify-gno vendor
@for pkg in $(SCENARIO_TEST_GNO_PKGS); do \
echo "==> gno test $(GNO_TEST_FLAGS) $$pkg"; \
gno test $(GNO_TEST_FLAGS) "$$pkg" || exit $$?; \
done

test-smoke: verify-gno
@gno test ./gno.land/p/core/_smoke/ -v

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module = "gno.land/r/onbloc/ibc/scenario/helper/realcometbls"
gno = "0.9"
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ func openZ35Channel(cur realm, connectionId types.ConnectionId, counterpartyChan
}

func BatchSend(cur realm, packet types.Packet) types.H256 {
stdtesting.SetRealm(stdtesting.NewCodeRealm(zkgm.ProductionImplPath()))
// The current model installs the v1 impl under this path; core.BatchSend is
// relayer-gated, so the caller must hold RELAYER (the rewritten filetests grant
// it to the admin before invoking BatchSend through this helper).
stdtesting.SetRealm(stdtesting.NewCodeRealm("gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm/v1"))
core.BatchSend(cross(cur), types.NewMsgBatchSend([]types.Packet{packet}))
stdtesting.SetRealm(stdtesting.NewCodeRealm("gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm/testing/realcometbls"))
stdtesting.SetRealm(stdtesting.NewCodeRealm("gno.land/r/onbloc/ibc/scenario/helper/realcometbls"))

return types.MustCommit(types.CommitPackets([]types.Packet{packet}))
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions gno.land/r/onbloc/ibc/scenario/ignore/testing/e2e/gnomod.toml

This file was deleted.

Loading
Loading