Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from bnb-chain:master #90

Merged
merged 839 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
839 commits
Select commit Hold shift + click to select a range
4387eec
release: prepare for release v1.4.1-alpha (#2270)
zzzckck Mar 11, 2024
fd914c2
fix: compile error in statedb.go
zzzckck Mar 11, 2024
eb44655
Merge pull request #2267 from buddh0/cancun_code_merge_v1.13.12_v1.13.14
zzzckck Mar 12, 2024
9e85b0f
release: prepare for release v1.4.2-alpha (#2273)
zzzckck Mar 12, 2024
d620407
Merge branch 'master' into develop
zzzckck Mar 12, 2024
7169e2b
metrics: add read/write_bytes (#2265)
fynnss Mar 12, 2024
cbff319
Merge pull request #2274 from bnb-chain/develop
zzzckck Mar 12, 2024
a4b4368
fix: systemTx should be always at the end of block (#2277)
zzzckck Mar 12, 2024
e4ddf58
parlia: add state prepare for internal SC transaction (#2272)
MatusKysel Mar 13, 2024
d9b9b7f
core/state: fix taskResult typo (#2240)
weiihann Mar 18, 2024
58bc494
build(deps): bump github.com/quic-go/quic-go from 0.39.3 to 0.39.4 (#…
khaledmouha Mar 18, 2024
880f7ab
fix: add FeynmanFix upgrade for a testnet issue (#2288) (#2299)
weiihann Mar 18, 2024
16b040e
eth/ethconfig: remove overridekepler and overrideshanghai (#2304)
buddh0 Mar 19, 2024
10ae179
cmd/utils, core/rawdb, triedb/pathdb: flip hash to path scheme (#2241)
sysvm Mar 19, 2024
ccd7a44
core/vm: fix PrecompiledContractsCancun (#2310)
buddh0 Mar 20, 2024
74d2054
core: don't check genesis hash for no tries
weiihann Mar 18, 2024
6978f00
cmd/geth, core/rawdb: add dbDeleteTrieState
weiihann Mar 12, 2024
09b469f
tests/truffle: use hbss to run test (#2313)
buddh0 Mar 20, 2024
c170814
eth/catalyst: update simulated beacon for cancun (#28829)
s1na Feb 29, 2024
e6e1d06
internal/jsre: format blob fields from hexdecimal to int (#29166)
jsvisa Mar 5, 2024
291ab99
eth/tracers: prestate tracer add blob fee (#29168)
jsvisa Mar 6, 2024
c1496e7
ethclient/gethclient: add blob transaction fields in toCallArg (#29198)
colinlyguo Mar 8, 2024
3c81d55
core/txpool/blobpool: return ErrAlreadyKnown for duplicate txs (#29210)
PlasmaPower Mar 11, 2024
2893079
cmd/emv/internal/t8ntool: fix shadowing of `excessBlobGas` (#29263)
dyxushuai Mar 14, 2024
66ed85e
params: use the same variable name as EIP-4788 (#29195)
tmelhao Mar 15, 2024
ebe88c0
Merge pull request #2311 from buddh0/port_cancun_related_changes_from…
zzzckck Mar 20, 2024
1324884
cmd/jsutil: dump MinGasPrice for validator (#2314)
zzzckck Mar 21, 2024
9684ba3
core: rephrase TriesInMemory log (#2228)
weiihann Mar 21, 2024
fdbe2e3
cmd/utils, node: switch to Pebble as the default db if none exists (#…
sysvm Mar 21, 2024
fd284c7
cmd/utils, core: only full sync for fast nodes (#2280)
weiihann Mar 21, 2024
1208d07
cmd, node: initialize ports with --instance (#2298)
weiihann Mar 21, 2024
e313d5b
internal/ethapi: add net_nodeInfo (#2307)
weiihann Mar 21, 2024
22888c8
feat: add mev metrics (#2317)
Mar 21, 2024
84c3658
cmd/utils: disable snap protocol for fast node (#2234)
weiihann Mar 21, 2024
76fb295
release: prepare for release v1.4.3-alpha (#2319)
zzzckck Mar 21, 2024
7f3f72e
Merge pull request #2320 from bnb-chain/develop
zzzckck Mar 21, 2024
e0b98ef
feat: export GasCeil in mev_params (#2323)
irrun Mar 22, 2024
38db9bf
BlobTx: implement EIP-4844 on BSC (#2279)
buddh0 Mar 22, 2024
79cd522
test: use full syncmode to run rpc node (#2321)
sysvm Mar 25, 2024
dddf20e
fix missing block asigment WithSidecars
MatusKysel Mar 26, 2024
eda56e2
Merge pull request #2339 from bnb-chain/fix-with-sidecars
MatusKysel Mar 26, 2024
e7c5ce2
github: add branch protect rule (#2343)
zzzckck Mar 27, 2024
7c89c65
4844: bugfix and improve (#2337)
buddh0 Mar 28, 2024
9ab8565
cancun: change empty withdrawHash value of header; (#2350)
galaio Mar 29, 2024
3e97f82
cmd: include more node info in metrics (#2338)
weiihann Mar 29, 2024
5d51873
p2p: add metrics for inbound/outbound peers (#2342)
weiihann Mar 29, 2024
04a3b1f
fix: add bid fee ceil
irrun Mar 28, 2024
7c7a9bc
feat: add bid fee ceil in mev_params
irrun Apr 1, 2024
212b7a6
core: improve chain rewinding mechanism (#2334)
sysvm Apr 1, 2024
438cdf0
fix: type
irrun Apr 1, 2024
3b7ee60
Merge pull request #2357 from irrun/re/bidfeeceil
irrun Apr 1, 2024
32ac07f
upgrade: update system contracts bytes code and hardfork time of Feyn…
zzzckck Apr 1, 2024
c3623e9
core: fix block report when chain is not setHead (#2352)
buddh0 Apr 1, 2024
f2c9141
release: prepare for release v1.4.4-beta (#2365)
zzzckck Apr 2, 2024
7dbafe7
fix: don't switch to snapsync for fast node (#2367)
zzzckck Apr 2, 2024
46df9b4
Merge pull request #2366 from bnb-chain/develop
zzzckck Apr 2, 2024
75a03f4
triedb: do not open state freezer under notries (#2359)
weiihann Apr 2, 2024
e4688e4
remove code that will not be executed (#2333)
sellskin Apr 3, 2024
48f58a5
core: stateDb has no trie and no snap return err (#2369)
weiihann Apr 7, 2024
42a0236
config: setup Testnet Tycho(Cancun) hardfork date (#2378)
zzzckck Apr 8, 2024
4e9f699
release: prepare for release v1.4.5 (#2379)
zzzckck Apr 8, 2024
060e5c6
Merge pull request #2380 from bnb-chain/develop
zzzckck Apr 9, 2024
26f5009
blobtx: fix some found issues; (#2383)
galaio Apr 10, 2024
a75e823
fix: ensure empty withdrawals after cancun (#2384)
buddh0 Apr 10, 2024
f4bad20
docs: remove repetitive words (#2381)
clonefetch Apr 10, 2024
d7836bf
fix: set withdrawals properly when fetching empty block (#2386)
buddh0 Apr 10, 2024
009df5a
internal/api: return empty array rather than nil (#2385)
zlacfzy Apr 10, 2024
a057245
Merge pull request #2388 from bnb-chain/develop
zzzckck Apr 10, 2024
4bb1bd1
deps: update prsym to solve warning about quic-go version (#2389)
buddh0 Apr 11, 2024
b7972bc
feat: greedy merge tx in bid (#2363)
irrun Apr 11, 2024
335be39
chore: fix function names in comment (#2390)
hugehope Apr 11, 2024
3a6e3c6
core/trie: persist TrieJournal to journal file instead of kv database…
jingjunLi Apr 15, 2024
11503ed
chore: render system bytecode by go:embed (#2201)
j75689 Apr 15, 2024
b4fb2f6
fix: print value instead of pointer in ConfigCompatError (#2391)
buddh0 Apr 15, 2024
837de88
cmd/geth: fix importBlock (#2244)
weiihann Apr 15, 2024
90eb5b3
fix: trieJournal format compatible old db format (#2395)
jingjunLi Apr 16, 2024
cbcd26c
fix: no import blocks before or equal to the finalized height (#2398)
buddh0 Apr 17, 2024
5cc253a
fix: NPE (#2403)
irrun Apr 18, 2024
fb435eb
fix: allow fast node to rewind after abnormal shutdown (#2401)
buddh0 Apr 18, 2024
c0afdc9
core: separated databases for block data (#2227)
jingjunLi Apr 18, 2024
fe1fff8
chore: fix some typos in comments (#2399)
TechVest Apr 18, 2024
3b7f0e4
cmd, p2p: filter peers by regex on name (#2404)
weiihann Apr 18, 2024
4b54601
chore: fix some typos in comments (#2408)
careworry Apr 19, 2024
d653cda
feat: adaptive for loading journal file or journal kv during loadJour…
jingjunLi Apr 19, 2024
14023fa
fix: wrong way to get blob tx sidecar in `BidRuntime.commitTransactio…
pythonberg1997 Apr 22, 2024
182c841
fix: fix function names (#2416)
forcedebug Apr 23, 2024
2a0e399
Revert "fix: wrong way to get blob tx sidecar in `BidRuntime.commitTr…
irrun Apr 23, 2024
7cab9c6
eth/gasprice: add query limit to defend DDOS attack (#2423)
zlacfzy Apr 25, 2024
31d92c5
chore: add metric & log for blobTx; (#2428)
galaio Apr 26, 2024
6573254
fix: adapt journal for cmd (#2425)
jingjunLi Apr 28, 2024
ba67263
feat: recommit bid when newBidCh is empty to maximize mev reward (#2424)
irrun Apr 28, 2024
9e17097
fix: oom caused by non-discarded mev simulation env (#2430)
irrun Apr 28, 2024
9d8df91
metrics: add doublesign counter (#2419)
emailtovamos Apr 29, 2024
e55028d
metrics: refine the double sign detect code
zzzckck Apr 29, 2024
e32fcf5
Revert "github: add branch protect rule (#2343)"
zzzckck Apr 26, 2024
0567715
release: prepare for release v1.4.6
zzzckck Apr 26, 2024
43b2ffa
Merge pull request #2427 from bnb-chain/develop
zzzckck Apr 29, 2024
1d81f33
metrics: add blockInsertMgaspsGauge to trace mgasps (#2396)
buddh0 Apr 30, 2024
901ea2e
fix: performance issue when load journal (#2438)
jingjunLi May 8, 2024
7bc5a33
txpool: limit max gas when mining is enabled; (#2435)
galaio May 9, 2024
571ea2c
nancy: add files .nancy-ignore (#2440)
zzzckck May 9, 2024
0c101e6
chore: fix some typos (#2433)
knowmost May 9, 2024
7948950
build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#2411)
dependabot[bot] May 9, 2024
1ce9bb0
config: setup Mainnet Tycho(Cancun) hardfork date (#2439)
zzzckck May 9, 2024
a7d5b02
release: prepare for release v1.4.7 (#2442)
zzzckck May 9, 2024
4ab1c86
Merge pull request #2441 from bnb-chain/develop
zzzckck May 10, 2024
b57c779
eth/filters: enforce topic-limit early on filter criterias (#29535) (…
NathanBSC May 11, 2024
691d195
core/rawdb: add sanity-limit to header accessor (#29534)
holiman Apr 15, 2024
23f6194
eth/handler: check blobs before broadcast blocks (#2450)
NathanBSC May 13, 2024
adb5e8f
eth/filters: enforce topic-limit early on filter criterias (#29535) (…
NathanBSC May 11, 2024
0a2e128
core/rawdb: add sanity-limit to header accessor (#29534)
holiman Apr 15, 2024
f2ec3cc
eth/handler: check blobs before broadcast blocks (#2450)
NathanBSC May 13, 2024
2c87200
go.mod: bump pebble db to official release (#29038)
Mar 5, 2024
bf16a39
ethdb/pebble: print warning log if pebble performance degrades (#29478)
rjl493456442 Apr 17, 2024
0560685
core: clearup feynman testflag and rialto code (#2457)
NathanBSC May 14, 2024
97c3b9b
internal/api.go: add choice about not show full blob (#2458)
zlacfzy May 14, 2024
d436f9e
eth/fetcher/block_fetcher.go: add metrics for import failed block (#2…
zlacfzy May 14, 2024
c577ce3
Merge pull request #2460 from bnb-chain/develop
buddh0 May 14, 2024
0c0958f
eth/handler: check lists in body before broadcast blocks (#2461)
NathanBSC May 15, 2024
86e3a02
cmd/utils: add a flag to change breathe block interval for testing (#…
NathanBSC May 15, 2024
b230a02
cmd: fix memory leak when big dataset (#2455)
fynnss May 15, 2024
5ea2ada
utils: add check_blobtx.js (#2463)
setunapo May 15, 2024
6b8cbbe
sync: fix some sync issues caused by prune-block. (#2466)
galaio May 16, 2024
5edd032
internal/ethapi: add optional parameter for blobSidecars (#2467)
zlacfzy May 16, 2024
d16532d
internal/ethapi: add optional parameter for blobSidecars (#2468)
zlacfzy May 16, 2024
f45305b
cmd/utils: add a flag to change breathe block interval for testing (#…
NathanBSC May 17, 2024
c856d21
fix: move mev op to MinerAPI & add command to console (#2475)
Jolly23 May 20, 2024
c77bb11
fix: limit the gas price of the mev bid (#2473)
irrun May 20, 2024
4d0f1e7
RIP-7212: Precompile for secp256r1 Curve Support (#2400)
MatusKysel May 21, 2024
08769ea
dev: ensure consistency in BPS bundle result (#2479)
Jolly23 May 21, 2024
f190c49
core/vm: add secp256r1 into PrecompiledContractsHaber (#2483)
NathanBSC May 21, 2024
f5ba30e
release: prepare for release v1.4.8 (#2486)
zzzckck May 21, 2024
d7b9866
Merge pull request #2487 from bnb-chain/master
brilliant-lx May 22, 2024
b014626
jsutils: faucet successful requests within blocks (#2470)
emailtovamos May 23, 2024
05543e5
fix: fix inspect database error (#2484)
jingjunLi May 27, 2024
63e7eac
fix: keep 9W blocks in ancient db when prune block (#2481)
jingjunLi May 29, 2024
8b9558b
params/config: add Bohr hardfork (#2497)
NathanBSC May 30, 2024
6b02ac7
doc: update url linker (#2498)
zzzckck May 30, 2024
35e71a7
doc: update url linker (#2499)
zzzckck May 30, 2024
9bb4fed
fix: add an empty freeze db (#2495)
sysvm Jun 4, 2024
1047f0e
chore: fix function name (#2501)
zoupingshi Jun 5, 2024
af7e9b9
fix: waiting for the last simulation before pick best bid (#2507)
irrun Jun 7, 2024
aab4b88
release: prepare for release v1.4.9 (#2510)
zzzckck Jun 11, 2024
4566ac7
Merge pull request #2511 from bnb-chain/develop
zzzckck Jun 11, 2024
f467c60
feat: add mev helper params and func (#2512)
irrun Jun 13, 2024
99d31ae
perf: speedup pbss trienode read (#2508)
will-2012 Jun 18, 2024
7b08a70
perf: optimize chain commit performance for multi-database (#2509)
jingjunLi Jun 18, 2024
00f094c
core/forkchoice: improve stability when inturn block not generated (#…
NathanBSC Jun 18, 2024
be0fbfb
fix: remove zero gasprice check for BSC (#2518)
zzzckck Jun 19, 2024
6094d71
UT: random failure of TestSnapSyncWithBlobs (#2519)
zzzckck Jun 20, 2024
27a3ec5
fix getBlobSidecars by ethclient (#2515)
zlacfzy Jun 20, 2024
f2e7f1d
fix: ensure empty withdrawals after cancun before broadcast (#2525)
NathanBSC Jun 21, 2024
1548452
release: prepare for release v1.4.10 (#2526)
zzzckck Jun 21, 2024
f0c7795
Merge pull request #2527 from bnb-chain/develop
zzzckck Jun 21, 2024
55cbf31
fix: nil pointer when clear simulating bid (#2534)
irrun Jun 24, 2024
f7de51f
upgrade: add `HaberFix` hardfork (#2535)
pythonberg1997 Jun 26, 2024
d52628a
doc: add changelog for v1.4.11 (#2548)
unclezoro Jun 27, 2024
c2226a0
release: bump version to 1.4.11 (#2550)
unclezoro Jun 27, 2024
7194125
Merge pull request #2549 from bnb-chain/develop
unclezoro Jun 27, 2024
727c071
cmd/jsutils: add a tool to get performance between a range of blocks …
NathanBSC Jun 28, 2024
75d1629
build(deps): bump github.com/hashicorp/go-retryablehttp (#2537)
dependabot[bot] Jun 28, 2024
f1a85ec
go.mod: update missing dependency (#2546)
zzzckck Jun 28, 2024
51e27f9
nancy: ignore [email protected] in .nancy-ignore (#2559)
zzzckck Jul 2, 2024
88225c1
chore: update greenfield cometbft version (#2556)
keefel Jul 3, 2024
971c0fa
tests: fix unstable test (#2561)
MatusKysel Jul 4, 2024
a5810fe
fix: fix state inspect error after pruned state (#2557)
flywukong Jul 4, 2024
bc970e5
fix: delete unexpected block (#2562)
jingjunLi Jul 8, 2024
e8456c2
cmd/jsutils: add a tool to get slash count (#2569)
zlacfzy Jul 8, 2024
90e6797
core: clearup testflag for Cancun and Haber (#2572)
NathanBSC Jul 9, 2024
863fdea
core: avoid to cache block before wroten into db (#2566)
buddh0 Jul 10, 2024
a00ffa7
fix: fix statedb copy (#2567)
will-2012 Jul 10, 2024
c3d6155
cmd/utils: support use NetworkId to distinguish chapel when do syncin…
NathanBSC Jul 10, 2024
a04e287
feat: enhance bid comparison and reply bidding results && detail logs…
Jolly23 Jul 11, 2024
27d8694
core: adapt highestVerifiedHeader to FastFinality (#2574)
buddh0 Jul 11, 2024
c96fab0
core/vote: not vote if too late for next in turn validator (#2568)
NathanBSC Jul 11, 2024
21fc2d3
cmd/jsutill: add log about validator name (#2583)
zlacfzy Jul 16, 2024
d35b57a
chore: fix some comments (#2581)
stellrust Jul 16, 2024
6d5b4ad
miner/worker: broadcast block immediately once sealed (#2576)
buddh0 Jul 16, 2024
c6af481
freezer: Opt freezer env checking (#2580)
galaio Jul 16, 2024
13d4547
fix: pruneancient freeze from the previous position when the first ti…
jingjunLi Jul 16, 2024
87e622e
fix: the bug of blobsidecars and downloader with multi-database (#2564)
jingjunLi Jul 16, 2024
a262acf
fix: remove delete and dangling side chains in prunefreezer (#2582)
jingjunLi Jul 17, 2024
21e6dcf
release: prepare for release v1.4.12 (#2585)
zzzckck Jul 17, 2024
900cf26
Merge branch 'master' into master_2_develop
zzzckck Jul 17, 2024
26b236f
Merge pull request #2586 from bnb-chain/master_2_develop
zzzckck Jul 17, 2024
74078e1
consensus/parlia: add GetJustifiedNumber and GetFinalizedNumber (#2591)
buddh0 Jul 19, 2024
7b8d28b
core/vote: vote before committing state and writing block (#2589)
buddh0 Jul 19, 2024
4f38c78
BEP-402: Complete Missing Fields in Block Header to Generate Signatur…
buddh0 Jul 19, 2024
3cade73
BEP-404: Clear Miner History when Switching Validators Set (#2558)
buddh0 Jul 19, 2024
b844958
core: improve the network stability when double sign happens (#2596)
buddh0 Jul 22, 2024
222e108
core: cache block after wroten into db
NathanBSC Jul 22, 2024
c6cb43b
Revert "miner/worker: broadcast block immediately once sealed (#2576)"
NathanBSC Jul 22, 2024
a44b6d8
core: cache block after wroten into db (#2600)
NathanBSC Jul 22, 2024
6260a26
fix: prune-state when specify `--triesInMemory 32` (#2602)
jingjunLi Jul 23, 2024
17e0e45
BEP-341: Validators can produce consecutive blocks (#2482)
NathanBSC Jul 23, 2024
cabd0f8
feat: add bohr upgrade contracts bytecode (#2605)
cosinlink Jul 24, 2024
83a9b13
Merge pull request #2607 from NathanBSC/for_release_v1.4.12
zzzckck Jul 24, 2024
99e4e95
Merge branch 'master' into develop
buddh0 Jul 25, 2024
3134494
consensus/parlia: modify mining time for last block in one turn (#2608)
NathanBSC Jul 25, 2024
7f3c5ce
cmd/utils: add new flag OverridePassedForkTime (#2611)
buddh0 Jul 25, 2024
c94fc29
Merge pull request #2612 from buddh0/merge_master_into_develop
zzzckck Jul 25, 2024
f532da6
chore: fix some comments (#2597)
yuhangcangqian Jul 25, 2024
46b88d1
fix: only take non-mempool tx to calculate bid price (#2579)
irrun Jul 26, 2024
27f618f
fix: update stakehub bytecode after zero address agent issue fixed (#…
cosinlink Jul 26, 2024
00cac12
faucet: rate limit initial implementation (#2603)
emailtovamos Jul 29, 2024
7d90701
tests: fix evm-test CI (#2622)
NathanBSC Jul 31, 2024
987b8c1
consensus/parlia: exclude inturn validator when calculate backoffTime…
NathanBSC Jul 31, 2024
9e34366
core: not record `zero hash` beacon block root with Parlia engine (#2…
NathanBSC Jul 31, 2024
df16ab9
Makefile: use docker compose v2 instead of v1 (#2628)
buddh0 Aug 5, 2024
b61128b
utils: add GetTopAddr to analyse large traffic (#2629)
zzzckck Aug 5, 2024
b7e678e
config: setup Testnet Bohr hardfork date (#2634)
zzzckck Aug 7, 2024
2cce9dd
release: prepare for release v1.4.13 (#2632)
zzzckck Aug 7, 2024
e988d15
consensus/parlia: support recovery when snapshot of parlia gone in di…
buddh0 Aug 8, 2024
26a4d4f
Merge pull request #2633 from bnb-chain/develop
zzzckck Aug 8, 2024
b1f0a3c
core: fix cache for receipts (#2643)
buddh0 Aug 13, 2024
3adcfab
core/systemcontracts: use vm.StateDB in UpgradeBuildInSystemContract …
easyfold Aug 13, 2024
99a2dd5
internal/debug: remove memsize (#2649)
buddh0 Aug 15, 2024
5d19f21
internal/ethapi: make GetFinalizedHeader monotonically increasing (#2…
buddh0 Aug 20, 2024
3bd9a23
core: improve readability of the fork choice logic (#2658)
buddh0 Aug 20, 2024
6cb4be4
fix: when dataset is pruned and pruneancient is set, the offset is er…
jingjunLi Aug 21, 2024
c46d7e8
ethclient: fix BlobSidecars api (#2656)
jhgdike Aug 22, 2024
ec2d7e0
config: setup Mainnet 2 hardfork date: HaberFix & Bohr (#2661)
zzzckck Aug 23, 2024
af0204b
faucet: bump and resend faucet transaction if it has been pending for…
zzzckck Aug 26, 2024
9598502
release: prepare for release v1.4.14 (#2668)
zzzckck Aug 27, 2024
75af65d
Merge pull request #2669 from bnb-chain/develop
zzzckck Aug 27, 2024
d3450f1
log: add some p2p log (#2677)
zzzckck Sep 3, 2024
094519d
beaconserver: simulated beacon api server for op-stack (#2678)
jhgdike Sep 4, 2024
0dab664
txpool: apply miner's gasceil to txpool (#2680)
zzzckck Sep 4, 2024
f85d19a
build(deps): bump actions/download-artifact in /.github/workflows (#2…
dependabot[bot] Sep 4, 2024
5c4096f
faucet: with mainnet balance check, 0.002BNB at least (#2672)
zzzckck Sep 4, 2024
24a46de
eth: Add sidecars when available to broadcasted current block (#2675)
ngotchac Sep 4, 2024
1bcdad8
metrics: add some extra feature flags as node stats; (#2662)
galaio Sep 4, 2024
03069a7
fetcher: Sleep after marking block as done when requeuing
ngotchac Sep 4, 2024
e7e5d50
txpool: set default GasCeil from 30M to 0 (#2688)
zzzckck Sep 5, 2024
7de27ca
CI: nancy ignore CVE-2024-8421 (#2695)
buddh0 Sep 10, 2024
a28262b
miner: limit block size to eth protocol msg size (#2696)
buddh0 Sep 10, 2024
8bbd8fb
consensus/parlia: wait more time when processing huge blocks (#2689)
buddh0 Sep 11, 2024
774d1b7
Merge pull request #2684 from ngotchac/ngotchac/requeue-fixes
zzzckck Sep 11, 2024
44e91bb
faucet: support customized token (#2687)
zzzckck Sep 12, 2024
282aee5
faucet: add example for custimized token (#2698)
zzzckck Sep 12, 2024
3e44dca
chore: add missing symbols in comment (#2704)
tiaoxizhan Sep 14, 2024
34059cb
faucet: update DIN token faucet support (#2706)
wangminqi Sep 18, 2024
21faa2d
release: prepare for release v1.4.15 (#2700)
zzzckck Sep 18, 2024
9cbac84
doc: update readme to remove Beacon chain part (#2697)
zzzckck Sep 18, 2024
d141ff0
Revert "eth/handler: check lists in body before broadcast blocks (#24…
buddh0 Sep 4, 2024
5289ecd
eth/protocols: add Withdrawals check before broadcastBlock
buddh0 Sep 4, 2024
089064c
Merge pull request #2683 from buddh0/remove_duplicate_list_check
zzzckck Sep 19, 2024
206c3b0
Merge pull request #2701 from bnb-chain/develop
zzzckck Sep 19, 2024
6624522
github: upgrade artifact from v3 to v4.1.7 (#2712)
zzzckck Sep 19, 2024
ec318b9
github: upgrade upload artifact from v4.1.7 to v4.3.3 (#2713)
zzzckck Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

accounts/usbwallet @karalabe
accounts/scwallet @gballet
accounts/abi @gballet @MariusVanDerWijden
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
- develop

pull_request:
branches:
branches:
- master
- develop

jobs:
unit-test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -47,5 +47,3 @@ jobs:
run: |
go mod download
make geth


2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop

pull_request:
branches:
branches:
- master
- develop

Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/evm-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: EVM Test

on:
push:
branches:
- master
- develop

pull_request:
branches:
- master
- develop

jobs:
evm-test:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v3

- uses: actions/cache@v3
with:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: EVM Test
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
ANDROID_HOME: "" # Skip android test
run: |
git submodule update --init --depth 1 --recursive
go mod download
cd tests
sed -i -e 's/\/\/ bt.skipLoad/bt.skipLoad/g' block_test.go
bash -x run-evm-tests.sh
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop

pull_request:
branches:
branches:
- master
- develop

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
- develop

pull_request:
branches:
branches:
- master
- develop

jobs:
golang-lint:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
${{ runner.os }}-go-

- run: |
go mod download
go mod tidy

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52.2
version: v1.55.2
working-directory: ./
skip-pkg-cache: true
skip-cache: true
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/nancy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Go Nancy

on:
# Scan changed files in PRs (diff-aware scanning):
pull_request: {}
# Scan on-demand through GitHub Actions interface:
workflow_dispatch: {}
# Scan mainline branches and report all findings:
push:
branches: ["master", "develop"]

jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up Go 1.x in order to write go.list file
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Go mod tidy
run: go mod tidy

- name: WriteGoList
run: go list -json -deps ./... > go.list

- name: Nancy
uses: sonatype-nexus-community/nancy-github-action@main
with:
nancyCommand: sleuth --loud
18 changes: 9 additions & 9 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Build Release
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -82,28 +82,28 @@ jobs:
# ==============================

- name: Upload Linux Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'ubuntu-latest'
with:
name: linux
path: ./build/bin/geth

- name: Upload MacOS Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'macos-latest'
with:
name: macos
path: ./build/bin/geth

- name: Upload Windows Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'windows-latest'
with:
name: windows
path: ./build/bin/geth.exe

- name: Upload ARM-64 Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'ubuntu-latest'
with:
name: arm64
Expand All @@ -125,25 +125,25 @@ jobs:
# ==============================

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: linux
path: ./linux

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: macos
path: ./macos

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: windows
path: ./windows

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: arm64
path: ./arm64
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build Release
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -81,28 +81,28 @@ jobs:
# ==============================

- name: Upload Linux Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'ubuntu-latest'
with:
name: linux
path: ./build/bin/geth

- name: Upload MacOS Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'macos-latest'
with:
name: macos
path: ./build/bin/geth

- name: Upload Windows Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'windows-latest'
with:
name: windows
path: ./build/bin/geth.exe

- name: Upload ARM-64 Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.3
if: matrix.os == 'ubuntu-latest'
with:
name: arm64
Expand All @@ -124,25 +124,25 @@ jobs:
# ==============================

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: linux
path: ./linux

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: macos
path: ./macos

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: windows
path: ./windows

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: arm64
path: ./arm64
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
- develop

pull_request:
branches:
branches:
- master
- develop

jobs:
unit-test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -49,7 +49,5 @@ jobs:
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
ANDROID_HOME: "" # Skip android test
run: |
git submodule update --init --depth 1 --recursive
go mod download
make test

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ cmd/geth/__debug_bin
cmd/bootnode/bootnode
graphql/__debug_bin
logs/

tests/spec-tests/
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ output:
linters:
disable-all: true
enable:
- goconst
- goimports
- gosimple
- govet
Expand All @@ -42,9 +41,6 @@ linters:
linters-settings:
gofmt:
simplify: true
goconst:
min-len: 3 # minimum length of string constant
min-occurrences: 6 # minimum number of occurrences

issues:
exclude-rules:
Expand Down
3 changes: 3 additions & 0 deletions .nancy-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CVE-2024-34478 # "CWE-754: Improper Check for Unusual or Exceptional Conditions." This vulnerability is BTC only, BSC does not have the issue.
CVE-2024-6104 # "CWE-532: Information Exposure Through Log Files" This is caused by the vulnerabilities [email protected], it is only used in cmd devp2p, impact is limited. will upgrade to v0.7.7 later
CVE-2024-8421 # "CWE-400: Uncontrolled Resource Consumption (Resource Exhaustion)" This vulnerability is caused by issues in the golang.org/x/net package. Even the latest version(v0.29.0) has not yet addressed it, but we will continue to monitor updates closely.
Loading
Loading