From 989830e0734536eb363c6b9ddcfc39c782eb117f Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Mon, 5 Oct 2020 22:31:39 +0200 Subject: [PATCH] Fix old contract naming in integration tests --- lcd_test/wasm_test.go | 2 +- x/wasm/client/utils/utils_test.go | 2 +- x/wasm/module_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lcd_test/wasm_test.go b/lcd_test/wasm_test.go index 60071ea835f..40fbb09ad53 100644 --- a/lcd_test/wasm_test.go +++ b/lcd_test/wasm_test.go @@ -23,7 +23,7 @@ func TestWasmStoreCode(t *testing.T) { require.NoError(t, err) defer cleanup() - wasmCode, err := ioutil.ReadFile("../x/wasm/internal/keeper/testdata/contract.wasm") + wasmCode, err := ioutil.ReadFile("../x/wasm/internal/keeper/testdata/hackatom.wasm") require.NoError(t, err) var ( diff --git a/x/wasm/client/utils/utils_test.go b/x/wasm/client/utils/utils_test.go index 0594a9a9637..b6075d1b270 100644 --- a/x/wasm/client/utils/utils_test.go +++ b/x/wasm/client/utils/utils_test.go @@ -7,7 +7,7 @@ import ( ) func GetTestData() ([]byte, []byte, []byte, error) { - wasmCode, err := ioutil.ReadFile("../../internal/keeper/testdata/contract.wasm") + wasmCode, err := ioutil.ReadFile("../../internal/keeper/testdata/hackatom.wasm") if err != nil { return nil, nil, nil, err diff --git a/x/wasm/module_test.go b/x/wasm/module_test.go index 03ecff3b4ca..bd96d3b8d3c 100644 --- a/x/wasm/module_test.go +++ b/x/wasm/module_test.go @@ -63,7 +63,7 @@ func mustLoad(path string) []byte { var ( key1, pub1, addr1 = keyPubAddr() - testContract = mustLoad("./internal/keeper/testdata/contract.wasm") + testContract = mustLoad("./internal/keeper/testdata/hackatom.wasm") maskContract = mustLoad("./internal/keeper/testdata/reflect.wasm") oldContract = mustLoad("./testdata/escrow_0.7.wasm") )