feat(BB): Main BB testing (Mempool + ABCI) (#169)

This commit is contained in:
David Terpay
2023-06-08 15:46:24 +00:00
committed by GitHub
parent cfe2147d52
commit 38f2ae20f6
8 changed files with 1571 additions and 24 deletions
+3 -1
View File
@@ -1032,11 +1032,11 @@ func (s *IntegrationTestSuite) TestFreeLane() {
tx := s.createMsgDelegateTx(accounts[0], validator.OperatorAddress, defaultStakeAmount, 0, 1000)
// Broadcast the transaction
s.waitForABlock()
s.broadcastTx(tx, 0)
// Wait for a block to be created
s.waitForABlock()
s.waitForABlock()
// Ensure that the transaction was executed correctly
balanceAfterFreeTx := s.queryBalanceOf(accounts[0].Address.String(), app.BondDenom)
@@ -1058,6 +1058,7 @@ func (s *IntegrationTestSuite) TestFreeLane() {
normalTx := s.createMsgSendTx(accounts[1], accounts[2].Address.String(), defaultSendAmountCoins, 0, 1000)
// Broadcast the transactions
s.waitForABlock()
s.broadcastTx(freeTx, 0)
s.broadcastTx(normalTx, 0)
@@ -1098,6 +1099,7 @@ func (s *IntegrationTestSuite) TestFreeLane() {
freeTx2 := s.createMsgDelegateTx(accounts[1], validator.OperatorAddress, defaultStakeAmount, 0, 1000)
// Broadcast the transactions
s.waitForABlock()
s.broadcastTx(freeTx, 0)
s.broadcastTx(freeTx2, 0)