Skip to content

Commit

Permalink
Add test artifacts for interslothtest
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Jun 15, 2024
1 parent 5471cbe commit bcb9502
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/interslothtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: slothchain
SLOTHCHAIN_IMAGE_VERSION: latest # TODO: It would be better to get a specific version of the image

jobs:
build-docker-image:
Expand Down Expand Up @@ -53,4 +54,4 @@ jobs:
go-version: '1.22'

- name: Run interslothtest
run: SLOTHCHAIN_IMAGE_VERSION=latest make interslothtest # TODO: It would be better to get a specific version of the image
run: make interslothtest
2 changes: 1 addition & 1 deletion interslothtest/ics721/ics721_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (s *ICS721TestSuite) TestICS721() {
users := interchaintest.GetAndFundTestUsers(s.T(), s.Ctx, s.T().Name(), math.NewInt(10_000_000_000), s.Stargaze, s.Slothchain)
sgUser, slothUser := users[0], users[1]

nftSetup := s.DeployNFTSetup(sgUser, slothUser, "../../artifacts")
nftSetup := s.DeployNFTSetup(sgUser, slothUser, "../test-artifacts")

s.NoError(s.Relayer.StartRelayer(s.Ctx, s.RelayerExecRep, s.StargazeSlothPath))
s.NoError(testutil.WaitForBlocks(s.Ctx, 5, s.Stargaze, s.Slothchain))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (s *LocalInterslothchain) TestLocalInterChain() {
celestiaUser, err := interchaintest.GetAndFundTestUserWithMnemonic(s.Ctx, "user", mnemonic, math.NewInt(10_000_000_000), s.Celestia)
s.NoError(err)

nftSetup := s.DeployNFTSetup(sgUser, slothUser, "../artifacts")
nftSetup := s.DeployNFTSetup(sgUser, slothUser, "./test-artifacts")

s.NoError(s.Relayer.StartRelayer(s.Ctx, s.RelayerExecRep, s.StargazeSlothPath))
s.TT().Cleanup(
Expand Down
Binary file added interslothtest/test-artifacts/cw721_base.wasm
Binary file not shown.
Binary file added interslothtest/test-artifacts/ics721_base.wasm
Binary file not shown.

0 comments on commit bcb9502

Please sign in to comment.