refactor: separate v1 and v2 (VE) (#142)

This commit is contained in:
Aleksandr Bezobchuk
2023-05-17 15:22:30 +00:00
committed by GitHub
parent 0e5519baee
commit 5fa7309ca5
13 changed files with 1229 additions and 169 deletions
+5 -4
View File
@@ -12,13 +12,14 @@ func (s *IntegrationTestSuite) TestGetBuilderParams() {
s.Require().NotNil(params)
}
// TestBundles tests the execution of various auction bids. There are a few invarients that are
// tested:
// TestBundles tests the execution of various auction bids. There are a few
// invariants that are tested:
//
// 1. The order of transactions in a bundle is preserved when bids are valid.
// 2. All transactions execute as expected.
// 3. The balance of the escrow account should be updated correctly.
// 4. Top of block bids will be included in block proposals before other transactions that are
// included in the same block.
// 4. Top of block bids will be included in block proposals before other transactions
// that are included in the same block.
func (s *IntegrationTestSuite) TestBundles() {
// Create the accounts that will create transactions to be included in bundles
initBalance := sdk.NewInt64Coin(app.BondDenom, 10000000000)