Commit Graph

13823 Commits

Author SHA1 Message Date
lx
b6274dd2df
Merge branch 'master' into develop 2023-04-24 20:13:54 +08:00
NathanBSC
129bcfe7de
fix: memory leak of receivedVotes (#1516) 2023-04-24 14:53:51 +08:00
NathanBSC
265dca1a20
fix: simplify update of attestation (#1514)
* fix: simplify update of attestation

* metrics: trace verifyVoteAttestationFailed and updateAttestationFailed
2023-04-24 14:47:17 +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
0146b070cb
upgrade: rename hardfork to Luban & Plato (#1505) 2023-04-21 18:11:32 +08:00
lx
0222ce7479
upgrade: rename hardfork to Luban & Plato (#1504) 2023-04-21 17:07:11 +08:00
lx
fd6f770c66
Merge pull request #1492 from bnb-chain/develop
release: draft release v1.2.0
2023-04-21 10:58:00 +08:00
lx
54be51fe05
upgrade: correct the typo the commit url (#1500) 2023-04-21 10:09:55 +08:00
lx
f5c2509216
Merge branch 'master' into develop 2023-04-20 23:06:34 +08:00
lx
b79df912a8
release: prepare for release v1.2.0 (#1495) 2023-04-20 23:04:45 +08:00
lx
5f4b125889
upgrade: block height of Boneh on testnet (#1490) 2023-04-20 22:46:54 +08:00
zjubfd
3769f25b30
bep: update the bytecode of boneh fork after the contract release (#1493) 2023-04-20 22:28:25 +08:00
Larry
2db1088cce
fix: a deadlock caused by bsc protocol handeshake timeout (#1484) 2023-04-19 16:19:14 +08:00
Larry
cbbe7de6d3
feature: remove diff protocol registration (#1486) 2023-04-19 15:34:33 +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
NathanBSC
d6b3a9a417
fix: improvements after testing fast finality (#1434) 2023-04-17 22:23:08 +08:00
Larry
52ff84fb63
release: prepare for release v1.1.23 (#1476) 2023-04-17 11:41:05 +08:00
Larry
48aaee69e9
Merge pull request #1474 from brilliant-lx/fix_waitgroup_master
release: prepare for release v1.1.23
v1.1.23
2023-04-17 11:40:38 +08:00
larry.lx
dbe1f20bad release: prepare for release v1.1.23 2023-04-16 18:52:17 +08:00
Larry
9d4f94fa45 fix: panic on using WaitGroup after it is freed (#1464) 2023-04-16 15:37:40 +08:00
Larry
2b0f56898d
fix: panic on using WaitGroup after it is freed (#1464) 2023-04-16 15:36:52 +08:00
Matus Kysel
39497e088a
ethapi: add basic test for sendcondtionaltrx 2023-04-14 15:23:43 +02:00
Matus Kysel
994daa1447
statedb: add function to get state trie root 2023-04-14 15:23:07 +02:00
Matus Kysel
f8c5f55652
ethapi: introduce tests for transaction options 2023-04-14 15:23:07 +02:00
Matus Kysel
26c69a15ba
internal/ethapi: cleaner designed and improved check 2023-04-14 15:23:07 +02:00
Matus Kysel
c0fd04db1e
internal/ethapi: implement API for EIP-4337 2023-04-14 15:23:07 +02:00
Leon
e4b6ab9ba3
cmd/faucet: clear reqs list when reorg to lower nonce (#1458) 2023-04-14 09:52:15 +08:00
sunny2022da
b4f1cdffd5
Implement 2 EIPS: limit and meter initcode and PUSH0 instructions (#1443)
* core/vm: deepcopy jumptable when enabling extra eips

When the interpreter is configured to use extra-eips,
this change makes it so that all the opcodes are deep-copied,
to prevent accidental modification of the 'base' jumptable.

Original-auther: yihuang <huang@crypto.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>

* core/vm: implement EIP-3860: Limit and meter initcode

Implementation of https://eips.ethereum.org/EIPS/eip-3860, limit and meter initcode.
Most of this change takes the go-ethereum implementation as reference.

Original-author: Andrei Maiboroda <andrei@ethereum.org>
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>

* core/vm: implement EIP-3855: PUSH0 instruction

* core/vm: Implement PUSH0

* Move PUSH0 to enable3855

* Add method doc

Original-author: Alex Beregszaszi <alex@rtfs.hu>

* core/vm: enable EIP-3855 (PUSH0) in Boneh

Original-author: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com>

* core/vm: Fix issue of incorrect instructionSet used for jump_table

Also update the related test case for gas change.

* core/vm: fix test cases issues that not suitable for boneh

* core/vm: reuse ErrMaxInitCodeSizeExceeded as error message

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2023-04-13 17:26:21 +08:00
GalaIO
82e38f6fc3
docker: upgrade alpine version & remove apks version; (#1441) v1.1.22 2023-04-12 14:45:49 +08:00
realuncle
f7d15e34df
BEP-126: Introduce Fast Finality Mechanism (#936) 2023-04-10 18:36:45 +08:00
GalaIO
33426f2bd3
docker: upgrade alpine version & remove apks version; (#1430) 2023-04-10 16:00:17 +08:00
Larry
d0f3f8ee62
Merge pull request #1423 from bnb-chain/develop
release: draft release v1.1.22
2023-04-10 10:10:22 +08:00
larry.lx
0cc7cb4bf0 Merge remote-tracking branch 'bnb-chain/master' into HEAD 2023-04-09 14:19:17 +08:00
Larry
9d6e53c457
release: prepare for release v1.1.22 (#1418) 2023-04-07 20:06:38 +08:00
NathanBSC
1093ad8bf9
fix: init-network with config.toml without setting TimeFormat (#1412) 2023-04-06 12:24:04 +08:00
Leon
f9f5cc2157
cmd/faucet: merge ipfaucet2 branch to develop (#1361)
* add ip ratelimit

* update

* update

* update explorer adddress

* updae recapcha

* remove binance

* cmd/faucet: fix conn to wrapped wsconn

* cmd/faucet: keystore updated to save and load one same addres once

* clean: remove btcd v0.20.1-beta and avoid to ambiguous import (#1)

* ci: fix truffle test (#1384)

---------

Co-authored-by: fudongbai <296179868@qq.com>
Co-authored-by: Nathan <galaxystroller@gmail.com>
2023-04-06 11:17:53 +08:00
Nicolas Gotchac
221ef7d80d
UT: fix some flaky tests (#1379)
* core/state: Remove prefetcher on stop
* core/blockchain: Wait for `triedb.Dereference` in `writeBlockWithState`
* eth/protocols/diff: Fix index mismatch in `TestGetDiffLayers`
2023-04-03 22:11:09 +08:00
GalaIO
bd76c258a4 Makefile: fix devtools install error; 2023-04-03 11:50:47 +08:00
dylanhuang
e4381a5d25 log: support custom time format configuration (#1401) 2023-04-03 11:44:28 +08:00
dylanhuang
3b547a9855
log: support custom time format configuration (#1401) 2023-04-03 10:22:49 +08:00
Leon
af7f0dd30b
consnesus/parlia: abort sealing when block in the same height has upd… (#1382) 2023-03-29 17:36:24 +08:00
Larry
75529530a2
fix: snapshot generation issue after chain reinit from a freezer (#1381) 2023-03-29 16:51:48 +08:00
Leon
ece84d4dcd
miner: no need to broadcast sidechain header mined by this validator (#1383) 2023-03-28 15:52:40 +08:00
Larry
6e06ed1087
Merge pull request #1390 from bnb-chain/develop
release: draft release v1.1.21
v1.1.21
2023-03-27 16:47:47 +08:00
Larry
ce609339ad
release: prepare for release v1.1.21 (#1395) 2023-03-27 09:48:59 +08:00
Larry
e8d2c8110c
upgrade: update the fork height of planck upgrade on mainnet (#1389) 2023-03-24 16:55:09 +08:00
Ersan YAKIT
ca20bc13f0
typo: fix Merkel to Merkle(#1120) 2023-03-24 11:03:56 +08:00