Fix old contract naming in integration tests
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user