Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't increment code ID in e2e before running #3635

Merged
merged 2 commits into from
Dec 6, 2022
Merged
Changes from 1 commit
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
7 changes: 1 addition & 6 deletions tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ func copyFile(a, b string) error {
}

func (s *IntegrationTestSuite) TestIBCTokenTransferRateLimiting() {

// TODO: need to upload the contract in setup for this test to work.
s.T().Skip("Skipping IBC rate limiting tests")

if s.skipIBC {
s.T().Skip("Skipping IBC tests")
}
Expand Down Expand Up @@ -165,8 +161,7 @@ func (s *IntegrationTestSuite) TestIBCTokenTransferRateLimiting() {
fmt.Println(wd, projectDir)
err = copyFile(projectDir+"/x/ibc-rate-limit/bytecode/rate_limiter.wasm", wd+"/scripts/rate_limiter.wasm")
s.NoError(err)
// set LatestCodeId to 1 since we upload a contract in the upgrade handler for v13
chainA.LatestCodeId = 1

node.StoreWasmCode("rate_limiter.wasm", initialization.ValidatorWalletName)
chainA.LatestCodeId += 1
czarcas7ic marked this conversation as resolved.
Show resolved Hide resolved
node.InstantiateWasmContract(
Expand Down