Skip to content

Commit

Permalink
Shift run test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Aug 29, 2023
1 parent 2f5e9fb commit 759e3fd
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test/functional/feature_evm_miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ def setup(self):
)
self.nodes[0].generate(1)

def run_test(self):
self.setup()

# Multiple mempool fee replacement
self.mempool_block_limit()

# Test invalid tx in block creation
self.invalid_evm_tx_in_block_creation()

def mempool_block_limit(self):
abi, bytecode = EVMContract.from_file("Loop.sol", "Loop").compile()
compiled = self.nodes[0].w3.eth.contract(abi=abi, bytecode=bytecode)
Expand Down Expand Up @@ -279,6 +270,14 @@ def invalid_evm_tx_in_block_creation(self):
block_info = self.nodes[0].getblock(self.nodes[0].getbestblockhash(), 4)
assert_equal(len(block_info["tx"]) - 1, 20)

def run_test(self):
self.setup()

# Multiple mempool fee replacement
self.mempool_block_limit()

# Test invalid tx in block creation
self.invalid_evm_tx_in_block_creation()

if __name__ == "__main__":
EVMTest().main()

0 comments on commit 759e3fd

Please sign in to comment.