feat: Lane's with custom tx adapters (#239)

* greedy approach to lane verification

* docs

* base lane testing

* mev lane testing nits

* abci top level testing done

* network spamming in E2E

* string rep of escrow address

* nit

* nit

* nit v1.0.1

* removing logs from testing

* query test

* logging with tx info

* nits

* nit

* nit

* testing nit

---------

Co-authored-by: Alex Johnson <alex@skip.money>
This commit is contained in:
David Terpay
2023-11-28 13:51:42 -05:00
committed by GitHub
co-authored by Alex Johnson
parent 01a84b1cc5
commit be4465ae95
19 changed files with 444 additions and 98 deletions
+3 -2
View File
@@ -109,7 +109,8 @@ func (s *IntegrationTestSuite) SetupSubTest() {
// query height
height, err := s.chain.(*cosmos.CosmosChain).Height(context.Background())
require.NoError(s.T(), err)
WaitForHeight(s.T(), s.chain.(*cosmos.CosmosChain), height+1)
WaitForHeight(s.T(), s.chain.(*cosmos.CosmosChain), height+3)
s.T().Logf("reached height %d", height+2)
}
func (s *IntegrationTestSuite) TestQueryParams() {
@@ -1354,7 +1355,7 @@ func (s *IntegrationTestSuite) TestNetwork() {
}
})
amountToTest.Reset(5 * time.Minute)
amountToTest.Reset(3 * time.Minute)
s.Run("can produce blocks with all types of transactions", func() {
for {
select {
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"encoding/hex"
"encoding/json"
"io"
"math/rand"
"os"
"path"
"strings"
@@ -183,7 +184,7 @@ func (s *IntegrationTestSuite) CreateDummyFreeTx(
return Tx{
User: user,
Msgs: []sdk.Msg{delegateMsg},
GasPrice: 1000,
GasPrice: rand.Int63n(150000),
SequenceIncrement: sequenceOffset,
SkipInclusionCheck: true,
IgnoreChecks: true,