Commit Graph

16128 Commits

Author SHA1 Message Date
dependabot[bot]
f85d19aa8f
build(deps): bump actions/download-artifact in /.github/workflows (#2679)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
2024-09-04 16:12:07 +08:00
zzzckck
0dab664d98
txpool: apply miner's gasceil to txpool (#2680)
apply `Eth.Miner.GasCeil` to TxPool even the node did not enable `--mine` option
Otherwise, there could be accmulated pending transactions in txpool.
Take an example:
- Currently, BSC testnet's block gaslimit is 70M, as 20M gas is reserved for
  SystemTxs, the maximum acceptable GasLimit for transaction is 50M.
- TxPool recevied a transaction with GasLimit 60M, it would be accepted in TxPool but it
  will never be accepted by validators. Such kinds of transactions will be kept in txpool
  and gradually make the txpool overflowed
2024-09-04 16:02:27 +08:00
emailtovamos
706a24eb2c pool: lint fix 2024-09-04 04:46:45 +01:00
Dike.w
094519d058
beaconserver: simulated beacon api server for op-stack (#2678)
only some necessary apis are implemented.
2024-09-04 09:39:01 +08:00
emailtovamos
5f398db90a pool: pool2 can have 0 size 2024-09-03 16:57:21 +01:00
emailtovamos
8e6833cec4 pool: bug fix and test fix 2024-09-03 16:39:35 +01:00
emailtovamos
53042e15d7 buffer: make private 2024-09-03 15:08:30 +01:00
emailtovamos
aeec0c7129 pool: remove unused criticalpathpool 2024-09-03 13:03:10 +01:00
emailtovamos
76d157d08b pool: set transfer time in config 2024-09-03 12:42:11 +01:00
emailtovamos
0f8a1b5c5a pool: test for transfer 2024-09-03 12:41:54 +01:00
zzzckck
d3450f13c9
log: add some p2p log (#2677) 2024-09-03 14:27:53 +08:00
emailtovamos
16a2a53635 Merge remote-tracking branch 'origin/develop' into txpool-new 2024-09-02 15:03:44 +01:00
emailtovamos
e7d0a16bc4 pool: fix test as now by default pool2 and pool3 aren't empty 2024-08-30 13:36:09 +01:00
emailtovamos
70ece9355a pool: flags for pool2 and 3 capacity 2024-08-29 16:10:59 +01:00
emailtovamos
069eaf22f7 pool: proper use of AsyncSendPooledTransactionHashes 2024-08-29 15:57:30 +01:00
emailtovamos
e45e7eb9c6 pool: include static in flatten 2024-08-29 08:03:45 +01:00
emailtovamos
bdb4cc2acd pool: lint 2024-08-29 06:49:28 +01:00
emailtovamos
ebd8f590a3 pool: fix all old tests 2024-08-28 15:52:41 +01:00
emailtovamos
6673f3e75a pool: fix TestUnderpricingDynamicFee based on new pool 2024-08-28 15:49:07 +01:00
emailtovamos
40dcfcd776 pool: cleanup debug logs 2024-08-28 14:29:15 +01:00
emailtovamos
0692a99ea9 pool: fix the TestTransactionFutureAttack test 2024-08-28 14:26:16 +01:00
zzzckck
75af65dbf2
Merge pull request #2669 from bnb-chain/develop
Draft release v1.4.14
2024-08-27 15:00:23 +08:00
emailtovamos
253d9a566b pool: some cleanups 2024-08-27 07:58:38 +01:00
emailtovamos
a1a25e91a4 pool: TestDualHeapEviction fully pass 2024-08-27 07:38:02 +01:00
emailtovamos
9d7298f0c1 pool: TestDualHeapEviction passing partly 2024-08-27 07:33:23 +01:00
emailtovamos
6daecfb105 pool: bugfix:always drop drop and pool2 size 2024-08-27 07:24:00 +01:00
zzzckck
959850218c
release: prepare for release v1.4.14 (#2668) 2024-08-27 11:23:04 +08:00
zzzckck
af0204bd68
faucet: bump and resend faucet transaction if it has been pending for a while (#2665) 2024-08-26 16:09:34 +08:00
emailtovamos
ed2d1d7f8f pool: enqueue in pool2 & drop properly 2024-08-25 19:24:20 +01:00
emailtovamos
94a60a9006 pool: add underpriced to pool2 or 3 2024-08-23 09:11:59 +01:00
zzzckck
ec2d7e0228
config: setup Mainnet 2 hardfork date: HaberFix & Bohr (#2661)
expected hard fork date:
    Mainnet-HaberFix: 2024-09-26 02:02:00 AM UTC
    Mainnet-Bohr:     2024-09-26 02:20:00 AM UTC
2024-08-23 13:59:56 +08:00
Dike.w
c46d7e8bd8
ethclient: fix BlobSidecars api (#2656) 2024-08-22 11:07:05 +08:00
emailtovamos
d03f7e5e94 pool: initialise pool3 slots 2024-08-21 15:51:21 +01:00
emailtovamos
6b4e16ba7b pool: make slots config 2024-08-21 15:50:59 +01:00
Chris Li
6cb4be4ebf
fix: when dataset is pruned and pruneancient is set, the offset is error (#2657) 2024-08-21 15:37:42 +08:00
buddho
3bd9a2395c
core: improve readability of the fork choice logic (#2658) 2024-08-20 23:06:49 +08:00
emailtovamos
5bb78b34be pool: minor refactor 2024-08-20 07:46:22 +01:00
buddho
5d19f2182b
internal/ethapi: make GetFinalizedHeader monotonically increasing (#2655) 2024-08-20 11:51:32 +08:00
buddho
99a2dd5ed9
internal/debug: remove memsize (#2649) 2024-08-15 11:38:14 +08:00
easyfold
3adcfabb41
core/systemcontracts: use vm.StateDB in UpgradeBuildInSystemContract (#2578) 2024-08-13 17:06:07 +08:00
buddho
b1f0a3c79b
core: fix cache for receipts (#2643) 2024-08-13 14:02:38 +08:00
zzzckck
26a4d4fda6
Merge pull request #2633 from bnb-chain/develop
Draft release v1.4.13
v1.4.13
2024-08-08 16:38:42 +08:00
buddho
e988d1574e
consensus/parlia: support recovery when snapshot of parlia gone in disk (#2587) 2024-08-08 14:53:51 +08:00
zzzckck
2cce9dd3de
release: prepare for release v1.4.13 (#2632) 2024-08-07 17:53:24 +08:00
zzzckck
b7e678e93d
config: setup Testnet Bohr hardfork date (#2634)
expected Bohr hard fork date:
- Testnet: 2024-08-20 01:23:16 AM UTC
- Mainnet: it is not determined yet, target Later Sep 2024
2024-08-07 16:24:28 +08:00
zzzckck
b61128bd7b
utils: add GetTopAddr to analyse large traffic (#2629) 2024-08-05 16:48:33 +08:00
buddho
df16ab95ab
Makefile: use docker compose v2 instead of v1 (#2628) 2024-08-05 15:15:46 +08:00
emailtovamos
5faf41359a pool: add discarded ones to pool3 by default. 2024-08-02 13:05:05 +01:00
emailtovamos
d0d6a272f0 pool: buffer test and size logic 2024-08-02 13:03:35 +01:00
emailtovamos
4369e3d997 pool: refactor and bugfix 2024-08-01 15:01:28 +01:00