Commit Graph

2098 Commits

Author SHA1 Message Date
larry.lx
bfe000bd5d fix: disable flag --pipecommit 2023-12-04 19:06:23 +08:00
larry.lx
fd1fb55511 fork: use hard fork name Hertzfix 2023-12-04 19:06:23 +08:00
larry.lx
986380b634 fork: add hot fix hardfork 2023-12-04 19:06:23 +08:00
larry.lx
bdd953b4e8 fix: remove sharedPool 2023-12-04 19:06:23 +08:00
lx
6a24b47fa8 trie: keep trie prefetch during validation phase (#1954) 2023-11-01 14:40:51 +08:00
NathanBSC
6af6162297
vote: check consensus key match vote key before voting (#1858) 2023-09-08 10:20:07 +08:00
Eric
a0cb4d0377
eth/tracers: trace system tx should add intrinsicGas (#1855) 2023-09-07 16:46:54 +08:00
lx
e2bf0f3fbd
fix: lagging nodes failed to sync (#1829)
FastFinality puts more infor into the header.extra field to keep vote information.
For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before.
So the hardcoded 700 bytes for header could be no longer enough, increase it by
2 times would be enough.

this bug could cause P2P sync failure for nodes that are lagging behind, since they
would request access of ancient db, and GetBlockHeaders could be failed.
2023-08-21 10:31:18 +08:00
NathanBSC
522d4cd880
vote: backup validator sync votes from corresponding mining validator (#1778) 2023-08-02 14:50:32 +08:00
NathanBSC
4525cff920
fix: exclude same votes when doing malicious voting check (#1784) 2023-08-02 14:47:35 +08:00
alexlucaci
d565b9cb12
Merge pull request #1725 from bnb-chain/uncomment-log-trace
Uncomment log trace
2023-06-30 18:18:39 +03:00
lx
8a430c06a9
docs: some url update (#1742) 2023-06-30 12:06:56 +08:00
Alex Lucaci
dde94542c1 fix: uncommented log.Trace while also tracking the sender again 2023-06-20 13:30:15 +03:00
KeefeL
a27ece8d0a
lightclient: fix validator set change (#1645) 2023-06-20 18:04:18 +08:00
Mister-EA
cd44fc40ff
Merge pull request #1704 from bnb-chain/default-config-reflection
core: use reflection to set default block values
2023-06-15 17:26:35 +02:00
NathanBSC
486e019880
core/statedb: always clear out access list when setting a new one (#1702)
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-06-15 17:09:27 +08:00
Mister-EA
73397217e2 core: use reflection to set default block values 2023-06-15 10:31:42 +02:00
Sunny
2cd0387cbe test: Add EIP-2718 unit test for parlia ChainConfig 2023-06-13 18:35:32 +08:00
lx
3dca640303
config: use default fork config if not specified in config.toml (#1654) 2023-06-13 14:14:45 +08:00
Mister-EA
15c30b73f8
Merge pull request #1676 from bnb-chain/eip3529-tests-parlia
EIP-3529 (BEP-212) Unit tests for Parlia Config
2023-06-12 14:11:24 +02:00
Mister-EA
b1fbb294ea eip3529tests: refactor tests 2023-06-09 12:27:31 +02:00
NathanBSC
ff32314de0
fix: not double GasLimit of block upon London upgrade (#1681) 2023-06-08 17:32:07 +08:00
yutianwu
78ad049641
fix: check integer overflow when decode crosschain payload (#1679) 2023-06-08 14:40:10 +08:00
NathanBSC
cf9efe5761
fix: voting can only be enabled when mining (#1671) 2023-06-08 14:37:24 +08:00
Mister-EA
a97f713286 parlia_tests: update comment 2023-06-07 16:11:30 +02:00
Mister-EA
4afd224350 core: add eip3529 tests for parlia config 2023-06-07 14:16:01 +02:00
Ng Wei Han
e802c737ab
consensus, core/rawdb, miner: downgrade logs (#1662) 2023-05-31 22:01:28 +08:00
NathanBSC
86446edf55
feat: add a tool for submitting evidence of malicious voting (#1660)
* feat: add a tool for submitting evidence of malicious voting
2023-05-31 14:36:31 +08:00
NathanBSC
3d8753cae6 fix: remove naturally finality 2023-05-30 09:51:31 +08:00
Mister-EA
1036dc70be
core: port several London EIPs on BSC(#1422)
Here is the list:
 a.BEP-227: Implement EIP-3198: BASEFEE opcode
 b.BEP-226: Implement EIP-1559 with base fee of 0
 c.BEP-228: Implement EIP-3541: Prevent deploying contracts starting with 0xEF
 d.BEP-212: Implement EIP-3529: Reduction in Refunds
2023-05-25 17:34:04 +08:00
sunny2022da
08eab8b928
feature: Enable Berlin EIPs (#1608)
Enable following Berlin EIPs on BSC and introduce HertzBlock
** EIP-2565: ModExp Gas Cost
** EIP-2929: Gas cost increases for state access opcodes
** EIP-2718: Typed Transaction Envelope
** EIP-2930: Optional access lists
2023-05-19 21:32:10 +08:00
NathanBSC
bac626c39c
upgrade: avoid to modify RialtoGenesisHash when testing in rialtoNet (#1621) 2023-05-19 10:56:20 +08:00
NathanBSC
b0ad7428c2
feature: add malicious vote monitor (#1597) 2023-05-11 14:45:15 +08:00
NathanBSC
4cc78fd175
upgrade: update PlatoUpgrade contracts code (#1600) 2023-05-10 11:00:54 +08:00
Roshan
7e1590c928
upgrade: update PlatoUpgrade contracts code (#1592) 2023-05-08 17:27:40 +08:00
lmittmann
880535c730
eth/tracers, core/vm: remove time from trace output and tracing interface (#1488)
This removes the 'time' field from logs, as well as from the tracer interface. This change makes the trace output deterministic.  If a tracer needs the time they can measure it themselves. No need for evm to do this.

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-05-06 11:16:27 +08:00
Evgeny Kolyakov
f8e000309c
code: x = append(y) is equivalent to x = y (#866) 2023-05-06 10:43:44 +08:00
NathanBSC
daae7718a8
fix: support golang 1.20 by upgrading prysm to v4 (#1576) 2023-05-06 09:56:10 +08:00
Roshan
0359e063b0
upgrade: update PlatoUpgrade contracts code (#1574) 2023-05-05 19:03:57 +08:00
yutianwu
b801f291df
feat: remove supports for legacy proof type (#1573) 2023-05-05 17:06:10 +08:00
NathanBSC
5b75f597b4
fix: remove dynamic metric labels about fast finality (#1572) 2023-05-05 14:15:43 +08:00
NathanBSC
129bcfe7de
fix: memory leak of receivedVotes (#1516) 2023-04-24 14:53:51 +08:00
NathanBSC
fb0893a631
fix: all votes rejected for span voting caused by reorg (#1510)
* fix: all votes rejected for span voting caused by reorg

* fix: change internal for recover voting to 256 from 512
2023-04-24 14:28:28 +08:00
lx
0222ce7479
upgrade: rename hardfork to Luban & Plato (#1504) 2023-04-21 17:07:11 +08:00
lx
54be51fe05
upgrade: correct the typo the commit url (#1500) 2023-04-21 10:09:55 +08:00
zjubfd
3769f25b30
bep: update the bytecode of boneh fork after the contract release (#1493) 2023-04-20 22:28:25 +08:00
KeefeL
bbd4e9252f
BEP-221: implement cometBFT light block validation (#1463) 2023-04-18 15:51:26 +08:00
Satyajit Das
79e1554c21
genesis: add BEP174 changes to relayer contract (#1325)
Co-authored-by: Matus Kysel <matus.kysel@binance.com>
2023-04-18 14:58:53 +08:00
sunny2022da
6793e4b903
Revert "Implement 2 EIPS: limit and meter initcode and PUSH0 instructions (#1443)" (#1480)
This reverts commit b4f1cdffd55b7e27facec4d250009ad440d8ac74.

Revert because previous hardfork (berlin, london) need to be merged
first to avoid dependencies risk
2023-04-18 14:53:09 +08:00
Matus Kysel
3b4dda4aa9
Merge pull request #1357 from bnb-chain/eip4338-api
Integration API for EIP-4337 bundler with an L2 validator/sequencer
2023-04-18 08:09:32 +02:00