Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
co-authored by
Facundo Medica
parent
4762a2fa7d
commit
8295e4a3e0
@@ -60,7 +60,7 @@ func TestInitApp(t *testing.T) {
|
||||
require.Equal(t, []byte("bar"), qres.Value)
|
||||
}
|
||||
|
||||
func TestFinalizeBlock(t *testing.T) {
|
||||
func TestDeliverTx(t *testing.T) {
|
||||
app := SetupApp(t)
|
||||
|
||||
key := "my-special-key"
|
||||
@@ -72,13 +72,6 @@ func TestFinalizeBlock(t *testing.T) {
|
||||
tx := NewTx(key, value, randomAccounts[0].Address)
|
||||
txBytes := tx.GetSignBytes()
|
||||
|
||||
_, err := app.ProcessProposal(&abci.RequestProcessProposal{
|
||||
Hash: []byte("apphash"),
|
||||
Height: 1,
|
||||
Txs: [][]byte{txBytes},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
res, err := app.FinalizeBlock(&abci.RequestFinalizeBlock{
|
||||
Hash: []byte("apphash"),
|
||||
Height: 1,
|
||||
|
||||
Reference in New Issue
Block a user