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

feat: Rebase to latest nitro-v3.3.2 commit #3

Merged
merged 353 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
353 commits
Select commit Hold shift + click to select a range
f2a6ac1
eth/catalyst: fix flaw in withdrawal-gathering in simulated beacon (#…
AaronChen0 Mar 26, 2024
1dd898c
tests: fix panic via state test runner using json logger (#29349)
holiman Mar 26, 2024
58a3e2f
core/state: perform updates before deletions when mutating tries (#29…
jwasinger Mar 26, 2024
723b1e3
all: fix mismatched names in comments (#29348)
AaronChen0 Mar 26, 2024
da7469e
core: add an end-to-end verkle test (#29262)
gballet Mar 26, 2024
304879d
eth/protocols/snap: check storage root existence for hash scheme (#29…
rjl493456442 Mar 27, 2024
8bb8f23
beacon/engine: Fix json param name in GetClientVersionV1 (#29351)
pawanjay176 Mar 27, 2024
fa5019d
accounts/keystore: fix typos in comments (#29336)
crazeteam Mar 27, 2024
767b00b
t8ntool: add optional call frames to json logger (#29353)
s1na Mar 27, 2024
7aba651
ethdb/dbtest: replace reflect.DeepEqual with slices.Equal (#29382)
cuiweixie Mar 28, 2024
3b77e0f
core: remove unused code (#29381)
rjl493456442 Mar 28, 2024
3754a6c
p2p/dnsdisc: using maps.Copy (#29377)
cuiweixie Mar 28, 2024
7481398
core/state: using slices.Clone (#29366)
cuiweixie Mar 28, 2024
0183c7a
eth/tracers/logger: using maps.Equal (#29384)
cuiweixie Mar 28, 2024
a382917
eth/tracers/js: consistent name for method receivers (#29375)
bnovil Mar 28, 2024
c39d00e
trie: using maps.Clone (#29419)
cuiweixie Apr 1, 2024
6c9f702
core/types: using maps.Clone (#29398)
cuiweixie Apr 1, 2024
8c5576b
eth/tracers: fix base fee and set blob fee in tests (#29376)
jsvisa Apr 1, 2024
fde9044
log: replace the outdated link (#29412)
carehabit Apr 2, 2024
31e63fc
rlp: using maps.Clone (#29434)
cuiweixie Apr 2, 2024
e63f992
rpc: fix ipc max path size (#29385)
fearlesschenc Apr 2, 2024
0bd03db
eth/filter: using atomic.Pointer instead of atomic.Value (#29435)
cuiweixie Apr 2, 2024
fe0bf32
cmd/evm: reopen the statedb for dumping (#29437)
rjl493456442 Apr 2, 2024
ab6419c
core/state: use maps.Clone (#29365)
cuiweixie Apr 2, 2024
12dcc16
common/lru: use clear builtin (#29399)
cuiweixie Apr 2, 2024
a83e576
eth/fetcher: using slices.Contains (#29383)
cuiweixie Apr 2, 2024
dfb3d46
p2p: add inbound and outbound peers metric (#29424)
weiihann Apr 2, 2024
7bb3fb1
eth: simplify peer counting logic (#29420)
cuiweixie Apr 3, 2024
1f8f137
build: upgrade -dlgo version to Go 1.22.2 (#29448)
sandakersmann Apr 4, 2024
6b39e92
beacon/engine: using slices.Contains (#29396)
cuiweixie Apr 4, 2024
eea0acc
log: using maps.Clone (#29392)
cuiweixie Apr 4, 2024
2e0c5e0
p2p/dnsdisc: using clear builtin func (#29418)
cuiweixie Apr 4, 2024
8bd0334
crypto/signify: close tmp key file in test (#29444)
testwill Apr 4, 2024
9dfe728
p2p/discover: using slices.Contains (#29395)
cuiweixie Apr 4, 2024
9cb8de8
internal/debug: convert legacy log level value in debug_verbosity (#2…
lightclient Apr 4, 2024
a851e39
core/types: use new atomic types in caches (#29411)
lmittmann Apr 4, 2024
e3bdd84
core/txpool: repair the limbo Billy too on unclean shutdowns (#29451)
karalabe Apr 4, 2024
15ff066
trie/utils: change Div+Mod to DivMod (#29413)
AaronChen0 Apr 4, 2024
35fcf9c
beacon/types: enforce fork order based on known forks list (#29380)
zsfelfoldi Apr 4, 2024
7ee9a6e
signer: implement blob txs sendtxargs, enable blobtx-signing (#28976)
holiman Apr 5, 2024
4458905
signer/core/apitypes: fix apitypes breakage due to bitrotted PR (#29470)
holiman Apr 5, 2024
cc348a6
common/prque: fix godoc comments (#29460)
georgehao Apr 6, 2024
74995bf
all: use slices.Contains (#29459)
AaronChen0 Apr 6, 2024
ccb76c0
eth/tracers: use slices.Contains (#29461)
AaronChen0 Apr 6, 2024
8876868
log: default JSON log handler should log all verbosity levels (#29471)
Apr 6, 2024
7aafad2
core/vm: better error-info for vm errors (#29354)
holiman Apr 6, 2024
0dc09da
all: replace path.Join with filepath.Join (#29479)
imalasong Apr 8, 2024
cfc7d06
signer/core/apitypes: use slices.Contains (#29474)
AaronChen0 Apr 8, 2024
ed4bc7f
all: replace fmt.Errorf() with errors.New() if no param required (#29…
AaronChen0 Apr 8, 2024
c3465cb
core: fix dev mode genesis difficulty (#29469)
s1na Apr 8, 2024
3c75c64
core: fix typo (#29438)
seay404 Apr 8, 2024
c170cc0
core/vm: reject contract creation if the storage is non-empty (#28912)
rjl493456442 Apr 8, 2024
70bf94c
internal, signer/core: replace path.Join with filepath.Join (#29489)
AaronChen0 Apr 9, 2024
f447de9
rlp: replace reflect.PtrTo with reflect.PointerTo (#29488)
mohanson Apr 9, 2024
3caf617
core/vm: move bls precompiles to correct addresses (#29445)
cuiweixie Apr 9, 2024
1126c6d
core: add txlookup lock (#29343)
rjl493456442 Apr 9, 2024
0bbd88b
all: use timer instead of time.After in loops, to avoid memleaks (#29…
songzhibin97 Apr 9, 2024
f202dfd
core/tracing: add changelog (#29388)
s1na Apr 9, 2024
34aac1d
all: use big.Sign to compare with zero (#29490)
AaronChen0 Apr 9, 2024
9dcf8aa
eth/protocols/snap: skip retrieval for completed storages (#29378)
rjl493456442 Apr 10, 2024
b9010f3
rpc: fix comment grammar (#29507)
Newt6611 Apr 11, 2024
bd91810
cmd: fix some typos in readmes (#29405)
ForestKeeperIO Apr 11, 2024
b179b7b
all: remove duplicate word in comments (#29531)
Abirdcfly Apr 15, 2024
3705acd
cmd/utils: fix typo in comment (#29528)
yudrywet Apr 15, 2024
84b12df
core/rawdb: add sanity-limit to header accessor (#29534)
holiman Apr 15, 2024
67422e2
p2p/nat: fix typos in comments (#29536)
dbadoy Apr 15, 2024
ef5ac3f
eth/filters: enforce topic-limit early on filter criterias (#29535)
holiman Apr 15, 2024
d3c4466
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, i…
rjl493456442 Apr 16, 2024
e4ecaf8
rpc: implement Unwrap() for wsHandshakeError (#29522)
sucramx Apr 16, 2024
71c78bf
rpc: close Clients in tests (#29512)
darioush Apr 16, 2024
f437307
core/vm: update gascosts for BLS12-381 + use gnark instead of kilic (…
MariusVanDerWijden Apr 16, 2024
fadd9d8
eth/catalyst: fix log (#29549)
Apr 16, 2024
72f6936
c.d/utils: rename vmtrace.config to vmtrace.jsonconfig (#29554)
ziogaschr Apr 16, 2024
65e32d4
go.mod: clean up indirection (#29553)
ucwong Apr 16, 2024
5ffd940
core: go fmt (#29544)
ucwong Apr 16, 2024
0a51028
all: fix various typos (#29542)
persmor Apr 16, 2024
92da96b
core/vm: refactor push-functions to use `min` builtin (#29515)
Apr 16, 2024
27de7de
ethdb/pebble: print warning log if pebble performance degrades (#29478)
rjl493456442 Apr 17, 2024
74e8d2d
trie/utils: simplify codeChunkIndex (#29480)
AaronChen0 Apr 17, 2024
1e9bf2a
core/state: fix bug in statedb.Copy and remove unnecessary preallocat…
AaronChen0 Apr 17, 2024
0da69e8
beacon/blsync: proceed with empty finalized hash if proof is not expe…
zsfelfoldi Apr 17, 2024
5f95145
eth/ethconfig: regenerate autogen files (#29559)
ucwong Apr 18, 2024
b5902cf
core: remove unused fields (#29569)
rjl493456442 Apr 18, 2024
823719b
core/vm: enable bls-precompiles for Prague (#29552)
holiman Apr 18, 2024
81349ff
eth/catalyst: fix typo (#29580)
pengwenhui888 Apr 19, 2024
cce879b
tests: define cancun-to-prague at 15K chainconig (#29557)
marioevz Apr 19, 2024
2e06fbd
core/vm: add KZG benchmark (#29583)
MariusVanDerWijden Apr 19, 2024
98f504f
p2p/discover: fix test error messages (#29592)
bugmaker9371 Apr 21, 2024
28ccb2b
build: fix string compare for SortFunc (#29595)
AaronChen0 Apr 21, 2024
ad3d8cb
cmd/geth: remove unused parameter (#29602)
javaandfly Apr 22, 2024
82b0dec
eth/filters: remove support for pending logs (#29574)
fjl Apr 22, 2024
c2dfe7a
go.mod: update golang/x repos (#29604)
karalabe Apr 22, 2024
1ec7af2
eth: Add eth_blobBaseFee RPC and blob fields to eth_feeHistory (#29140)
ryanschneider Apr 22, 2024
e6689fe
beacon/light/sync: print error log if checkpoint retrieval fails (#29…
zsfelfoldi Apr 22, 2024
acd1eaa
core: remove bad block checks (#29609)
rjl493456442 Apr 22, 2024
853e0c2
eth/catalyst, trie/pathdb: fix flaky tests (#29571)
holiman Apr 23, 2024
0e380dd
miner: fix typos (#29625)
0xmountaintop Apr 23, 2024
709e0b3
metrics: remove librato (#29624)
AaronChen0 Apr 23, 2024
b2b0e1d
all: fix various typos (#29600)
hr98w Apr 23, 2024
256d4b0
beacon/light: request finality update explicitly when necessary (#29567)
zsfelfoldi Apr 23, 2024
9457993
core/vm: fix Prague contracts (#29612)
marioevz Apr 23, 2024
882d1e2
cmd/geth, cmd/utils: rename config and flag to` VMTraceJsonConfig` (#…
ziogaschr Apr 24, 2024
fb08fd3
core/tracing: Add OnClose Trace Hook (#29629)
ziogaschr Apr 24, 2024
ade7515
eth, eth/tracers: process beacon root before transactions (#29402)
maoueh Apr 24, 2024
5f3c58f
eth/downloader: fix case where skeleton reorgs below the filled block…
jwasinger Apr 24, 2024
87246f3
params: release Geth v1.14.0
karalabe Apr 24, 2024
938734b
params: begin 1.14.1 release cycle
karalabe Apr 24, 2024
0d4c388
core/state: remove account reset operation v2 (#29520)
holiman Apr 24, 2024
ac21f9b
trie: preallocate capacity for fields slice (#29614)
qcrao Apr 24, 2024
7362691
trie, consensus/clique: use maps.Clone (#29616)
AaronChen0 Apr 24, 2024
4f4f9d8
core/state: storage journal entry should revert dirtyness too (#29641)
karalabe Apr 24, 2024
2f6ff49
internal/ethapi: typo (#29636)
yosuzzy Apr 25, 2024
a13b925
eth/protocols/eth,p2p/discover: remove unnecessary checks (#29590)
undefinedor Apr 25, 2024
243cde0
core/state: better randomized testing (postcheck) on journalling (#29…
holiman Apr 25, 2024
1f628d8
build: build all the builders to build all the builders (#29647)
karalabe Apr 25, 2024
a0282fc
travis: temporarilly enable PPA builds for testing (#29648)
karalabe Apr 25, 2024
634d037
travis: revert the PPA fix hot-build, it works (#29649)
karalabe Apr 25, 2024
ad4fb2c
build: drop trusty from PPA builds, EOL and incompatible (#29651)
karalabe Apr 25, 2024
8d42e11
core/state: revert pending storage updates if they revert to original…
karalabe Apr 26, 2024
4253030
core/state: move metrics out of state objects (#29665)
karalabe Apr 26, 2024
4bdbaab
params: clarify consensus engine config `String`s (#29643)
roysc Apr 28, 2024
8c3fc56
p2p/simulations/adapters: use maps.Clone (#29626)
AaronChen0 Apr 29, 2024
fecc8a0
cmd/evm/internal/t8ntool, core: prealloc map sizes where possible (#2…
mask-pp Apr 30, 2024
69f815f
params: print time value instead of pointer in ConfigCompatError (#29…
NathanBSC Apr 30, 2024
c04b8e6
cmd/utils: require TTD and difficulty to be zero at genesis for dev m…
fselmo Apr 30, 2024
f46c878
core/rawdb: implement in-memory freezer (#29135)
rjl493456442 Apr 30, 2024
242b24a
trie/trienode: minor speedup in nodeset merging (#29683)
holiman Apr 30, 2024
ea89f9a
core/vm: remove a redundant zero check in opAddmod (#29672)
AaronChen0 Apr 30, 2024
7c7e3a7
eth/tracers/native: fix flatCallTracer Stop() bug (#29623)
draganm Apr 30, 2024
bd6bc37
core/vm: add subgroup checks for mul/mulexp for G1/G2 (#29637)
MariusVanDerWijden Apr 30, 2024
5e07054
internal/ethapi: listen to ctx cancellation in access list (#29686)
holiman Apr 30, 2024
2e8e35f
all: refactor so `NewBlock`, `WithBody` take `types.Body` (#29482)
lightclient Apr 30, 2024
45baf21
eth/downloader: purge pre-merge sync code (#29281)
jwasinger Apr 30, 2024
f8820f1
accounts, cmd/geth, core: close opened files (#29598)
songzhibin97 Apr 30, 2024
9f96e07
core/rawdb, trie: improve db APIs for accessing trie nodes (#29362)
rjl493456442 Apr 30, 2024
682ee82
core/state: parallelise parts of state commit (#29681)
karalabe May 2, 2024
bc609e8
core/vm: remove redundant error checks (#29692)
AaronChen0 May 2, 2024
fbf6238
params: fix misleading comments (#29684)
NathanBSC May 2, 2024
2c67fab
trie/pathdb: preallocate map capacity (#29690)
mask-pp May 2, 2024
86a1f0c
core/rawdb: fix ancient root folder (#29697)
rjl493456442 May 2, 2024
905e325
p2p/discover/v5wire: add tests for invalid handshake and auth data si…
kiarash8112 May 6, 2024
a09a610
core/tracing: add system call callback when performing `ProcessBeacon…
maoueh May 6, 2024
43cbcd7
core, core/state: move TriesInMemory to state package (#29701)
gballet May 6, 2024
3e896c8
ethdb/pebble: fix pebble metrics registration (#29699)
magicxyyz May 6, 2024
e4b8058
eth/gasprice: add query limit for FeeHistory to defend DDOS attack (#…
NathanBSC May 7, 2024
d6e91e2
eth/gasestimator: include blobs in virtual balance computation (#29703)
nand2 May 7, 2024
71aa15c
travis: use ubuntu noble (24.04) instead of bionic (18.04) (#29723)
holiman May 7, 2024
e96de64
build: upgrade to go 1.22.3 (#29725)
fjl May 7, 2024
9ec5008
core: use in-memory freezer for tests (#29720)
rjl493456442 May 8, 2024
dd4afb9
.travis.yml: fix install of gcc-multilib (#29733)
fjl May 8, 2024
6154f87
.travis.yml: fix apt-get options (#29734)
fjl May 8, 2024
dd09f7e
params: release go-ethereum v1.14.1 stable
fjl May 8, 2024
14f4228
params: begin v1.14.2 release cycle
fjl May 8, 2024
eeb2208
.travis.yml: fix package install on PPA builder
fjl May 8, 2024
35b2d07
params: release go-ethereum v1.14.2 stable
fjl May 8, 2024
1a79f8f
params: begin v1.14.3 release cycle
fjl May 8, 2024
faff03c
.travis.yml: enable PPA upload on push and fix apt-get command (#29741)
fjl May 8, 2024
804afb8
.travis.yml: restore PPA condition and bump timeouts (#29742)
fjl May 8, 2024
ab48ba4
params: release go-ethereum v1.14.3 stable
fjl May 9, 2024
30a3179
Merge tag 'v1.14.0' into merge-v1.14.0
amsanghi Jul 18, 2024
112bf69
fix ci
amsanghi Jul 18, 2024
cbccc18
Merge branch 'merge-v1.13.15' into merge-1.14.0
amsanghi Jul 18, 2024
3ec24bb
add PrecompiledContractsP256Verify
amsanghi Jul 18, 2024
6315078
Merge branch 'merge-v1.13.15' into merge-1.14.0
amsanghi Jul 22, 2024
84fe1c5
Merge branch 'master' into merge-1.14.0
amsanghi Jul 23, 2024
725aecd
fix build
amsanghi Jul 24, 2024
7ff1f0d
Merge remote-tracking branch 'go-ethereum/merge-v1.14.2' into merge-v…
amsanghi Jul 24, 2024
6b0ecea
fix test
amsanghi Jul 29, 2024
634913a
fix test
amsanghi Jul 29, 2024
bfe13fc
fix test
amsanghi Jul 29, 2024
6b20d21
fix test
amsanghi Jul 29, 2024
8d7da07
revert blockchain.go
amsanghi Jul 29, 2024
660c039
merge blockchain.go
amsanghi Jul 29, 2024
dd1701e
fix
amsanghi Jul 29, 2024
1793a3b
Fix calldefault gas limit
amsanghi Aug 1, 2024
cbecc2f
fix test
amsanghi Aug 1, 2024
4b4742a
fix typo
amsanghi Aug 5, 2024
a8c0734
Merge branch 'merge-1.14.0' into merge-v1.14.2
amsanghi Aug 5, 2024
25b12e8
fix test
amsanghi Aug 5, 2024
8140b3d
Add a notion of zombies to preserve empty account behavior
PlasmaPower Aug 5, 2024
cbe2004
Fix zombie creation to only happen for destructed objects
PlasmaPower Aug 6, 2024
ee114ed
Fix tracing of subtracting zero balance
PlasmaPower Aug 6, 2024
d251082
Merge branch 'master' into merge-1.14.0
amsanghi Aug 20, 2024
cf49bca
Changes based on PR comments
amsanghi Aug 22, 2024
3e228d6
add pebble l0 sublevels metric
magicxyyz Sep 4, 2024
797bfd6
Get rid of the hardcoded list of chains in config_arbitrum.go (geth) …
ganeshvanahalli Sep 11, 2024
368b438
Merge branch 'master' into remove-hardcoded-arbitrumchainsconfigs
ganeshvanahalli Sep 16, 2024
29cec57
Merge pull request #360 from OffchainLabs/stylus_chargingfixes
PlasmaPower Sep 24, 2024
e4d5196
add MessageRunMode to ApplyTransactionWithResultFilter parameters
magicxyyz Sep 26, 2024
0c3f6eb
use MessageReplayMode in StateProcessor.Process
magicxyyz Sep 26, 2024
b068464
internal/debug: remove memsize (#30253)
fjl Aug 2, 2024
4758974
Merge pull request #363 from OffchainLabs/gligneul/upgrade-golang
PlasmaPower Oct 1, 2024
b1075d3
Merge branch 'master' into fix-run-mode
magicxyyz Oct 1, 2024
fece13e
Remove AdvanceStateUpToBlock function
ganeshvanahalli Oct 2, 2024
01a8e47
Merge branch 'master' into pebble-sublevels-metric
magicxyyz Oct 4, 2024
3686062
Merge branch 'master' into merge-1.14.0
amsanghi Oct 7, 2024
72e4db5
Remove empty Arbitrum tracing hooks
gligneul Oct 7, 2024
484bf3a
Merge branch 'merge-1.14.0' into merge-v1.14.2
amsanghi Oct 9, 2024
54adef6
Merge pull request #362 from OffchainLabs/fix-run-mode
tsahee Oct 9, 2024
0adf3d1
Make zombie creation explicit
PlasmaPower Oct 10, 2024
5cbfbaf
Clarify CreateZombieIfDeleted comment
PlasmaPower Oct 10, 2024
2b01a1c
Merge branch 'master' into merge-1.14.0
amsanghi Oct 11, 2024
64718d3
Merge branch 'merge-1.14.0' into gligneul/fix-merge-1.14.0
amsanghi Oct 11, 2024
0fd8140
Re-add kilic BLS12-381 library
PlasmaPower Oct 29, 2024
2f247a3
Merge branch 'master' into remove-advancestateuptoblock-func
ganeshvanahalli Oct 29, 2024
f9b447d
StateBuildingLogFunction shouldn't take targetHeader as an arg
ganeshvanahalli Oct 29, 2024
81c74ba
Merge branch 'merge-1.14.0' into merge-v1.14.2
amsanghi Oct 29, 2024
cdbadc1
Merge commit '0fd8140a6' into gligneul/fix-merge-1.14.0
tsahee Oct 31, 2024
c786b5b
Merge pull request #367 from OffchainLabs/re-add-bls12381
PlasmaPower Oct 31, 2024
e011273
Merge branch 'merge-1.14.0' into gligneul/fix-merge-1.14.0
PlasmaPower Oct 31, 2024
d889d9e
Merge pull request #365 from OffchainLabs/gligneul/fix-merge-1.14.0
PlasmaPower Oct 31, 2024
fc0b413
Changes based on PR comments
amsanghi Nov 5, 2024
c4d8abf
minor fix
amsanghi Nov 5, 2024
c433473
minor fix
amsanghi Nov 5, 2024
cccbae5
Merge pull request #345 from OffchainLabs/merge-1.14.0
tsahee Nov 6, 2024
98047fd
Merge branch 'master' into remove-advancestateuptoblock-func
ganeshvanahalli Nov 6, 2024
319e72f
redesign PostingGasHook
tsahee Nov 6, 2024
f97145e
Merge branch 'master' into pebble-sublevels-metric
magicxyyz Nov 6, 2024
2ab7e39
Merge pull request #355 from OffchainLabs/pebble-sublevels-metric
joshuacolvin0 Nov 6, 2024
5a10a61
Merge branch 'master' into remove-advancestateuptoblock-func
joshuacolvin0 Nov 6, 2024
51ff426
Merge pull request #364 from OffchainLabs/remove-advancestateuptobloc…
joshuacolvin0 Nov 7, 2024
973f8a3
rename to RPCPostingGasHook
tsahee Nov 7, 2024
a7d32f2
Merge branch 'master' into posting_gas_hook
PlasmaPower Nov 7, 2024
ed53c04
Merge pull request #371 from OffchainLabs/posting_gas_hook
tsahee Nov 7, 2024
81b27b8
merge master
ganeshvanahalli Nov 7, 2024
5c63736
Merge remote-tracking branch 'origin/master' into merge-v1.14.2
tsahee Nov 7, 2024
219a778
Merge pull request #347 from OffchainLabs/zombies-for-v1.14.2
tsahee Nov 7, 2024
d8d8454
Merge tag 'v1.14.0' into mark-v1.14.0-merged
PlasmaPower Nov 8, 2024
f30479f
Merge pull request #374 from OffchainLabs/mark-v1.14.0-merged
tsahee Nov 8, 2024
6582070
Merge branch 'master' into merge-v1.14.2
amsanghi Nov 12, 2024
190c916
Changes based on PR comments
amsanghi Nov 12, 2024
9cf4acc
fix lint
amsanghi Nov 12, 2024
d0aed85
undo test changes
amsanghi Nov 12, 2024
70fb32b
Merge branch 'master' into remove-hardcoded-arbitrumchainsconfigs
ganeshvanahalli Nov 19, 2024
2c34a6d
Changes based on PR comments
amsanghi Nov 19, 2024
46fee83
Merge pull request #357 from OffchainLabs/remove-hardcoded-arbitrumch…
ganeshvanahalli Nov 19, 2024
d840c42
Merge branch 'master' into merge-v1.14.2
amsanghi Nov 21, 2024
91a7a31
Merge pull request #346 from OffchainLabs/merge-v1.14.2
tsahee Nov 22, 2024
5fcd8ed
Merge commit '1a79f8fe58f9c42db1dcfd8599f386c8158069e8' into merge-v1…
amsanghi Nov 26, 2024
4f47f4c
Merge tag 'v1.14.3' into merge-v1.14.3
amsanghi Nov 26, 2024
1e09a9f
Merge pull request #379 from OffchainLabs/merge-v1.14.3
tsahee Dec 9, 2024
0844684
Revert accidental change to tipReceipient
PlasmaPower Dec 17, 2024
de229c2
Merge pull request #386 from OffchainLabs/revert-tip-receipient
PlasmaPower Dec 17, 2024
deba80e
Include tx compression level in calldata units cache
PlasmaPower Dec 20, 2024
b6a8f89
Fix useless conversion lint
PlasmaPower Dec 20, 2024
3382d27
eth/tracers: fix basefee context for traceBlock (#29811)
holiman May 21, 2024
a9e9601
fix flatCallTracer onexit out of bound
amsanghi Jan 6, 2025
e83770c
fix
amsanghi Jan 6, 2025
1cb0518
Fix merge issues
joshuacolvin0 Jan 6, 2025
6163249
Merge branch 'eigenda' of github.com:Layr-Labs/nitro-go-ethereum into…
ethenotethan Jan 13, 2025
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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.21.4

- name: Test
run: make test

Expand All @@ -37,6 +36,5 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.21.4

- name: Test
run: make lint
1 change: 0 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Diederik Loerakker <[email protected]>
Dimitry Khokhlov <[email protected]>

Domino Valdano <[email protected]>
Domino Valdano <[email protected]> <[email protected]>

Edgar Aroutiounian <[email protected]>

Expand Down
70 changes: 26 additions & 44 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
if: type = push
os: linux
arch: amd64
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
env:
- docker
services:
Expand All @@ -32,8 +32,8 @@ jobs:
if: type = push
os: linux
arch: arm64
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
env:
- docker
services:
Expand All @@ -49,21 +49,20 @@ jobs:
- stage: build
if: type = push
os: linux
dist: bionic
dist: noble
sudo: required
go: 1.21.x
go: 1.22.x
env:
- azure-linux
git:
submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
- gcc-multilib
script:
# Build for the primary platforms that Trusty can manage
# build amd64
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# build 386
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
- go run build/ci.go install -dlgo -arch 386
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

Expand All @@ -85,7 +84,7 @@ jobs:
if: type = push
os: osx
osx_image: xcode14.2
go: 1.21.x
go: 1.22.x
env:
- azure-osx
git:
Expand All @@ -100,46 +99,30 @@ jobs:
- stage: build
os: linux
arch: amd64
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES
- travis_wait 45 go run build/ci.go test $TEST_PACKAGES

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

- stage: build
os: linux
dist: bionic
go: 1.20.x
dist: noble
go: 1.21.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES
- travis_wait 45 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.21.x
dist: noble
go: 1.22.x
env:
- ubuntu-ppa
git:
submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
- devscripts
- debhelper
- dput
- fakeroot
- python-bzrlib
- python-paramiko
before_install:
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
script:
- echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>"
Expand All @@ -148,8 +131,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
env:
- azure-purge
git:
Expand All @@ -161,8 +144,7 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
script:
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

- travis_wait 50 go run build/ci.go test -race $TEST_PACKAGES
4 changes: 2 additions & 2 deletions 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.21-alpine as builder
FROM golang:1.22-alpine as builder

RUN apk add --no-cache gcc musl-dev linux-headers git

Expand All @@ -25,7 +25,7 @@ COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
ENTRYPOINT ["geth"]

# Add some metadata labels to help programatic image consumption
# Add some metadata labels to help programmatic image consumption
ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.alltools
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.21-alpine as builder
FROM golang:1.22-alpine as builder

RUN apk add --no-cache gcc musl-dev linux-headers git

Expand All @@ -24,7 +24,7 @@ COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/

EXPOSE 8545 8546 30303 30303/udp

# Add some metadata labels to help programatic image consumption
# Add some metadata labels to help programmatic image consumption
ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make.

.PHONY: geth android ios evm all test clean
.PHONY: geth all test lint clean devtools help

GOBIN = ./build/bin
GO ?= latest
Expand Down Expand Up @@ -47,4 +47,3 @@ devtools:
help: Makefile
@echo " Choose a command run in go-ethereum:"
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
.PHONY: help
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ archives are published at https://geth.ethereum.org/downloads/.

For prerequisites and detailed build instructions please read the [Installation Instructions](https://geth.ethereum.org/docs/getting-started/installing-geth).

Building `geth` requires both a Go (version 1.19 or later) and a C compiler. You can install
Building `geth` requires both a Go (version 1.21 or later) and a C compiler. You can install
them using your favourite package manager. Once the dependencies are installed, run

```shell
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/argument.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (arguments Arguments) Copy(v interface{}, values []interface{}) error {
return arguments.copyAtomic(v, values[0])
}

// unpackAtomic unpacks ( hexdata -> go ) a single value
// copyAtomic copies ( hexdata -> go ) a single value
func (arguments Arguments) copyAtomic(v interface{}, marshalledValues interface{}) error {
dst := reflect.ValueOf(v).Elem()
src := reflect.ValueOf(marshalledValues)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ func NewKeyStoreTransactorWithChainID(keystore *keystore.KeyStore, account accou
// NewKeyedTransactorWithChainID is a utility method to easily create a transaction signer
// from a single private key.
func NewKeyedTransactorWithChainID(key *ecdsa.PrivateKey, chainID *big.Int) (*TransactOpts, error) {
keyAddr := crypto.PubkeyToAddress(key.PublicKey)
if chainID == nil {
return nil, ErrNoChainID
}
keyAddr := crypto.PubkeyToAddress(key.PublicKey)
signer := types.LatestSignerForChainID(chainID)
return &TransactOpts{
From: keyAddr,
Expand Down
7 changes: 2 additions & 5 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]int
if err != nil {
return nil, nil, err
}
sub, err := event.NewSubscription(func(quit <-chan struct{}) error {
sub := event.NewSubscription(func(quit <-chan struct{}) error {
for _, log := range buff {
select {
case logs <- log:
Expand All @@ -523,11 +523,8 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]int
}
}
return nil
}), nil
})

if err != nil {
return nil, nil, err
}
return logs, sub, nil
}

Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
)

// ConvertType converts an interface of a runtime type into a interface of the
// ConvertType converts an interface of a runtime type into an interface of the
// given type, e.g. turn this code:
//
// var fields []reflect.StructField
Expand All @@ -33,7 +33,7 @@ import (
// Name: "X",
// Type: reflect.TypeOf(new(big.Int)),
// Tag: reflect.StructTag("json:\"" + "x" + "\""),
// }
// })
//
// into:
//
Expand Down
3 changes: 0 additions & 3 deletions accounts/abi/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ func NewType(t string, internalType string, components []ArgumentMarshaling) (ty
return Type{}, errors.New("abi: purely anonymous or underscored field is not supported")
}
fieldName := ResolveNameConflict(name, func(s string) bool { return used[s] })
if err != nil {
return Type{}, err
}
used[fieldName] = true
if !isValidFieldName(fieldName) {
return Type{}, fmt.Errorf("field %d has invalid name", idx)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/ethereum/go-ethereum/common"
)

// typeWithoutStringer is a alias for the Type type which simply doesn't implement
// typeWithoutStringer is an alias for the Type type which simply doesn't implement
// the stringer interface to allow printing type details in the tests below.
type typeWithoutStringer Type

Expand Down
2 changes: 1 addition & 1 deletion accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func TextHash(data []byte) []byte {
//
// This gives context to the signed message and prevents signing of transactions.
func TextAndHash(data []byte) ([]byte, string) {
msg := fmt.Sprintf("\x19Ethereum Signed Message:\n%d%s", len(data), string(data))
msg := fmt.Sprintf("\x19Ethereum Signed Message:\n%d%s", len(data), data)
hasher := sha3.NewLegacyKeccak256()
hasher.Write([]byte(msg))
return hasher.Sum(nil), msg
Expand Down
2 changes: 1 addition & 1 deletion accounts/external/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio
args.BlobHashes = tx.BlobHashes()
sidecar := tx.BlobTxSidecar()
if sidecar == nil {
return nil, fmt.Errorf("blobs must be present for signing")
return nil, errors.New("blobs must be present for signing")
}
args.Blobs = sidecar.Blobs
args.Commitments = sidecar.Commitments
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/account_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"fmt"
"os"
"path/filepath"
"slices"
"sort"
"strings"
"sync"
Expand All @@ -31,7 +32,6 @@ import (
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/log"
"golang.org/x/exp/slices"
)

// Minimum amount of time between cache reloads. This limit applies if the platform does
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/account_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import (
"os"
"path/filepath"
"reflect"
"slices"
"testing"
"time"

"github.com/cespare/cp"
"github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"golang.org/x/exp/slices"
)

var (
Expand All @@ -51,7 +51,7 @@ var (
}
)

// waitWatcherStarts waits up to 1s for the keystore watcher to start.
// waitWatcherStart waits up to 1s for the keystore watcher to start.
func waitWatcherStart(ks *KeyStore) bool {
// On systems where file watch is not supported, just return "ok".
if !ks.cache.watcher.enabled() {
Expand Down Expand Up @@ -86,7 +86,7 @@ func waitForAccounts(wantAccounts []accounts.Account, ks *KeyStore) error {
func TestWatchNewFile(t *testing.T) {
t.Parallel()

dir, ks := tmpKeyStore(t, false)
dir, ks := tmpKeyStore(t)

// Ensure the watcher is started before adding any files.
ks.Accounts()
Expand Down
Loading
Loading