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 gethp2p #122

Closed
wants to merge 729 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
729 commits
Select commit Hold shift + click to select a range
a23eea8
feat:replace zrnt
GrapeBaBa Apr 3, 2024
d099f17
feat:add ForkedLightClientBootstrap
GrapeBaBa Apr 3, 2024
74623db
Merge pull request #71 from GrapeBaBa/lgb
fearlessfe 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
f82ef2e
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 5, 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
6edb2a2
feat:add lc bootstrap and update range
GrapeBaBa Apr 6, 2024
bf6dd12
feat:make spec arg
GrapeBaBa Apr 7, 2024
dd8588c
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 7, 2024
f7834b5
feat:add remain light client content type
GrapeBaBa Apr 7, 2024
74e0424
feat: beacon-storage-part1
fearlessfe Mar 25, 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
23a502a
feat:add light client types
GrapeBaBa Apr 8, 2024
eb46343
feat: beacon-storage-part2
fearlessfe Apr 8, 2024
75a9bc1
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 8, 2024
d9d612d
Merge pull request #80 from GrapeBaBa/lc_api
fearlessfe Apr 9, 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
3cb15c2
feat:light client init bootstrap
GrapeBaBa Apr 9, 2024
c203f9a
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 9, 2024
d02baa2
Merge pull request #82 from GrapeBaBa/portal1
fearlessfe Apr 10, 2024
f0c0ceb
feat: verify update
fearlessfe Apr 9, 2024
df8ac57
feat: add verify update method
fearlessfe Apr 10, 2024
9dcf8aa
eth/protocols/snap: skip retrieval for completed storages (#29378)
rjl493456442 Apr 10, 2024
831453a
feat:bootstrap test
GrapeBaBa Apr 10, 2024
b754c67
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 11, 2024
b9010f3
rpc: fix comment grammar (#29507)
Newt6611 Apr 11, 2024
bd91810
cmd: fix some typos in readmes (#29405)
ForestKeeperIO Apr 11, 2024
6e4d7ba
faet: add apply update method
fearlessfe Apr 10, 2024
a476a6d
feat: add test for verify update
fearlessfe Apr 11, 2024
e9b8018
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 11, 2024
0cc10d5
feat: add sync method
fearlessfe Apr 12, 2024
9077ad4
feat: add test for sync method
fearlessfe Apr 12, 2024
5cc962a
fix: test err
fearlessfe Apr 12, 2024
eb3206b
feat:beacon network test
GrapeBaBa Apr 13, 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
56462f1
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
79c769e
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 16, 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
c9ba5bc
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
9ff196c
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 17, 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
5dc91e2
feat: refactor start ip
fearlessfe Apr 16, 2024
9c0a5cc
feat: beacon start up
fearlessfe Apr 16, 2024
2e2f44b
feat: remove unused file
fearlessfe Apr 17, 2024
f1a812f
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
5805416
feat:add state nibbles type
GrapeBaBa Apr 17, 2024
54189a7
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 18, 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
c2bef98
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 18, 2024
e97bca6
fix: gossip in hive test
fearlessfe Apr 18, 2024
be7fc97
fix:make offered content async gossip
GrapeBaBa 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
bcc4d59
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 19, 2024
2e06fbd
core/vm: add KZG benchmark (#29583)
MariusVanDerWijden Apr 19, 2024
3014734
fix:fix minor warn issues
GrapeBaBa Apr 19, 2024
3bf3494
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 19, 2024
c6b57fd
fix:upgrade zrnt
GrapeBaBa Apr 19, 2024
73612bf
feat: change portal api
fearlessfe Apr 20, 2024
1ab87da
Merge pull request #99 from fearlessfe/portal-api
fearlessfe Apr 20, 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
ab764c1
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
3850aa6
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
a4ada7c
Merge branch 'master' into portal1
GrapeBaBa Apr 23, 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
dfdd763
refactor: history storage
fearlessfe Apr 23, 2024
9457993
core/vm: fix Prague contracts (#29612)
marioevz Apr 23, 2024
a845284
Merge pull request #100 from fearlessfe/hs
fearlessfe Apr 23, 2024
144f327
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 24, 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
5a6fe46
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
481c23e
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
88bee52
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 25, 2024
7a9af46
feat: add web3_clientVersion rpc method
fearlessfe 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
a2efff9
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 25, 2024
ad4fb2c
build: drop trusty from PPA builds, EOL and incompatible (#29651)
karalabe Apr 25, 2024
0b53e01
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 26, 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
0b69ea0
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 27, 2024
4bdbaab
params: clarify consensus engine config `String`s (#29643)
roysc Apr 28, 2024
1ca1268
Merge branch 'ethereum:master' into portal
GrapeBaBa Apr 29, 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
e660629
Merge branch 'ethereum:master' into portal
GrapeBaBa May 3, 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
bb0714d
fix: panic
fearlessfe May 6, 2024
e4b8058
eth/gasprice: add query limit for FeeHistory to defend DDOS attack (#…
NathanBSC May 7, 2024
e2702a8
Merge pull request #103 from fearlessfe/fix-panic
fearlessfe 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
86247e1
Merge branch 'ethereum:master' into portal
GrapeBaBa May 8, 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
5d7fb24
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
d08d7aa
Merge branch 'ethereum:master' into portal
GrapeBaBa 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
05041f4
Merge branch 'ethereum:master' into portal
GrapeBaBa May 9, 2024
ab48ba4
params: release go-ethereum v1.14.3 stable
fjl May 9, 2024
6d51c1f
params: begin v1.14.4 release cycle
fjl May 9, 2024
0e456d9
.travis.yml: disable normal unit tests in cron job (#29746)
fjl May 9, 2024
74edc93
params: gofmt
fjl May 9, 2024
c23c10f
feat: add validation for post merge and pre capella header
fearlessfe May 9, 2024
949cb00
Merge branch 'ethereum:master' into portal
GrapeBaBa May 10, 2024
e5f5eae
core/state: remove slot dirtyness if it's set back to origin value (#…
rjl493456442 May 10, 2024
603fd89
event: fix typo (#29749)
cocoyeal May 10, 2024
47af69c
core, beacon, ethdb: fix typos (#29748)
hteevoli May 10, 2024
44a50c9
cmd, core, params, trie: add verkle access witness gas charging (#29338)
gballet May 10, 2024
2ac83e1
core/state: blocking prefetcher on term signal, parallel updates (#29…
karalabe May 13, 2024
5b3e3cd
tests: update tests (#29730)
rjl493456442 May 13, 2024
e695713
Merge branch 'ethereum:master' into portal
GrapeBaBa May 14, 2024
be32843
core/state: remove useless operation (#29769)
rjl493456442 May 14, 2024
8919c5c
core: deploy EIP-4788 contract in dev mode genesis (#29655)
0xbeny May 14, 2024
d2f00cb
.github: upgrade to action versions with node20 (#29776)
cario-dev May 14, 2024
1e9efe7
Merge branch 'ethereum:master' into portal
GrapeBaBa May 15, 2024
7ed52c9
core: move balanceCheck addition in buyGas (#29762)
zhiqiangxu May 15, 2024
0819e81
chore: add more info in err log
fearlessfe May 14, 2024
ec5865f
fix: contentLookup and traceContentLookup
invalid-email-address May 15, 2024
aaa758c
Merge branch 'ethereum:master' into portal
GrapeBaBa May 16, 2024
473ee8f
trie, eth/protocols/snap: sanitize the committed node data (#29485)
rjl493456442 May 16, 2024
a5fe113
fix: connId repeats
thinkAfCod May 16, 2024
48ab327
Merge pull request #107 from thinkAfCod/portal_fix
thinkAfCod May 16, 2024
652b087
Merge branch 'ethereum:master' into portal
GrapeBaBa May 17, 2024
b12bed8
fix: cache node id and add logs
thinkAfCod May 18, 2024
0159c17
fix: handle utp packet in async
thinkAfCod May 20, 2024
4968c89
Merge pull request #108 from thinkAfCod/portal_fix
fearlessfe May 20, 2024
be5df74
trie: update the `valid` function comments (#29809)
cocoyeal May 21, 2024
7fd7c1f
eth/tracers: fix basefee context for traceBlock (#29811)
holiman May 21, 2024
777aad6
Merge branch 'ethereum:master' into portal
GrapeBaBa May 22, 2024
06f2d23
fix: PortalReceipts ssz error in history network
fearlessfe May 24, 2024
3ab51ce
revert utp async
GrapeBaBa May 27, 2024
526ee8a
revert
GrapeBaBa May 27, 2024
5361160
use id to send
GrapeBaBa May 27, 2024
c7e93e7
fix: find node info
thinkAfCod May 28, 2024
c676684
fix: close conn after read
thinkAfCod May 30, 2024
210a81d
fix: upgrade utp version for using sync pool to get buffer
thinkAfCod May 30, 2024
02b87d9
fix: test case and upgrade utp-go version
thinkAfCod May 31, 2024
3e8973d
fix: sqlite memory leak
thinkAfCod May 31, 2024
2826476
Revert "fix: test case and upgrade utp-go version"
GrapeBaBa Jun 1, 2024
3a13371
Revert "fix: upgrade utp version for using sync pool to get buffer"
GrapeBaBa Jun 1, 2024
7b4b081
Revert "fix: close conn after read"
GrapeBaBa Jun 1, 2024
ba87b9d
fix: fix memory leak
thinkAfCod Jun 3, 2024
1ae723d
fix: fix test case
thinkAfCod Jun 3, 2024
04c5048
refactor: contentLookup and traceContentLookup
invalid-email-address May 31, 2024
1ed713a
feat: nat
fearlessfe May 16, 2024
0d4f073
fix: close conn in defer
thinkAfCod Jun 6, 2024
703e977
feat: change node radius
fearlessfe Jun 11, 2024
42e6f33
feat: change document
fearlessfe Jun 11, 2024
6795c90
feat:rm get internal ip
GrapeBaBa Jun 13, 2024
4641a25
fix:change nat default any
GrapeBaBa Jun 13, 2024
269233b
fix:merge geth p2p change
GrapeBaBa Jun 17, 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: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
eth/tracers/ @s1na
core/tracing/ @s1na
graphql/ @s1na
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21.4
cache: false
- name: Run tests
run: go test ./...
run: go test -short ./...
env:
GOOS: linux
GOARCH: 386
44 changes: 44 additions & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: shisui latest image

on:
push:
branches: [ portal ]

defaults:
run:
shell: bash

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:

push_image_to_github:
name: Push Docker image to Github
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.portal
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest
54 changes: 54 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: shisui release image

on:
release:
types: [created]

defaults:
run:
shell: bash

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write

env:
releaseBuild: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:

push_image_to_github:
name: Push Docker image to Github
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=semver,pattern={{raw}}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.portal
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
23 changes: 17 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ run:
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
skip-files:
- core/genesis_alloc.go

linters:
disable-all: true
enable:
- goconst
- goimports
- gosimple
- govet
Expand All @@ -26,7 +23,10 @@ linters:
- durationcheck
- exportloopref
- whitespace
- revive # only certain checks enabled

### linters we tried and will not be using:
###
# - structcheck # lots of false positives
# - errcheck #lot of false positives
# - contextcheck
Expand All @@ -39,16 +39,27 @@ linters:
linters-settings:
gofmt:
simplify: true
goconst:
min-len: 3 # minimum length of string constant
min-occurrences: 6 # minimum number of occurrences
revive:
enable-all-rules: false
# here we enable specific useful rules
# see https://golangci-lint.run/usage/linters/#revive for supported rules
rules:
- name: receiver-naming
severity: warning
disabled: false
exclude: [""]

issues:
exclude-files:
- core/genesis_alloc.go
exclude-rules:
- path: crypto/bn256/cloudflare/optate.go
linters:
- deadcode
- staticcheck
- path: crypto/bn256/
linters:
- revive
- path: internal/build/pgp.go
text: 'SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
- path: core/vm/contracts.go
Expand Down
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
86 changes: 30 additions & 56 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.21.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.21.x
dist: noble
go: 1.22.x
env:
- docker
services:
Expand All @@ -44,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 @@ -61,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 @@ -97,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 @@ -110,48 +97,34 @@ jobs:

# These builders run the tests
- stage: build
if: type = push
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

- 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
- travis_wait 45 go run build/ci.go test $TEST_PACKAGES

- stage: build
if: type = push
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 @@ -160,8 +133,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 @@ -173,8 +146,9 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: bionic
go: 1.21.x
dist: noble
go: 1.22.x
env:
- racetests
script:
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

- travis_wait 60 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
Loading
Loading