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

Merge upstream v0.4.2 #7

Merged
merged 1,031 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1031 commits
Select commit Hold shift + click to select a range
62a7d78
feature: add opBNB bootnodes (#32)
redhdx Nov 23, 2023
c36a3ce
fix: wrong event log value (#16)
welkin22 Nov 23, 2023
d76efbb
params: update discV5 bootnodes (#28562)
cortze Nov 23, 2023
bdf5e38
cmd, les, tests: remove light client code (#28586)
MariusVanDerWijden Nov 23, 2023
6ad221a
params: interopTime configuration and override option
protolambda Nov 23, 2023
32ddd8b
Merge pull request #185 from ethereum-optimism/aj/upstream-1.13.5
protolambda Nov 23, 2023
25fd986
Merge pull request #191 from ethereum-optimism/interop-activation
protolambda Nov 23, 2023
feb5339
add option to reannounce local transactions (#33)
andyzhang2023 Nov 24, 2023
c5d0d0c
fix: clear underpriced buffer (#34)
andyzhang2023 Nov 24, 2023
2a20130
eth, internal/ethapi: drop some weird indirection (#28597)
karalabe Nov 24, 2023
333dd95
trie: fix random test generator early terminate (#28590)
weiihann Nov 25, 2023
1e28e0b
eth/gasestimator, internal/ethapi: move gas estimator out of rpc (#28…
karalabe Nov 27, 2023
5b57727
go.mod: update uint256 to v1.2.4 (#28612)
holiman Nov 27, 2023
71817f3
eth/catalyst, eth/downloader: expose more sync information (#28584)
rjl493456442 Nov 28, 2023
58297e3
light: remove package light(#28614)
lightclient Nov 28, 2023
9cfc55b
add metrics for invalid transactions detail
Nov 28, 2023
63979bc
cmd/evm, core/state: fix post-exec dump of state (statetests, blockch…
holiman Nov 28, 2023
248dc50
ethereum: remove TODO comment about subscription (#28609)
sbs2001 Nov 28, 2023
bbc5db8
eth/tracers/js: fix type inconsistencies (#28488)
s1na Nov 28, 2023
34dcd74
crypto/secp256k1: fix 32-bit tests when CGO_ENABLED=0 (#28602)
gballet Nov 28, 2023
e0c7ad0
consensus: verify the nonexistence of shanghai- and cancun-specific h…
jakub-freebit Nov 28, 2023
61b844f
eth/gasestimator: allow slight estimation error in favor of less iter…
karalabe Nov 28, 2023
28e7371
all: replace log15 with slog (#28187)
jwasinger Nov 29, 2023
ab0eb46
core/state: make stateobject.create selfcontain (#28459)
rjl493456442 Nov 29, 2023
7e56d89
params: add note about Delta, update protocol version to indicate Del…
protolambda Nov 30, 2023
cd53168
Merge pull request #196 from ethereum-optimism/delta
protolambda Nov 30, 2023
adc0523
fix: transaction broadcasting trace logs
Nov 30, 2023
fa0df76
trie/triedb/hashdb: take lock around access to dirties cache (#28542)
magicxyyz Nov 30, 2023
f2b509d
accounts/abi/bind: fix typo (#28630)
BorkBorked Dec 1, 2023
dd0d0a2
slog: faster and less memory-consumption (#28621)
holiman Dec 1, 2023
5fb8ebc
eth/tracers: tx-level state in debug_traceCall (#28460)
jsvisa Dec 1, 2023
6e488c2
cmd/evm: fix Env struct json tag (#28635)
ddl-hust Dec 4, 2023
f04e5bd
accounts/abi/bind: fixed typos (#28634)
BorkBorked Dec 4, 2023
70fd0b6
eth/fetcher: fix invalid tracking of received at time for block (#28637)
manav2401 Dec 4, 2023
2e13b01
accounts: run tests in parallel (#28544)
estensen Dec 4, 2023
3dc071e
eth/tracers/logger: make structlog/json-log stack hex again (#28628)
holiman Dec 5, 2023
b8d44ed
log: remove lazy, remove unused interfaces, unexport methods (#28622)
holiman Dec 5, 2023
69576df
.github: use github actions to run 32-bit linux tests (#28549)
gballet Dec 5, 2023
55b483d
ethdb/pebble: remove a dependency (#28627)
MariusVanDerWijden Dec 6, 2023
a113497
tests/fuzzers/bls12381: deactivate BLS fuzzer when CGO_ENABLED=0 (#28…
gballet Dec 7, 2023
77c4bbc
build: upgrade -dlgo version to Go 1.21.5 (#28648)
sandakersmann Dec 7, 2023
5a45e7a
rpc: fix ns/µs mismatch in metrics (#28649)
holiman Dec 8, 2023
1048e2d
cmd/evm: fix dump after state-test exec (#28650)
holiman Dec 8, 2023
fff843c
beacon/light: add CommitteeChain (#27766)
zsfelfoldi Dec 8, 2023
d98d70f
cmd/utils, eth: disallow invalid snap sync / snapshot flag combos (#2…
karalabe Dec 8, 2023
e206d3f
trie: remove inconsistent trie nodes during sync in path mode (#28595)
rjl493456442 Dec 8, 2023
c50337a
Activate Canyon on mainnet & set superchain upgrade flag. (#198)
trianglesphere Dec 12, 2023
a3ca1b2
cmd/utils: fix HTTPHost, WSHost flag priority (#28669)
weiihann Dec 12, 2023
17c2b3c
eth/protocols/eth: fix typos in comments (#28652)
guerrierindien Dec 12, 2023
81fd1b3
core/txpool : small cleanup refactors (#28654)
ucwong Dec 12, 2023
23d7cb5
chore: add changelog doc (#37)
redhdx Dec 13, 2023
b2ced97
eth/fetcher, eth/gasestimator: fix typos in comments (#28675)
Ursulafe Dec 13, 2023
0f74aad
all: fix typos in comments (#28662)
nnsW3 Dec 13, 2023
f1794ba
miner: eliminate the dead loop possibility for `newWorkLoop` and `mai…
FletcherMan Dec 15, 2023
edc864f
all: fix typos in comments (#28682)
bodhi-crypo Dec 18, 2023
5b22a47
p2p/discover: add liveness check in collectTableNodes (#28686)
fjl Dec 18, 2023
02766d3
internal/flags: add missing flag types for auto-env-var generation (#…
sebastianst Dec 18, 2023
05bbc56
cmd/evm: default to mirror mainnet forks enabled (#28691)
jwasinger Dec 18, 2023
553bafc
cmd/evm, cmd/clef, cmd/bootnode: fix / unify logging (#28696)
holiman Dec 18, 2023
c18c5c3
cmd/evm: t8n support custom tracers (#28557)
jsvisa Dec 18, 2023
a18b845
params: release go-ethereum v1.13.6 stable
fjl Dec 18, 2023
5ba3d57
Merge branch 'release/1.13' into release-1.13.6
fjl Dec 18, 2023
da6cdaf
all: release go-ethereum v1.13.6
fjl Dec 18, 2023
4410c14
params: begin v1.13.7 release cycle
fjl Dec 18, 2023
54a400e
internal/ethapi: ethSendTransaction check baseFee (#27834)
jsvisa Dec 18, 2023
cd58897
core/rawdb: implement size reporting for live items in freezer_table …
wangyifan Dec 18, 2023
952b343
build: make linter emit output (#28704)
holiman Dec 19, 2023
5a9dda6
.travis: set lower GOGC value (#28705)
holiman Dec 19, 2023
435bed5
ci: disable lint on travis (#28706)
holiman Dec 19, 2023
0cc192b
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 (#28702)
dependabot[bot] Dec 19, 2023
3fd5688
params: go-ethereum v1.13.7 stable
fjl Dec 19, 2023
c3d9ca6
all: release go-ethereum v1.13.7
fjl Dec 19, 2023
9258a44
params: begin go-ethereum v1.13.8 release cycle
fjl Dec 19, 2023
8e15470
miner: Add block building interruption on payload resolution (getPayl…
sebastianst Dec 19, 2023
7124057
internal/build: fix crash in MustRunCommandWithOutput (#28709)
fjl Dec 20, 2023
d3452a2
accounts: properly close managed wallets when closing manager (#28710)
holiman Dec 20, 2023
8c2d455
build: upgrade to golangci-lint v1.55.2 (#28712)
fjl Dec 20, 2023
577be37
cmd/devp2p: update eth/snap protocol test suites for PoS (#28340)
lightclient Dec 20, 2023
cca9479
core, cmd, trie: fix the condition of pathdb initialization (#28718)
rjl493456442 Dec 21, 2023
f469470
core/rawdb: improve state scheme checking (#28724)
rjl493456442 Dec 22, 2023
904a278
params: go-ethereum v1.13.8 stable
holiman Dec 22, 2023
b20b4a7
all: release go-ethereum v1.13.8
holiman Dec 22, 2023
e417703
4844 prep: Add Ecotone fork check & refactor l1 / data availability c…
Jan 3, 2024
c7871bc
Update superchain dep to include new mainnet targets (#211)
kahuang Jan 3, 2024
95d5458
Merge pull request #44 from andyzhang2023/impr/add-some-metrics-txpool
andyzhang2023 Jan 4, 2024
99f8289
feat: add TrieCommitInterval configuration, commit trie every TrieCom…
welkin22 Jan 5, 2024
edd4395
fix: handle error (#19)
welkin22 Jan 5, 2024
9d35ab5
fix: remove redundant lock (#21)
welkin22 Jan 5, 2024
e13d451
fix: refraining from using gopool for long-running tasks (#20)
welkin22 Jan 5, 2024
1f69107
fix: bubbling up the error when DeriveField() fails (#18)
welkin22 Jan 5, 2024
7a5b85e
add reannounce metric for txpool (#43)
andyzhang2023 Jan 5, 2024
69afb85
txpool: enhance some logs and metrics on broadcasting and annoucing (…
andyzhang2023 Jan 5, 2024
7a606b7
Revert "fix: bubbling up the error when DeriveField() fails (#18)"
owen-reorg Jan 5, 2024
04aa065
fix: cache data after successful writing (#17)
welkin22 Jan 5, 2024
0eb8a65
fix: remove unnecessary newRPCTransactionFromBlockHash function (#22)
welkin22 Jan 5, 2024
a6996ab
fix: add special logic to handle ancestor errors (#14)
welkin22 Jan 5, 2024
d16d0f7
Extend execution payload envelope to contain parent beacon block root
danyalprout Jan 9, 2024
36afcb9
Update eth/catalyst/api.go
danyalprout Jan 9, 2024
feb4dc4
Merge pull request #214 from danyalprout/extend-execution-payload-env…
protolambda Jan 9, 2024
be81fa4
Ecotone l1 cost function
Dec 21, 2023
c887e59
Update core/types/rollup_cost.go
roberto-bayardo Jan 9, 2024
a290ca1
Merge pull request #210 from roberto-bayardo/ecotone-l1-cost-func
protolambda Jan 9, 2024
3a54b56
Merge tag 'v1.13.8' into seb/geth-v1.13.8
sebastianst Jan 9, 2024
32f2bac
eth/gasestimator: Fix NewEVMBlockContext call
sebastianst Jan 9, 2024
3d3dfcd
go: mod tidy
sebastianst Jan 9, 2024
3dcc1dd
forkdiff: Update base hash to v1.13.8
sebastianst Jan 9, 2024
a79bde2
L2 Cancun support, activate on Ecotone (#205)
protolambda Jan 9, 2024
b52ff66
baseFee consistency related renaming
Jan 11, 2024
a72d34b
Merge pull request #216 from roberto-bayardo/baseFee
sebastianst Jan 11, 2024
c2d9dcd
Add log for ecotone time
mdehoog Jan 11, 2024
98cdc6b
Merge pull request #217 from mdehoog/ecotone-log
sebastianst Jan 11, 2024
29b173b
log: Add Handler getter to Logger interface
sebastianst Jan 11, 2024
94dd378
Merge remote-tracking branch 'origin/optimism' into seb/geth-v1.13.8
sebastianst Jan 15, 2024
fb9e95e
github: Remove go workflow
sebastianst Jan 15, 2024
75ee01e
ethapi: handle fee-scalar receipt attribute
protolambda Jan 16, 2024
d5f142e
Merge pull request #219 from ethereum-optimism/fix-ecotone-feescalar
ajsutton Jan 17, 2024
c83fde1
doc: update v0.2.2 changelog (#48)
owen-reorg Jan 17, 2024
d0038b3
revert to 547f15be87132b3cdfac23887baeecceb1a8c4ef
nolanxyg Jan 19, 2024
9dfbad6
Merge branch 'op-devel' into merge-upstream
nolanxyg Jan 19, 2024
ec72ec6
Snap Sync: consensus: handle legacy pre-bedrock header verification (…
protolambda Jan 22, 2024
396bfc4
params: Increment supported protocol version (Ecotone rc)
sebastianst Jan 23, 2024
fe5a2b4
go: Update superchain-registry to include goerli-dev-0 Ecotone
sebastianst Jan 23, 2024
bfa8ffc
Merge pull request #221 from ethereum-optimism/seb/proto-version-ecotone
sebastianst Jan 23, 2024
6687124
fix: ledger hardware wallet support on mac
felipe-op Jan 23, 2024
7f23da6
add fork.yaml
felipe-op Jan 24, 2024
a4e85ec
Merge pull request #223 from ethereum-optimism/felipe/ledger
protolambda Jan 24, 2024
288b43d
core/types: SetBlobTxSidecar to support blob tx tooling
protolambda Jan 24, 2024
5c6f10d
Merge pull request #224 from ethereum-optimism/set-sidecar
protolambda Jan 24, 2024
d4c556b
modify canyon fork: remove misc.EnsureCreate2Deployer for opBNB
nolanxyg Jan 25, 2024
c8a137c
update transaction_args to latest for blob support
Jan 25, 2024
4e134b2
Merge pull request #225 from roberto-bayardo/update-transacion-args
protolambda Jan 25, 2024
fb90ca3
Merge branch 'optimism' into seb/geth-v1.13.8
sebastianst Jan 26, 2024
298900c
core/state: Add StateDB.OpenStorageTrie
sebastianst Jan 26, 2024
4142a46
apply perf optimize historic commit: engine api and miner improve for…
nolanxyg Jan 28, 2024
4c21c90
feat: sync pebble db from bsc (#51)
will-2012 Jan 29, 2024
371bc44
feat: sync inspect mpt tool from bsc (#52)
will-2012 Jan 29, 2024
acdd1f0
feat: add reannounce to tx pool
nolanxyg Jan 29, 2024
fa30b5e
txpool: enhance logs and metrics
nolanxyg Jan 29, 2024
804cea2
chore: apply .github files, CHANGELOG.md and Dockerfile
nolanxyg Jan 29, 2024
d35dd23
Bump superchain dependency to contain sepolia-dev-0 Ecotone activation
sebastianst Jan 30, 2024
662fa05
Bump go versions to 1.21 in cci and Dockerfiles
sebastianst Jan 30, 2024
311ee02
all: temporary Go 1.21 lint solution
protolambda Jan 30, 2024
33cb331
Merge pull request #230 from ethereum-optimism/seb/oplabs-sepolia-dev…
protolambda Jan 30, 2024
d15e84e
feat: add precontract hardfork
nolanxyg Jan 30, 2024
34a9df5
fix(txpool): add SubscribeReannoTxsEvent method to TxPool
nolanxyg Jan 30, 2024
427d894
feat: add precompiled contracts for Greenfield link and fermat chain …
nolanxyg Jan 30, 2024
c84c6ad
config: add opBNB default bootnodes
nolanxyg Jan 30, 2024
9114a97
fix: prune uses the latest block height as the target by default (#46)
welkin22 Jan 30, 2024
e3e9689
feat: add TrieCommitInterval configuration, commit trie every TrieCom…
nolanxyg Jan 30, 2024
a71edb3
Merge branch opbnb-develop into merge-upstream
nolanxyg Jan 30, 2024
27921a4
revert dbInspectTrieCmd due to incompatible with upstream
nolanxyg Jan 30, 2024
3f05663
beacon: Fix OP Legacy block hash checks (#228)
trianglesphere Jan 30, 2024
74b44a0
Merge branch 'optimism' into seb/geth-v1.13.8
sebastianst Jan 30, 2024
252287f
fix(config): handle opbnb preset genesis hash in func configOrDefault
nolanxyg Jan 31, 2024
8fab732
fix(crypto): update kzg4844/trusted_setup.json to solve geth panic
nolanxyg Jan 31, 2024
f49155a
core/txpool/legacypool: respect nolocals-setting (#28435)
jp-imx Nov 20, 2023
05786fd
Update superchain registry to include Delta mainnet (#232)
trianglesphere Jan 31, 2024
5eab46c
all: Add Ecotone override flag
sebastianst Jan 31, 2024
ea3c304
Merge pull request #233 from ethereum-optimism/seb/ecotone-override
sebastianst Jan 31, 2024
5d346de
fix: ignore errors that caused by gap to keep peer connection (#49)
krish-nr Feb 1, 2024
8377b0e
fix: fix task stuck and not reassign bug in concurrent-fetch logic (#50)
krish-nr Feb 1, 2024
b15f1ac
ci: add go mod tidy check
geoknee Feb 1, 2024
425e757
Merge branch 'optimism' into seb/geth-v1.13.8
sebastianst Feb 1, 2024
e907d47
fix: log panic if getSealingBlock return error
nolanxyg Feb 2, 2024
2a7bb9c
Merge branch bnb-chain/op-geth develop into merge-upstream
nolanxyg Feb 2, 2024
3910df6
fix: txpool metrics and unit test (#59)
andyzhang2023 Feb 2, 2024
0047f39
Merge pull request #234 from ethereum-optimism/gk/go-mod-tidy-ci
sebastianst Feb 2, 2024
a814f9a
Merge branch 'optimism' into seb/geth-v1.13.8
sebastianst Feb 4, 2024
486b55f
fokdiff: Remove entry for `les`
sebastianst Feb 4, 2024
0538289
core: remove TODO comment
sebastianst Feb 4, 2024
dc4ea63
Remove .orig files
sebastianst Feb 5, 2024
7f7fb4f
Merge pull request #215 from ethereum-optimism/seb/geth-v1.13.8
sebastianst Feb 5, 2024
d48b5d7
Update superchain-reg dependency for OP Sepolia Ecotone activation
sebastianst Feb 7, 2024
70103aa
Merge pull request #240 from ethereum-optimism/seb/ecotone-sepolia-re…
sebastianst Feb 7, 2024
fdf0da8
Deposit Transaction Nonce Correction
axelKingsley Feb 7, 2024
57bfac5
Merge pull request #237 from ethereum-optimism/feat/depositNonceCorre…
axelKingsley Feb 7, 2024
6f3553b
ci: update image to default
geoknee Feb 4, 2024
11a890f
Merge pull request #239 from ethereum-optimism/gk/deprecated-ci-image
sebastianst Feb 8, 2024
6f25e34
core/vm: Allow precompiles to be overriden
Inphi Feb 12, 2024
e965f15
Update core/vm/evm.go
Inphi Feb 12, 2024
b6d0732
Merge pull request #242 from ethereum-optimism/inphi/kzg-oracle
Inphi Feb 12, 2024
ee56d67
Prepare optimistic Ecotone Mainnet release
sebastianst Feb 13, 2024
f33198a
Merge pull request #243 from ethereum-optimism/seb/ecotone-mainnet-re…
sebastianst Feb 13, 2024
abc8821
Skip genesis state check for transitioned networks (#245)
trianglesphere Feb 20, 2024
2f105f7
Default to discovery v5 (#246)
trianglesphere Feb 20, 2024
78436b6
Add OP specific bootnodes (#247)
trianglesphere Feb 21, 2024
993383b
fix(op-geth):fix static peer cannot reassign header tasks (#64)
krish-nr Feb 22, 2024
df0ed57
Fix bootnodes port (#250)
trianglesphere Feb 22, 2024
eb1c8f7
Merge branch 'develop' into merge-upstream-v1.101304.1
bnoieh Feb 22, 2024
c545a4f
Update mainnet activation to Mar 14 00:00:01 UTC
sebastianst Feb 22, 2024
0402d54
Merge pull request #253 from ethereum-optimism/seb/mainnet-ecotone-up…
sebastianst Feb 22, 2024
936937d
core/txpool/legacypool: respect nolocals-setting (#28435)
jp-imx Nov 20, 2023
30393bd
[cherry-pick] core/txpool/legacypool: respect nolocals-setting (#65)
bnoieh Feb 23, 2024
59977b6
feat: add opbnb network flags to get genesis and config from code (#60)
redhdx Feb 23, 2024
ceb83f4
chore: change log level of Peer's transaction rejected
nolanxyg Feb 26, 2024
cb1d57c
miner: Add block building interruption on payload resolution (getPayl…
sebastianst Dec 19, 2023
3e3e4ff
fix: add workaround to relieve affect from txpool bad performance
nolanxyg Mar 6, 2024
326bbfb
core/txpool/legacypool: remove a redundant heap.Init (#28910)
colinlyguo Feb 15, 2024
5b87467
txpool: remove blobPool from subpools
nolanxyg Mar 6, 2024
5e2816d
legacypool: fix BenchmarkListCapOneTx in list_test.go
nolanxyg Mar 7, 2024
415cb1d
chore(ci): checkout with submodules
nolanxyg Mar 8, 2024
ebb5060
Merge pull request #58 from bnb-chain/merge-upstream-v1.101304.1
owen-reorg Mar 8, 2024
6c6833a
feat: add async buffer (#69)
will-2012 Mar 19, 2024
c18478a
chore: add v0.3.0 changlog (#72)
bnoieh Mar 19, 2024
d6fbbc7
bugfix: fix Resubscribe deadlock when unsubscribing after inner sub e…
welkin22 Mar 29, 2024
c5a0092
chore: add miner perf metrics (#71)
bnoieh Apr 8, 2024
d5ba7d9
feat: EVM execution opcode level optimization (#77)
sunny2022da Apr 9, 2024
3813e13
cmd/geth: add hbss to pbss convert tool (#79)
sysvm Apr 9, 2024
2bf1a70
feat: introduce hash cache to improve performance (#81)
sunny2022da Apr 11, 2024
65108d1
Merge branch 'upstream-geth/v1.101308.2' into merge/for_4844_merge
welkin22 Apr 12, 2024
af32034
Fix go.mod and lost import items when merging
welkin22 Apr 12, 2024
42b6219
rollup.superchain-upgrades default value to false because we don't ne…
welkin22 Apr 15, 2024
0b1f3ed
feat: support getting withdrawal proof on pbss (#74)
joeylichang Apr 15, 2024
37262be
Merge remote-tracking branch 'opbnb-geth/develop' into merge/for_4844…
welkin22 Apr 18, 2024
d04dda4
fix: fix base buffer concurrent read/write race (#88)
will-2012 Apr 23, 2024
6d7b454
docker file use go 1.21
welkin22 Apr 23, 2024
eaeee8a
get hardfork times from chConfig, not superchainConfig
geoknee Feb 22, 2024
be00491
remove RegolithTime overrides
geoknee Feb 22, 2024
f320edb
go get github.com/ethereum-optimism/superchain-registry/superchain@12…
geoknee Feb 23, 2024
dce355e
update superchain dependency
geoknee Feb 27, 2024
4b4d5d6
Revert "remove RegolithTime overrides"
geoknee Feb 27, 2024
7bcce13
go mod tidy
geoknee Feb 27, 2024
21adbac
go get github.com/ethereum-optimism/superchain-registry/superchain@c2…
geoknee Feb 29, 2024
22544d4
go get github.com/ethereum-optimism/superchain-registry/superchain@69…
geoknee Mar 5, 2024
5ef5278
go get github.com/ethereum-optimism/superchain-registry/superchain@c5…
geoknee Mar 6, 2024
c3e3ab1
Merge branch 'develop' into merge/for_4844_merge
welkin22 Apr 24, 2024
af39caa
feat: simplify node start (#91)
redhdx Apr 25, 2024
882e17a
feat: implement fast node (#75)
yutianwu Apr 25, 2024
eb04f48
Merge branch 'develop' into merge/for_4844_merge
welkin22 Apr 25, 2024
b5a0d4a
remove light dir which should not exist
welkin22 Apr 25, 2024
f42d592
doc: update v0.3.1 changelog (#97)
owen-reorg Apr 26, 2024
6cc5d7f
feature(op-geth): update opBNB qanet config (#99)
redhdx Apr 28, 2024
fa2ac3e
canyon fork: revert disable create2deployer in canyon fork (#100)
bnoieh Apr 28, 2024
6bd9618
Merge branch 'develop' into merge/for_4844_merge
welkin22 Apr 28, 2024
c0a225e
regenerate config toml marshal file
welkin22 Apr 29, 2024
e0289db
feature(op-geth): add opBNB qanet hard fork config (#101)
redhdx Apr 29, 2024
c013d95
add precompiled contracts for light client (#102)
keefel Apr 30, 2024
d46af07
fork config for 4844-2 qanet
welkin22 May 6, 2024
536ac5d
feature: add opBNB V5 bootnodes (#104)
redhdx May 6, 2024
83bf6cd
add bls example (#105)
keefel May 6, 2024
7acbb10
Merge pull request #87 from bnb-chain/merge/for_4844_merge
owen-reorg May 7, 2024
d109de1
fix: the TrieCommitInterval not taking effect on restart (#106)
welkin22 May 7, 2024
a2632cc
config: Testnet 4844 fork time (#107)
welkin22 May 7, 2024
8da2b2f
cmd/dbcmd: add inspect trie tool (#103)
sysvm May 9, 2024
f8d1c9e
fix: cherry-picked from upstream code (#109)
welkin22 May 14, 2024
52661bd
fix: add miss cache code after 4844 merge (#110)
welkin22 May 17, 2024
e916a8a
feat: add proof keeper (#90)
will-2012 May 21, 2024
ee34128
feature(op-geth): add precompile for secp256r1 curve after haber hard…
redhdx May 21, 2024
f9643c4
fix: adjust flush condition to avoid not flush (#114)
will-2012 May 24, 2024
0380943
config: Mainnet Shanghai/Canyon/Cancun/Ecotone/Haber fork time (#116)
welkin22 May 27, 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
  •  
  •  
  •  
20 changes: 15 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
type: boolean
default: false
machine:
image: ubuntu-2204:2022.07.1
image: default
resource_class: xlarge
steps:
- gcp-cli/install
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

build-geth:
docker:
- image: cimg/go:1.19
- image: cimg/go:1.21
resource_class: xlarge
steps:
- checkout
Expand All @@ -121,22 +121,30 @@ jobs:
unit-test:
resource_class: xlarge
docker:
- image: cimg/go:1.19
- image: cimg/go:1.21
steps:
- checkout
- run:
command: go run build/ci.go test
lint-geth:
resource_class: medium
docker:
- image: cimg/go:1.19
- image: cimg/go:1.21
steps:
- checkout
- run:
command: go run build/ci.go lint
tidy-geth:
resource_class: small
docker:
- image: cimg/go:1.21
steps:
- checkout
- run:
command: go mod tidy && git diff --exit-code
check-releases:
docker:
- image: cimg/go:1.19
- image: cimg/go:1.21
steps:
- checkout
- run:
Expand All @@ -157,6 +165,8 @@ workflows:
name: Run unit tests for geth
- lint-geth:
name: Run linter over geth
- tidy-geth:
name: Check geth go.mod file has been tidied
- docker-release:
name: Push to Docker
docker_tags: <<pipeline.git.revision>>
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
eth/tracers/ @s1na
graphql/ @gballet @s1na
graphql/ @s1na
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
node/ @fjl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ jobs:
provenance: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ jobs:
with:
reviewers: ${{ vars.REVIEWERS }}
max-num-of-reviewers: 2

14 changes: 8 additions & 6 deletions .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Unit Test

on:
pull_request:
types: [ opened, synchronize, reopened ]
types: [opened, synchronize, reopened]
push:
branches: [main, develop]

Expand All @@ -11,8 +11,10 @@ jobs:
name: unit_test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21.3'
- run: make test
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ profile.cov
/dashboard/assets/package-lock.json

**/yarn-error.log
logs/

tests/spec-tests/
5 changes: 1 addition & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ run:
linters:
disable-all: true
enable:
- goconst
- goimports
- gosimple
- govet
Expand All @@ -39,9 +38,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 All @@ -62,3 +58,4 @@ issues:
- 'SA1019: strings.Title is deprecated'
- 'SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.'
- 'SA1029: should not use built-in type string as key for value'
- 'SA1019:' # temporary, until fully updated to Go 1.21
55 changes: 17 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,14 @@ jobs:
- azure-osx

include:
# This builder only tests code linters on latest version of Go
- stage: lint
os: linux
dist: bionic
go: 1.20.x
env:
- lint
git:
submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go lint

# These builders create the Docker sub-images for multi-arch push and each
# will attempt to push the multi-arch image if they are the last builder
- stage: build
if: type = push
os: linux
arch: amd64
dist: bionic
go: 1.20.x
go: 1.21.x
env:
- docker
services:
Expand All @@ -45,7 +33,7 @@ jobs:
os: linux
arch: arm64
dist: bionic
go: 1.20.x
go: 1.21.x
env:
- docker
services:
Expand All @@ -63,10 +51,9 @@ jobs:
os: linux
dist: bionic
sudo: required
go: 1.20.x
go: 1.21.x
env:
- azure-linux
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
addons:
Expand Down Expand Up @@ -97,56 +84,51 @@ jobs:
- stage: build
if: type = push
os: osx
go: 1.20.x
osx_image: xcode14.2
go: 1.21.x
env:
- azure-osx
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- go run build/ci.go install -dlgo -arch arm64
- go run build/ci.go archive -arch arm64 -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# These builders run the tests
- stage: build
os: linux
arch: amd64
dist: bionic
go: 1.20.x
env:
- GO111MODULE=on
go: 1.21.x
script:
- go run build/ci.go test $TEST_PACKAGES
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

- stage: build
if: type = pull_request
os: linux
arch: arm64
dist: bionic
go: 1.19.x
env:
- GO111MODULE=on
go: 1.20.x
script:
- go run build/ci.go test $TEST_PACKAGES
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

- stage: build
os: linux
dist: bionic
go: 1.19.x
env:
- GO111MODULE=on
go: 1.20.x
script:
- go run build/ci.go test $TEST_PACKAGES
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

# This builder does the Ubuntu PPA nightly uploads
- stage: build
if: type = cron || (type = push && tag ~= /^v[0-9]/)
os: linux
dist: bionic
go: 1.20.x
go: 1.21.x
env:
- ubuntu-ppa
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
addons:
Expand All @@ -167,10 +149,9 @@ jobs:
if: type = cron
os: linux
dist: bionic
go: 1.20.x
go: 1.21.x
env:
- azure-purge
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
script:
Expand All @@ -181,9 +162,7 @@ jobs:
if: type = cron
os: linux
dist: bionic
go: 1.20.x
env:
- GO111MODULE=on
go: 1.21.x
script:
- go run build/ci.go test -race $TEST_PACKAGES
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

101 changes: 101 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,106 @@
# Changelog

## v0.3.1

This is a minor release for opBNB Mainnet and Testnet.

In this release, we've introduced significant optimizations and enhancements across various modes and functionalities, including PBSS Mode optimizations, the introduction of Fast Node Mode, EVM execution improvements, and a simplified start command, aimed at enhancing performance and user experience.

Upgrading is optional.

### User Facing Changes

- **PBSS Mode Optimizations**: We have made multiple optimizations for PBSS mode, including the implementation of an async buffer, support for obtaining withdrawal proof on PBSS, and the introduction of an HBSS to PBSS convert tool. For more details, please refer to #69, #74, and #79.
- **Fast Node Mode**: We have introduced a new mode called "Fast Node" to improve the performance and reduce the resources required by the node. This enhancement is aimed at providing a more efficient and streamlined experience. Please see more details in #75.
- **EVM Execution Opcode Level Optimization**: Our latest update includes optimizations at the EVM execution opcode level, resulting in improved performance for EVM execution. For a deeper understanding of these changes, please refer to #77 and #81.
- **Simplified Start Command**: We have simplified the start command by enabling the selection of default network configuration through the use of `--opBNBMainnet` or `--opBNBTestnet` in the command. This enhancement aims to streamline the user experience. More information can be found in #91.

### Partial Changelog

- [#69](https://github.com/bnb-chain/op-geth/pull/69): feat: add async buffer
- [#71](https://github.com/bnb-chain/op-geth/pull/71): chore: add miner perf metrics
- [#74](https://github.com/bnb-chain/op-geth/pull/74): feat: support getting withdrawal proof on pbss
- [#75](https://github.com/bnb-chain/op-geth/pull/75): feat: implement fast node
- [#76](https://github.com/bnb-chain/op-geth/pull/76): bugfix: fix Resubscribe deadlock when unsubscribing after inner sub ends
- [#77](https://github.com/bnb-chain/op-geth/pull/77): feat: EVM execution opcode level optimization
- [#79](https://github.com/bnb-chain/op-geth/pull/79): cmd/geth: add hbss to pbss convert tool
- [#81](https://github.com/bnb-chain/op-geth/pull/81): feat: introduce hash cache to improve performance
- [#88](https://github.com/bnb-chain/op-geth/pull/88): fix: fix base buffer concurrent read/write race
- [#91](https://github.com/bnb-chain/op-geth/pull/91): feat: simplify node start

### Docker Images

- ghcr.io/bnb-chain/op-geth:v0.3.1

### Full Changelog

https://github.com/bnb-chain/op-geth/compare/v0.3.0...v0.3.1

## v0.3.0

This is a recommended release for op-geth. This release brings in upstream updates, see https://github.com/bnb-chain/op-geth/pull/58 for the contents. This is also a ready release for the next planed fork, which will bring in canyon fork from upstream as well.

### User Facing Changes

- Feature of config tries layer number in memory is removed, and related flag `--triesInMemory` is deleted.
- If start a fresh node, will use pebble db as default(set `--db.engine=leveldb` if prefer leveldb)
- You can start opbnb mainnet or testnet without init genesis.json, and use flag `--opBNBMainnet` or `--opBNBTestnet` to start new node. If you have already inited genesis.json, you can still use these two flags, which will check whether the content of your init is correct.

### Partial Changelog

- [#64](https://github.com/bnb-chain/op-geth/pull/64): fix(op-geth):fix static peer cannot reassign header tasks
- [#60](https://github.com/bnb-chain/op-geth/pull/60): feature: add opbnb networks' genesis
- [#58](https://github.com/bnb-chain/op-geth/pull/58): Merge upstream op-geth v1.101304.1
- [#51](https://github.com/bnb-chain/op-geth/pull/51): feat: sync pebble db from bsc
- [#50](https://github.com/bnb-chain/op-geth/pull/50): fix: fix task stuck and not reassign bug in concurrent-fetch logic
- [#49](https://github.com/bnb-chain/op-geth/pull/49): fix: ignore errors that caused by gap to keep peer connection
- [#46](https://github.com/bnb-chain/op-geth/pull/46): fix: prune uses the latest block height as the target by default

### Docker Images

- ghcr.io/bnb-chain/op-geth:v0.3.0

### Full Changelog

https://github.com/bnb-chain/op-geth/compare/v0.2.2...v0.3.0

## v0.2.2

This is a minor release for opBNB Mainnet and Testnet.
It primarily optimizes op-geth and introduces an option to re-announce remote transactions.
Upgrading is optional.

### User Facing Changes

- The startup node will default to using the bootnodes of the opBNB mainnet. If the `--networkid=` is configured as testnet, the testnet bootnodes will be used. If `--bootnodes=` is configured, the specified bootnodes will be used. The configured `--bootnodes=` take precedence over other options.[#32](https://github.com/bnb-chain/op-geth/pull/32)
- Enable re-announce remote transactions by using the flag `--txpool.reannounceremotes=true`.[#33](https://github.com/bnb-chain/op-geth/pull/33)

### Partial Changelog

- [#14](https://github.com/bnb-chain/op-geth/pull/14): fix: add special logic to handle ancestor errors[BNB-3]
- [#16](https://github.com/bnb-chain/op-geth/pull/16): fix: wrong event log value
- [#17](https://github.com/bnb-chain/op-geth/pull/17): fix: cache data after successful writing[BNB-12]
- [#19](https://github.com/bnb-chain/op-geth/pull/19): fix: handle error in state_prefetcher.go and blockchain.go[BNB-16]
- [#20](https://github.com/bnb-chain/op-geth/pull/20): fix: refraining from using gopool for long-running tasks[BNB-19]
- [#21](https://github.com/bnb-chain/op-geth/pull/21): fix: remove redundant lock[BNB-20]
- [#22](https://github.com/bnb-chain/op-geth/pull/22): fix: remove unnecessary newRPCTransactionFromBlockHash function[BNB-21]
- [#31](https://github.com/bnb-chain/op-geth/pull/31): ci: fix blst error and unknown architecture
- [#32](https://github.com/bnb-chain/op-geth/pull/32): feature: add opBNB bootnodes
- [#33](https://github.com/bnb-chain/op-geth/pull/33): feat: add option to reannounce remote transactions
- [#34](https://github.com/bnb-chain/op-geth/pull/34): fix: clear underpriced buffer
- [#41](https://github.com/bnb-chain/op-geth/pull/41): txpool: enhance some logs and metrics on broadcasting and annoucing
- [#43](https://github.com/bnb-chain/op-geth/pull/43): chore: add reannounce metric for txpool
- [#44](https://github.com/bnb-chain/op-geth/pull/44): chore: impr/add some metrics txpool
- [#45](https://github.com/bnb-chain/op-geth/pull/45): feat: add TrieCommitInterval configuration, commit trie every TrieCommitInterval blocks

### Docker Images

- ghcr.io/bnb-chain/op-geth:v0.2.2

### Full Changelog

https://github.com/bnb-chain/op-geth/compare/v0.2.1...v0.2.2

## v0.2.1

This is the Fermat Hardfork release for opBNB Mainnet.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM golang:1.20-alpine as builder
FROM golang:1.21-alpine as builder

RUN apk add --no-cache build-base libc-dev
RUN apk add --no-cache gcc musl-dev linux-headers git
Expand Down
Loading
Loading