Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
b5b4ce9
blob production
realbigsean Oct 5, 2022
44515b8
cargo fix
realbigsean Oct 5, 2022
1430b56
Add more gossip verification conditions
pawanjay176 Oct 7, 2022
255fdf0
Added Capella Data Structures to consensus/types (#3637)
ethDreamer Oct 13, 2022
c1c5dc0
Fixed some stuff in state processing (#3640)
ethDreamer Oct 13, 2022
221c433
Fixed a ton of state_processing stuff (#3642)
ethDreamer Oct 14, 2022
137f230
Capella eip 4844 cleanup (#3652)
realbigsean Oct 26, 2022
f1a3b3b
Added Capella Epoch Processing Logic (#3666)
ethDreamer Oct 27, 2022
82eef49
clean up types
realbigsean Oct 28, 2022
9f155ee
48 byte array serde
realbigsean Oct 28, 2022
29f2ec4
Couple blocks and blobs in gossip (#3670)
pawanjay176 Nov 1, 2022
5ad8342
Block processing eip4844 (#3673)
realbigsean Nov 1, 2022
8656d23
merge with unstable
realbigsean Nov 1, 2022
d8a49aa
merge with unstable fixes
realbigsean Nov 1, 2022
c45b809
Cleanup payload types (#3675)
realbigsean Nov 2, 2022
1aec17b
Merge branch 'unstable' of https://github.com/sigp/lighthouse into ei…
realbigsean Nov 4, 2022
fc0b06a
Feature gate withdrawals (#3684)
realbigsean Nov 4, 2022
cb393f5
Fix compilation error (#3692)
jimmygchen Nov 6, 2022
bc0af72
fix topic name
realbigsean Nov 7, 2022
ab13f95
Updated for queueless withdrawals spec
ethDreamer Nov 10, 2022
2d01ae6
Fixed compiling with withdrawals enabled
ethDreamer Nov 10, 2022
2191242
Added stuff that NEEDS IMPLEMENTING
ethDreamer Nov 10, 2022
756e48f
BeaconState field renamed
ethDreamer Nov 10, 2022
81319df
Forgot one feature guard
ethDreamer Nov 10, 2022
276e184
Added process_withdrawals
ethDreamer Nov 14, 2022
0cdd049
Fixes to make EF Capella tests pass (#3719)
michaelsproul Nov 14, 2022
61b4bbf
Fix BlocksByRoot response types (#3743)
michaelsproul Nov 22, 2022
24e5252
Massive Update to Engine API (#3740)
ethDreamer Nov 22, 2022
0228b2b
- fix pre-merge block production (#3746)
realbigsean Nov 22, 2022
28c9603
Stuuupid camelCase (#3748)
ethDreamer Nov 23, 2022
e3ccd8f
Two Capella bugfixes (#3749)
michaelsproul Nov 24, 2022
58b54f0
Rename excess blobs and update 4844 json RPC serialization/deserializ…
realbigsean Nov 24, 2022
788b337
Op pool and gossip for BLS to execution changes (#3726)
michaelsproul Nov 24, 2022
342489a
Fixed Payload Deserialization in DB (#3758)
ethDreamer Nov 29, 2022
e0ea26c
Remove withdrawals guard for PayloadAttributesV2
ethDreamer Nov 28, 2022
36170ec
Fixed some BeaconChain Tests
ethDreamer Nov 28, 2022
f5e6a54
Refactored Execution Layer & Fixed Some Tests
ethDreamer Nov 30, 2022
8a04c34
Merged with `unstable`
ethDreamer Nov 30, 2022
6c9de4a
Merge pull request #3762 from ethDreamer/capella_eip4844_merge_unstable
michaelsproul Dec 1, 2022
1a39976
Fixed Compiler Warnings & Failing Tests (#3771)
ethDreamer Dec 2, 2022
5282e20
Merge 'upstream/unstable' into capella (#3773)
ethDreamer Dec 3, 2022
b6486e8
Fixed moar tests (#3774)
ethDreamer Dec 4, 2022
f7a54af
Fix some capella nits (#3782)
jtraglia Dec 12, 2022
173a0ab
Fix `Withdrawal` serialisation and check address change fork (#3789)
michaelsproul Dec 13, 2022
b1c3336
Fixed Clippy Complaints & Some Failing Tests (#3791)
ethDreamer Dec 13, 2022
07d6ef7
Fixed Payload Reconstruction Bug (#3796)
ethDreamer Dec 14, 2022
75dd878
Use JsonPayload for payload reconstruction (#3797)
michaelsproul Dec 14, 2022
63d3dd2
Batch API for address changes (#3798)
michaelsproul Dec 14, 2022
991e409
Merge remote-tracking branch 'origin/unstable' into capella-update
michaelsproul Dec 14, 2022
f3e8ca8
Fix Clippy
michaelsproul Dec 14, 2022
d484607
Publish capella images on push (#3803)
michaelsproul Dec 15, 2022
2c7ebc7
Enable withdrawals features in Capella docker images (#3805)
michaelsproul Dec 15, 2022
3e90fb8
Merge branch 'unstable' into capella
ethDreamer Dec 15, 2022
37f7350
Merge pull request #3809 from ethDreamer/capella
ethDreamer Dec 15, 2022
558367a
Bounded withdrawals and spec v1.3.0-alpha.2 (#3802)
michaelsproul Dec 15, 2022
3a08c76
Make engine_getPayloadV2 accept local block value
ethDreamer Dec 16, 2022
ab11f8c
Merge pull request #3817 from ethDreamer/capella
ethDreamer Dec 16, 2022
b75ca74
Removed `withdrawals` feature flag
ethDreamer Dec 19, 2022
0c22d69
Update consensus/state_processing/src/upgrade/eip4844.rs
ethDreamer Dec 20, 2022
b224ed8
Update consensus/state_processing/src/upgrade/eip4844.rs
ethDreamer Dec 20, 2022
bf46869
Merge pull request #3821 from ethDreamer/capella
ethDreamer Dec 20, 2022
3d253ab
Fixed spec serialization bug
ethDreamer Dec 21, 2022
bfce794
Merge pull request #3826 from ethDreamer/capella
ethDreamer Dec 21, 2022
96da8b9
Feature Guard V2 Engine API Methods
ethDreamer Dec 27, 2022
c922566
Fixed Some Tests
ethDreamer Dec 27, 2022
890cd6d
Merge pull request #3838 from ethDreamer/capella
ethDreamer Dec 27, 2022
c188cde
merge upstream/unstable
ethDreamer Dec 28, 2022
986ae43
Fix clippy complaints
ethDreamer Dec 28, 2022
222a514
Merge pull request #3842 from ethDreamer/capella
michaelsproul Dec 28, 2022
d8f7277
cleanup
realbigsean Dec 30, 2022
4353c49
Update beacon_node/execution_layer/src/engine_api/json_structures.rs
realbigsean Jan 3, 2023
be232c4
Update Execution Layer Tests for Capella
ethDreamer Jan 3, 2023
933772d
Fixed Operation Pool Tests
ethDreamer Jan 4, 2023
8711db2
Fix EF Tests
ethDreamer Jan 4, 2023
2ac609b
Fixing Moar Failing Tests
ethDreamer Jan 5, 2023
a7c79ab
Merge pull request #3847 from ethDreamer/capella
ethDreamer Jan 5, 2023
6b72f45
Merge pull request #3845 from realbigsean/capella-cleanup
ethDreamer Jan 6, 2023
cb94f63
Isolate withdrawals-processing Feature (#3854)
ethDreamer Jan 9, 2023
11f4784
Added bls_to_execution_changes to PersistedOpPool (#3857)
ethDreamer Jan 9, 2023
87c4469
Bump MSRV to 1.65 (#3860)
michaelsproul Jan 9, 2023
98b11bb
add historical summaries (#3865)
realbigsean Jan 11, 2023
52c1055
Remove `withdrawals-processing` feature (#3864)
ethDreamer Jan 12, 2023
56e6b35
Fix Arbitrary implementations (#3867)
michaelsproul Jan 12, 2023
2af8110
Merge remote-tracking branch 'origin/unstable' into capella
michaelsproul Jan 12, 2023
b2c2d31
Merge pull request #3871 from michaelsproul/capella-v3.4.0
michaelsproul Jan 12, 2023
aa896de
Fix some beacon_chain tests
michaelsproul Jan 12, 2023
d0368b0
Merge pull request #3874 from michaelsproul/beacon_chain_tests
realbigsean Jan 12, 2023
8e2931d
Verify blockHash with withdrawals
michaelsproul Jan 13, 2023
d9dd9b4
Sign BlsToExecutionChange w/ GENESIS_FORK_VERSION
ethDreamer Jan 13, 2023
05c1291
Don't Penalize Early `bls_to_execution_change`
ethDreamer Jan 13, 2023
1319683
Update gossip_methods.rs
realbigsean Jan 13, 2023
f47fc9d
Merge pull request #3880 from ethDreamer/capella
realbigsean Jan 13, 2023
35c9e24
bump ef-tests
realbigsean Jan 13, 2023
48a8cbb
Merge pull request #3877 from michaelsproul/withdrawals-block-hash
realbigsean Jan 13, 2023
302eaca
intentionally skip `LightClientHeader` ssz static tests
realbigsean Jan 13, 2023
5b77c5c
Merge pull request #3881 from realbigsean/bump-ef-tests
realbigsean Jan 13, 2023
5108872
CL-EL withdrawals harmonization using Gwei units (#3884)
ethDreamer Jan 16, 2023
4d9e137
Update checkpoint-sync.md (#3831)
Madman600 Jan 16, 2023
912ea2a
Return HTTP 404 rather than 405 (#3836)
santiagomed Jan 16, 2023
6ac1c5b
Add CLI flag to specify the format of logs written to the logfile (#3…
macladson Jan 16, 2023
9a970ce
add better err reporting UnableToOpenVotingKeystore (#3781)
infosecual Jan 17, 2023
b4d9fc0
add logging for starting request and receiving block (#3858)
GeemoCandama Jan 17, 2023
480309f
Fix some dead links in markdown files (#3885)
aliask Jan 17, 2023
2678741
Update engine_api to Latest spec (#3893)
ethDreamer Jan 19, 2023
208f531
update antithesis dockerfile (#3883)
realbigsean Jan 20, 2023
f8a3b3b
Improve block delay metrics (#3894)
AgeManning Jan 20, 2023
4deab88
Switch allocator to jemalloc (#3697)
michaelsproul Jan 20, 2023
3e67fa3
fix multiarch docker builds (#3904)
antondlr Jan 20, 2023
bb0e99c
Merge remote-tracking branch 'origin/unstable' into capella
michaelsproul Jan 20, 2023
d8abf2f
Import BLS to execution changes before Capella (#3892)
michaelsproul Jan 20, 2023
2802bc9
Implement sync_committee_rewards API (per-validator reward) (#3903)
ensi321 Jan 24, 2023
3d4dd6a
Use eth1_withdrawal_credentials in Test States (#3898)
ethDreamer Jan 24, 2023
a7351c0
light client optimistic update reprocessing (#3799)
GeemoCandama Jan 24, 2023
e8d1dd4
Fix docs for `oldest_block_slot` (#3911)
michaelsproul Jan 25, 2023
c76a197
Merge remote-tracking branch 'origin/unstable' into capella
michaelsproul Jan 25, 2023
79a20e8
Update sync rewards API for abstract exec payload
michaelsproul Jan 25, 2023
e48487d
Fix the new BLS to execution change test
michaelsproul Jan 25, 2023
16bdb27
Update another test broken by the shuffling change
michaelsproul Jan 25, 2023
f615fb0
Merge pull request #3914 from michaelsproul/capella-fix-tests
paulhauner Jan 25, 2023
0866b73
Clippy 1.67 (#3916)
michaelsproul Jan 27, 2023
7b75953
exchangeCapabilities & Capella Readiness Logging (#3918)
ethDreamer Jan 31, 2023
d842215
Merge branch 'upstream/unstable' into capella
ethDreamer Jan 31, 2023
4d0955c
Merge pull request #3933 from ethDreamer/capella
michaelsproul Jan 31, 2023
90b6ae6
Use Local Payload if More Profitable than Builder (#3934)
ethDreamer Feb 2, 2023
5b398b1
Don't Reject all Builder Bids After Capella (#3940)
ethDreamer Feb 6, 2023
c56706e
Unpin fixed-hash (#3917)
michaelsproul Feb 6, 2023
4d07e40
Implement `attestation_rewards` API (per-validator reward) (#3822)
kevinbogner Feb 7, 2023
2073518
Remove unused `u256_hex_be_opt` (#3942)
michaelsproul Feb 7, 2023
e062a7c
Broadcast address changes at Capella (#3919)
paulhauner Feb 7, 2023
9547ac0
Implement block_rewards API (per-validator reward) (#3907)
ensi321 Feb 7, 2023
7934485
Update the docker build to include features based images (#3875)
nazarhussain Feb 8, 2023
ceb9865
Self rate limiting dev flag (#3928)
divagant-martian Feb 8, 2023
1cae988
Update dependencies (#3946)
michaelsproul Feb 8, 2023
c33eb29
Fix the whitespace in docker workflow (#3952)
nazarhussain Feb 8, 2023
aa5b7ef
Remove participation rate from API docs (#3955)
paulhauner Feb 9, 2023
2b735a9
Add attestation duty slot metric (#2704)
pawanjay176 Feb 9, 2023
5276dd0
Fix edge-case when finding the finalized descendant (#3924)
paulhauner Feb 9, 2023
c9354a9
Tweaks to reward APIs (#3957)
michaelsproul Feb 10, 2023
39f8327
Properly Deserialize ForkVersionedResponses (#3944)
ethDreamer Feb 10, 2023
e743d75
Update Mock Builder for Post-Capella Tests (#3958)
ethDreamer Feb 10, 2023
3b4c677
Use release profile for Windows binaries (#3965)
michaelsproul Feb 12, 2023
84843d6
Reduce some EE and builder related ERRO logs to WARN (#3966)
paulhauner Feb 12, 2023
2f456ff
Fix regression in DB write atomicity (#3931)
michaelsproul Feb 13, 2023
fa1d4c7
Invalid cross build feature flag (#3959)
nazarhussain Feb 13, 2023
18c8cab
Merge remote-tracking branch 'origin/unstable' into capella-merge
michaelsproul Feb 14, 2023
d53ccf8
Placeholder for BlobsByRange outbound rate limit
michaelsproul Feb 14, 2023
f7bd4bf
Update block rewards API for Capella
michaelsproul Feb 14, 2023
8dd9249
Enforce a timeout on peer disconnect (#3757)
AgeManning Feb 14, 2023
5fc798d
Merge pull request #3973 from michaelsproul/capella-merge
michaelsproul Feb 14, 2023
10d32ee
Quote Capella BeaconState fields (#3967)
michaelsproul Feb 14, 2023
918b688
Simplify payload traits and reduce cloning (#3976)
michaelsproul Feb 15, 2023
2fcfdf1
Fix docker and deps (#3978)
michaelsproul Feb 15, 2023
461bda6
Execution engine suggestions from code review
michaelsproul Feb 16, 2023
ffeb8b6
blacklist tests in windows (#3961)
divagant-martian Feb 16, 2023
245e922
Improve testing slot clock to allow manipulation of time in tests (#3…
jimmygchen Feb 16, 2023
ebf2fec
Fix exec integration tests for Geth v1.11.0 (#3982)
michaelsproul Feb 16, 2023
4aa8a2a
Suggestions for Capella `execution_layer` (#3983)
paulhauner Feb 17, 2023
066c277
Merge remote-tracking branch 'origin/staging' into capella-update
michaelsproul Feb 17, 2023
1f419f4
Merge pull request #3981 from michaelsproul/capella-update
michaelsproul Feb 17, 2023
9a41f65
Add capella fork epoch (#3997)
paulhauner Feb 17, 2023
0b68502
Fix Capella schema downgrades (#4004)
michaelsproul Feb 20, 2023
c3c181a
Remove "eip4844" network (#4008)
paulhauner Feb 21, 2023
d53d438
Suggestions for Capella `beacon_chain` (#3999)
paulhauner Feb 21, 2023
b72f273
Capella consensus review (#4012)
paulhauner Feb 21, 2023
729c178
Revert Sepolia genesis change (#4013)
paulhauner Feb 21, 2023
eed7d65
Allow for withdrawals in max block size (#4011)
paulhauner Feb 21, 2023
1bce7a0
Fix post-Bellatrix checkpoint sync (#4014)
paulhauner Feb 21, 2023
40669da
Modify some Capella comments (#4015)
paulhauner Feb 21, 2023
3642efe
Cache validator balances and allow them to be served over the HTTP AP…
macladson Feb 21, 2023
b7d7add
Disable debug info on CI (#4018)
michaelsproul Feb 21, 2023
bb5285a
Remove BeaconBlockAndBlobsSidecar from core topics (#4016)
pawanjay176 Feb 21, 2023
9c81be8
Fix metric (#4020)
paulhauner Feb 21, 2023
fa8b920
Merge branch 'capella' into unstable
michaelsproul Feb 21, 2023
3721f3a
Fix doppelganger script (#3988)
pawanjay176 Feb 21, 2023
5c63d87
Register disconnected peers when temporarily banned (#4001)
AgeManning Feb 21, 2023
0fb58a6
v3.5.0 (#3996)
paulhauner Feb 22, 2023
be29394
Execution Integration Tests Correction (#4034)
AgeManning Feb 27, 2023
47b22d5
Allow compilation with no slasher backend (#3888)
michaelsproul Feb 28, 2023
cc4fc42
Add content-type header to metrics server response (#3970)
kayibal Feb 28, 2023
caa6190
Use consensus-spec-tests `v1.3.0-rc.3` (#4021)
paulhauner Feb 28, 2023
0155455
Docs for Siren (#4023)
AgeManning Feb 28, 2023
17d9a62
Add more logs in the BN HTTP API during block production (#4025)
paulhauner Feb 28, 2023
047c754
Clean capella (#4019)
divagant-martian Mar 1, 2023
ca1ce38
Delete Kiln and Ropsten configs (#4038)
michaelsproul Mar 1, 2023
5b18fd9
Cleaner logic for gossip subscriptions for new forks (#4030)
pawanjay176 Mar 1, 2023
2b63487
Log a debug message when a request fails for a beacon node candidate …
fl3x1324 Mar 2, 2023
cac3a66
Permit a `null` LVH from an `INVALID` response to `newPayload` (#4037)
paulhauner Mar 3, 2023
6e15533
Add latency measurement service to VC (#4024)
paulhauner Mar 5, 2023
01556f6
Optimise payload attributes calculation and add SSE (#4027)
michaelsproul Mar 5, 2023
57dfcfd
Optimise attestation selection proof signing (#4033)
michaelsproul Mar 5, 2023
4dc0c4c
Update dependencies incl tempfile (#4048)
michaelsproul Mar 5, 2023
f775404
Log a `WARN` in the VC for a mismatched Capella fork epoch (#4050)
paulhauner Mar 6, 2023
3ad77fb
Add VC metric for primary BN latency (#4051)
paulhauner Mar 6, 2023
5bb635d
Set Capella fork epoch for Goerli (#4044)
paulhauner Mar 7, 2023
4c10911
Add a flag to always use payloads from builders (#4052)
danielrachi1 Mar 7, 2023
319cc61
Release v3.5.1 (#4049)
paulhauner Mar 7, 2023
4a1c0c9
Fix order of arguments to log_count (#4060)
centromere Mar 13, 2023
90cef1d
Appease Clippy 1.68 and refactor `http_api` (#4068)
michaelsproul Mar 13, 2023
373beaf
Added warning when new jwt is generated (#4000)
sebastianrich18 Mar 13, 2023
06af31a
Correct /lighthouse/nat implementation (#4069)
michaelsproul Mar 13, 2023
e190ebb
Support for Ipv6 (#4046)
divagant-martian Mar 14, 2023
36e163c
Add parent_block_number to payload SSE (#4053)
michaelsproul Mar 14, 2023
ac0eb39
Complete match for `has_context_bytes` (#3972)
realbigsean Mar 15, 2023
1ec3041
Remove Router/Processor Code (#4002)
danielrachi1 Mar 15, 2023
3d99ce2
Correct a race condition when dialing peers (#4056)
AgeManning Mar 16, 2023
974b7e9
Siren Ui Lighthouse Version Requirments (#4093)
rickimoore Mar 16, 2023
4c2d4af
Make more noise when the EL is broken (#3986)
michaelsproul Mar 17, 2023
c3e5053
Reduce false positive logging for late builder blocks (#4073)
paulhauner Mar 17, 2023
020fb48
Clarify "Ready for Capella" (#4095)
paulhauner Mar 17, 2023
65a5eb8
Reconstruct Payloads using Payload Bodies Methods (#4028)
ethDreamer Mar 19, 2023
17d56b0
Ignore self as a bootnode (#4110)
AgeManning Mar 20, 2023
76a2007
Improve Lighthouse Connectivity Via ENR TCP Update (#4057)
AgeManning Mar 21, 2023
785a917
Customisable shuffling cache size (#4081)
AgeManning Mar 21, 2023
59e45fe
Reduce verbosity of reprocess queue logs (#4101)
paulhauner Mar 21, 2023
3ac5583
Set Capella fork epoch for Mainnet (#4111)
paulhauner Mar 21, 2023
1f8c17b
Fork choice modifications and cleanup (#3962)
paulhauner Mar 21, 2023
0616e01
Release v4.0.0 (#4112)
paulhauner Mar 22, 2023
23ea148
Fix fork choice error message (#4122)
paulhauner Mar 23, 2023
b2525d6
Release Candidate v4.0.1-rc.0 (#4123)
paulhauner Mar 23, 2023
a53830f
Release v4.0.1 (#4125)
paulhauner Mar 26, 2023
f4d13f9
Update arbitrary (#4139)
michaelsproul Mar 28, 2023
65d0f63
Update Rust version in lcli Dockerfile (#4121)
jimmygchen Mar 28, 2023
d3c20ff
improve error message (#4141)
int88 Mar 28, 2023
6bb28bc
Add debug fork choice api (#4003)
Mar 29, 2023
788a4b7
Optimise `update_validators` by decrypting key cache only when necess…
screwyprof Mar 29, 2023
12205a8
Correct log for ENR (#4133)
AgeManning Mar 29, 2023
036b797
Add `finalized` to HTTP API responses (#3753)
danielrachi1 Mar 30, 2023
d351cc8
Test failing CI tests due to port conflicts (#4134)
jimmygchen Mar 30, 2023
5691123
update README of local_testnet (#4114)
int88 Mar 30, 2023
c5383e3
Update database-migrations.md (#4149)
chong-he Mar 31, 2023
2de3451
Rate limiting backfill sync (#3936)
jimmygchen Apr 3, 2023
e2c68c8
Add new validator API for voluntary exit (#4119)
jimmygchen Apr 3, 2023
311e69d
Ban peer race condition (#4140)
AgeManning Apr 3, 2023
1e029ce
remove dup log (#4155)
int88 Apr 3, 2023
8630ddf
Add `beacon.watch` (#3362)
macladson Apr 3, 2023
4d17fb3
CI fix: move download web3signer binary out of build script (#4163)
jimmygchen Apr 6, 2023
3b117f4
Add a flag to disable peer scoring (#4135)
pawanjay176 Apr 12, 2023
0e2e23e
Remove the unused `ExecutionOptimisticForkVersionedResponse` type (#4…
macladson Apr 12, 2023
00cf5fc
Remove Redundant Trait Bound (#4169)
ethDreamer Apr 12, 2023
b90c0c3
Make re-org strat more cautious and add more config (#4151)
michaelsproul Apr 13, 2023
a3669ab
Avoid processing redundant RPC blocks (#4179)
michaelsproul Apr 13, 2023
56dba96
Update Lighthouse book and some FAQs (#4178)
chong-he Apr 14, 2023
2b3084f
Use head state for exit verification (#4183)
paulhauner Apr 14, 2023
dd124b2
Address observed proposers behaviour (#4192)
paulhauner Apr 14, 2023
1d92e3f
Use efficient payload reconstruction for HTTP API (#4102)
michaelsproul Apr 18, 2023
e9a7316
Set user agent on requests to builder (#4199)
michaelsproul Apr 18, 2023
4343867
Bump Rust version (MSRV) (#4204)
jimmygchen Apr 18, 2023
48843ba
Check lateness of block before requeuing it (#4208)
paulhauner Apr 19, 2023
693886b
Release v4.1.0 (#4191)
paulhauner Apr 20, 2023
2c246d6
Merge tag 'v4.1.0' into develop
chaoticlonghair Apr 21, 2023
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[env]
# Set the number of arenas to 16 when using jemalloc.
JEMALLOC_SYS_WITH_MALLOC_CONF = "abort_conf:true,narenas:16"

18 changes: 15 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- unstable
- stable
- capella
tags:
- v*

Expand Down Expand Up @@ -34,6 +35,11 @@ jobs:
run: |
echo "VERSION=latest" >> $GITHUB_ENV
echo "VERSION_SUFFIX=-unstable" >> $GITHUB_ENV
- name: Extract version (if capella)
if: github.event.ref == 'refs/heads/capella'
run: |
echo "VERSION=capella" >> $GITHUB_ENV
echo "VERSION_SUFFIX=" >> $GITHUB_ENV
- name: Extract version (if tagged release)
if: startsWith(github.event.ref, 'refs/tags')
run: |
Expand All @@ -43,14 +49,18 @@ jobs:
VERSION: ${{ env.VERSION }}
VERSION_SUFFIX: ${{ env.VERSION_SUFFIX }}
build-docker-single-arch:
name: build-docker-${{ matrix.binary }}
name: build-docker-${{ matrix.binary }}${{ matrix.features.version_suffix }}
runs-on: ubuntu-22.04
strategy:
matrix:
binary: [aarch64,
aarch64-portable,
x86_64,
x86_64-portable]
features: [
{version_suffix: "", env: "gnosis,slasher-lmdb,slasher-mdbx,jemalloc"},
{version_suffix: "-dev", env: "jemalloc,spec-minimal"}
]
include:
- profile: maxperf

Expand All @@ -60,6 +70,7 @@ jobs:
DOCKER_CLI_EXPERIMENTAL: enabled
VERSION: ${{ needs.extract-version.outputs.VERSION }}
VERSION_SUFFIX: ${{ needs.extract-version.outputs.VERSION_SUFFIX }}
FEATURE_SUFFIX: ${{ matrix.features.version_suffix }}
steps:
- uses: actions/checkout@v3
- name: Update Rust
Expand All @@ -70,7 +81,7 @@ jobs:
- name: Cross build Lighthouse binary
run: |
cargo install cross
env CROSS_PROFILE=${{ matrix.profile }} make build-${{ matrix.binary }}
env CROSS_PROFILE=${{ matrix.profile }} CROSS_FEATURES=${{ matrix.features.env }} make build-${{ matrix.binary }}
- name: Move cross-built binary into Docker scope (if ARM)
if: startsWith(matrix.binary, 'aarch64')
run: |
Expand Down Expand Up @@ -98,7 +109,8 @@ jobs:
docker buildx build \
--platform=linux/${SHORT_ARCH} \
--file ./Dockerfile.cross . \
--tag ${IMAGE_NAME}:${VERSION}-${SHORT_ARCH}${VERSION_SUFFIX}${MODERNITY_SUFFIX} \
--tag ${IMAGE_NAME}:${VERSION}-${SHORT_ARCH}${VERSION_SUFFIX}${MODERNITY_SUFFIX}${FEATURE_SUFFIX} \
--provenance=false \
--push
build-docker-multiarch:
name: build-docker-multiarch${{ matrix.modernity }}
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,17 @@ jobs:

- name: Build Lighthouse for Windows portable
if: matrix.arch == 'x86_64-windows-portable'
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
# NOTE: profile set to release until this rustc issue is fixed:
#
# https://github.com/rust-lang/rust/issues/107781
#
# tracked at: https://github.com/sigp/lighthouse/issues/3964
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile release

- name: Build Lighthouse for Windows modern
if: matrix.arch == 'x86_64-windows'
run: cargo install --path lighthouse --force --locked --features modern,gnosis --profile ${{ matrix.profile }}
# NOTE: profile set to release (see above)
run: cargo install --path lighthouse --force --locked --features modern,gnosis --profile release

- name: Configure GPG and create artifacts
if: startsWith(matrix.arch, 'x86_64-windows') != true
Expand Down
21 changes: 5 additions & 16 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ on:
pull_request:
env:
# Deny warnings in CI
RUSTFLAGS: "-D warnings"
# Disable debug info (see https://github.com/sigp/lighthouse/issues/4005)
RUSTFLAGS: "-D warnings -C debuginfo=0"
# The Nightly version used for cargo-udeps, might need updating from time to time.
PINNED_NIGHTLY: nightly-2022-12-15
PINNED_NIGHTLY: nightly-2023-04-16
# Prevent Github API rate limiting.
LIGHTHOUSE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
Expand Down Expand Up @@ -280,7 +281,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.17'
go-version: '1.20'
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.201'
Expand All @@ -306,16 +307,6 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Typecheck benchmark code without running it
run: make check-benches
check-consensus:
name: check-consensus
runs-on: ubuntu-latest
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
- name: Get latest version of stable Rust
run: rustup update stable
- name: Typecheck consensus code in strict mode
run: make check-consensus
clippy:
name: clippy
runs-on: ubuntu-latest
Expand Down Expand Up @@ -382,14 +373,12 @@ jobs:
- uses: actions/checkout@v3
- name: Install Rust (${{ env.PINNED_NIGHTLY }})
run: rustup toolchain install $PINNED_NIGHTLY
# NOTE: cargo-udeps version is pinned until this issue is resolved:
# https://github.com/est31/cargo-udeps/issues/135
- name: Install Protoc
uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install cargo-udeps
run: cargo install cargo-udeps --locked --force --version 0.1.30
run: cargo install cargo-udeps --locked --force
- name: Create Cargo config dir
run: mkdir -p .cargo
- name: Install custom Cargo config
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ genesis.ssz

# IntelliJ
/*.iml
.idea
Loading