|
|
@ -17,9 +17,6 @@ import ( |
|
|
|
// Tests that any initial state given in genesis has made it into the app.
|
|
|
|
func TestApp_InitialState(t *testing.T) { |
|
|
|
testNode(t, func(t *testing.T, node e2e.Node) { |
|
|
|
if node.Stateless() { |
|
|
|
return |
|
|
|
} |
|
|
|
if len(node.Testnet.InitialState) == 0 { |
|
|
|
return |
|
|
|
} |
|
|
@ -39,10 +36,6 @@ func TestApp_InitialState(t *testing.T) { |
|
|
|
// block and the node sync status.
|
|
|
|
func TestApp_Hash(t *testing.T) { |
|
|
|
testNode(t, func(t *testing.T, node e2e.Node) { |
|
|
|
if node.Mode == e2e.ModeSeed { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
client, err := node.Client() |
|
|
|
require.NoError(t, err) |
|
|
|
info, err := client.ABCIInfo(ctx) |
|
|
@ -64,10 +57,6 @@ func TestApp_Hash(t *testing.T) { |
|
|
|
// Tests that we can set a value and retrieve it.
|
|
|
|
func TestApp_Tx(t *testing.T) { |
|
|
|
testNode(t, func(t *testing.T, node e2e.Node) { |
|
|
|
if node.Mode == e2e.ModeSeed { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
client, err := node.Client() |
|
|
|
require.NoError(t, err) |
|
|
|
|
|
|
@ -104,6 +93,5 @@ func TestApp_Tx(t *testing.T) { |
|
|
|
require.NoError(t, err) |
|
|
|
assert.Equal(t, key, string(abciResp.Response.Key)) |
|
|
|
assert.Equal(t, value, string(abciResp.Response.Value)) |
|
|
|
|
|
|
|
}) |
|
|
|
} |