Compare commits
9 Commits
74ab1657f7
...
7cdd8f1fd0
| Author | SHA1 | Date | |
|---|---|---|---|
| 7cdd8f1fd0 | |||
| fb3ac34ed3 | |||
| 096ce30728 | |||
| b4b5a57390 | |||
| 5f2ab48b9a | |||
| 1205a7c681 | |||
| 97d989bc04 | |||
| ffbf0b8966 | |||
| 92f3d84815 |
@@ -141,7 +141,8 @@ class PoAProposer:
|
|||||||
max_txs = self._config.max_txs_per_block
|
max_txs = self._config.max_txs_per_block
|
||||||
max_bytes = self._config.max_block_size_bytes
|
max_bytes = self._config.max_block_size_bytes
|
||||||
pending_txs = mempool.drain(max_txs, max_bytes, self._config.chain_id)
|
pending_txs = mempool.drain(max_txs, max_bytes, self._config.chain_id)
|
||||||
|
self._logger.info(f"[PROPOSE] drained {len(pending_txs)} txs from mempool, chain={self._config.chain_id}")
|
||||||
|
|
||||||
# Process transactions and update balances
|
# Process transactions and update balances
|
||||||
processed_txs = []
|
processed_txs = []
|
||||||
for tx in pending_txs:
|
for tx in pending_txs:
|
||||||
|
|||||||
1866
poetry.lock
generated
1866
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -147,7 +147,7 @@ dev = [
|
|||||||
"black==24.3.0",
|
"black==24.3.0",
|
||||||
"isort==8.0.1",
|
"isort==8.0.1",
|
||||||
"ruff==0.15.5",
|
"ruff==0.15.5",
|
||||||
"mypy==1.8.0",
|
"mypy>=1.19.1,<2.0.0",
|
||||||
"bandit==1.7.5",
|
"bandit==1.7.5",
|
||||||
"types-requests==2.31.0",
|
"types-requests==2.31.0",
|
||||||
"types-setuptools==69.0.0",
|
"types-setuptools==69.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user