Fix old contract naming in integration tests

This commit is contained in:
Ethan Frey
2020-10-05 22:31:39 +02:00
parent cc8f07563a
commit 989830e073
3 changed files with 3 additions and 3 deletions

View File

@@ -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 (

View File

@@ -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

View File

@@ -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")
)