mempool: v1 implementation (#6466)

This commit is contained in:
Aleksandr Bezobchuk
2021-06-01 11:17:45 -04:00
committed by GitHub
parent 4e06dfef8c
commit 1e4bc04cd6
42 changed files with 3323 additions and 736 deletions
+2 -1
View File
@@ -87,11 +87,12 @@ func TestApp_Tx(t *testing.T) {
hash := tx.Hash()
waitTime := 20 * time.Second
require.Eventuallyf(t, func() bool {
txResp, err := client.Tx(ctx, hash, false)
return err == nil && bytes.Equal(txResp.Tx, tx)
}, waitTime, time.Second,
"submitted tx wasn't committed after %v", waitTime,
"submitted tx %X wasn't committed after %v", hash, waitTime,
)
// NOTE: we don't test abci query of the light client