Commit Graph

13740 Commits

Author SHA1 Message Date
lx
1fed0df8c2
upgrade: block height of Plato on testnet (#1594) 2023-05-08 17:45:17 +08:00
Roshan
7e1590c928
upgrade: update PlatoUpgrade contracts code (#1592) 2023-05-08 17:27:40 +08:00
Matus Kysel
031fce3c92
p2p/discover: implement ENR node filtering (#1320) 2023-05-08 15:54:12 +08:00
GalaIO
acaafde156
fix: fix snap flaky tests (#1590) 2023-05-08 13:59:26 +08:00
NathanBSC
5f690d32eb
metrics: add a counter for validator to check work status of voting (#1583) 2023-05-06 20:47:31 +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
NathanBSC
e794b20fa1
fix: output an error log when bsc extension fail to handshake (#1578) 2023-05-06 09:48:54 +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
9a202e0279
fix: make BLST PORTABLE for release binary (#1575) 2023-05-05 16:48:43 +08:00
NathanBSC
5b75f597b4
fix: remove dynamic metric labels about fast finality (#1572) 2023-05-05 14:15:43 +08:00
NathanBSC
a7bdb363ca
fix: config for VoteJournalDir and BLSWalletDir (#1566) 2023-05-04 17:25:31 +08:00
lx
bc72d5e708
log: revert a log back to trace level (#1527)
warning level will make the log spam over the screen.
2023-04-25 21:31:33 +08:00
dylanhuang
779f4a80ee
fix: lint error and docs (#1520)
* ci: upgrade golangci-lint
* build: move blst env to build stage
* chore: fix lint error
* docs: update readme
2023-04-25 09:11:29 +08:00
dylanhuang
282ef8952d
ci: fix release job (#1519)
* ci: remove CGO_ENABLE=0 due to blst package
* ci: fix arm binary build
* ci: remove arm5-7 version
* ci: fix arm64 build script
* ci: fix generate_change_log.sh
2023-04-24 22:30:27 +08:00
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