realbigsean
c40bec9319
add consolidation processing
2024-05-07 14:01:44 -04:00
realbigsean
32357d8f0a
process deposit receipts
2024-05-07 11:07:12 -04:00
realbigsean
1d5f75582f
add execution layer withdrawal request processing
2024-05-07 10:25:53 -04:00
realbigsean
3c688410cc
add apply_deposit changes
2024-05-07 08:48:01 -04:00
realbigsean
f1f9f92dec
update process_operations deposit length check
2024-05-06 21:56:50 -04:00
realbigsean
e0abede1d1
cleanup withdrawals processing
2024-05-06 21:25:47 -04:00
realbigsean
e2e82ff1b9
process withdrawals updates
2024-05-06 18:56:16 -04:00
realbigsean
2c2e44c4ed
Merge pull request #5726 from realbigsean/electra_attestation_changes
...
Merge unstable into Electra attestation changes
2024-05-06 18:04:59 -04:00
realbigsean
38382a3ca1
cargo fmt
2024-05-06 17:32:25 -04:00
realbigsean
9f6de8e5d7
Merge remote-tracking branch 'sigp/unstable' into electra_attestation_changes
2024-05-06 17:26:43 -04:00
Lion - dapplion
5135a77e38
Move sync lookup trait function to its caller ( #5704 )
...
* Move sync lookup trait function to its caller
* lint
2024-05-06 17:55:12 +00:00
Lion - dapplion
b87c36ac0e
Report RPC Errors to the application on peer disconnections ( #5680 )
...
* Report RPC Errors to the application on peer disconnections
Co-authored-by: Age Manning <Age@AgeManning.com >
* Expect RPCError::Disconnect to fail ongoing requests
* Drop lookups after peer disconnect and not awaiting events
* Allow RPCError disconnect through network service
* Update beacon_node/lighthouse_network/src/service/mod.rs
Co-authored-by: Age Manning <Age@AgeManning.com >
* Merge branch 'unstable' into rpc-error-on-disconnect
2024-05-06 17:18:47 +00:00
Lion - dapplion
436d54e4bf
Consistent logging of full root in lookup debug logs ( #5700 )
...
* Consistent logging of full root in lookup debug logs
* Tag sync log with service
* More logs
* Log when new peers are added
* Don't shortcircuit add_peer
2024-05-06 15:41:38 +00:00
ethDreamer
19a9479234
Superstruct AggregateAndProof ( #5715 )
...
* Upgrade `superstruct` to `0.8.0`
* superstruct `AggregateAndProof`
2024-05-06 10:09:22 -05:00
Lukas Rusak
da9d38698d
web3Signer: set header "Accept: application/json" as we expect json in the response ( #5692 )
...
* web3Signer: set header "Accept: application/json" as we expect json in the response
The web3signer handler in lighthouse requires a json response.
Setting the header "Accept: application/json" indicates to the web3signer that json is an acceptable response.
Signed-off-by: Lukas Rusak <lorusak@gmail.com >
* fixup! web3Signer: set header "Accept: application/json" as we expect json in the response
2024-05-06 03:02:47 +00:00
Michael Sproul
fe20ef955b
One less listen address race ( #5718 )
...
* One less listen address race
2024-05-06 01:59:47 +00:00
ethDreamer
7c6526d978
Finish EF Test Fork Agnostic ( #5714 )
2024-05-03 14:09:49 -05:00
ethDreamer
9b98f4e297
Make EF Tests Fork-Agnostic ( #5713 )
2024-05-03 13:57:01 -05:00
Pawan Dhananjay
1af3f0f9d8
Make modified helpers in electra fork aware ( #5698 )
...
* Make modified helpers in electra fork aware
* Make more functions fork aware
* formatting fixes only.
2024-05-03 09:54:01 +00:00
Michael Sproul
d3d429ff5c
Improve logging and metrics for block publication ( #5699 )
...
* Improve logging and metrics for block publication
* Add better buckets
* Bump SQL connection timeout for tests.
2024-05-03 08:24:49 +00:00
Mark Mackey
3a41e137d1
Merge remote-tracking branch 'upstream/unstable' into electra_attestation_changes
2024-05-02 18:23:32 -05:00
ethDreamer
e6c7f145dd
superstruct the AttesterSlashing (#5636 )
...
* `superstruct` Attester Fork Variants
* Push a little further
* Deal with Encode / Decode of AttesterSlashing
* not so sure about this..
* Stop Encode/Decode Bounds from Propagating Out
* Tons of Changes..
* More Conversions to AttestationRef
* Add AsReference trait (#15 )
* Add AsReference trait
* Fix some snafus
* Got it Compiling! :D
* Got Tests Building
* Get beacon chain tests compiling
---------
Co-authored-by: Michael Sproul <micsproul@gmail.com >
2024-05-02 18:00:21 -05:00
Michael Sproul
ee974db0ba
Add metric for current epoch total balance ( #5688 )
...
* Add metric for current epoch total balance
2024-05-02 04:50:30 +00:00
João Oliveira
6725837dd7
Update Cargo.lock ( #5670 )
...
* update rust-yamux
* update Cargo.lock
* Merge branch 'unstable' of github.com:jxs/lighthouse into update-cargo
* Merge branch 'unstable' of github.com:sigp/lighthouse into update-cargo
* update to new libp2p versions
2024-05-02 03:32:00 +00:00
Lion - dapplion
01e4e3527e
Check da_checker before doing a block lookup request ( #5681 )
...
* Check da_checker before doing a block lookup request
* Ensure consistent handling of lookup result
* use req resp pre import cache rather than da checker
2024-05-01 14:45:36 +00:00
Age Manning
59753f5fed
Improve ENR updates ( #5483 )
...
* Improve ENR updates
* forever fmt
* Appease my old friend clippy
* Merge network unstable
2024-05-01 08:40:19 +00:00
realbigsean
b9655b658e
Ensure block only range requests don't fail on download ( #5675 )
...
* ensure pruned blobs don't fail on download
* Typo
2024-05-01 06:10:15 +00:00
realbigsean
beaa586d98
delete spammy log ( #5672 )
...
* delete spammy log
2024-04-30 21:31:58 +00:00
Lion - dapplion
ce66582c16
Merge parent and current sync lookups ( #5655 )
...
* Drop lookup type trait for a simple arg
* Drop reconstructed for processing
* Send parent blocks one by one
* Merge current and parent lookups
* Merge current and parent lookups clean up todos
* Merge current and parent lookups tests
* Merge remote-tracking branch 'origin/unstable' into sync-merged-lookup
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into sync-merged-lookup
* fix compile after merge
* #5655 pr review (#26 )
* fix compile after merge
* remove todos, fix typos etc
* fix compile
* stable rng
* delete TODO and unfilled out test
* make download result a struct
* enums instead of bools as params
* fix comment
* Various fixes
* Track ignored child components
* Track dropped lookup reason as metric
* fix test
* add comment describing behavior of avail check error
* update ordering
2024-04-30 20:12:15 +00:00
antondlr
196d9fd110
Only portable builds (binaries) ( #5615 )
...
* release workflow: portable builds by default
* Delete outdated comment
* Merge branch 'unstable' into portable-builds-binaries
# Conflicts:
# .github/workflows/release.yml
2024-04-30 20:12:11 +00:00
Ærvin
aea02c60d3
Uncomment self_hosted_runner after PR Merge #5137 ( #5291 )
...
* Uncomment self_hosted_runner after PR Merge #5137
* Merge branch 'unstable' into fix_todo
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into fix_todo
2024-04-30 19:34:04 +00:00
Eitan Seri-Levi
3b7132bc0d
Attestation superstruct changes for EIP 7549 ( #5644 )
...
* update
* experiment
* superstruct changes
* revert
* superstruct changes
* fix tests
* indexed attestation
* indexed attestation superstruct
* updated TODOs
2024-04-30 11:49:08 -05:00
Jimmy Chen
63fad7e330
Remove snapshot cache related code ( #5661 )
...
* Remove snapshot cache and other references.
* Fix default state cache size in docs
* Remove cache miss comment entirely
* Add state cache CLI tests
2024-04-30 16:08:13 +00:00
antondlr
d0602c3207
pin macos release runner to macos-13 ( #5665 )
...
* pin macos release runner to `macos-13`
* Update .github/workflows/release.yml
2024-04-30 08:56:49 +00:00
Eitan Seri-Levi
d3bf9a8956
Proposer and attester slashing sse events ( #5327 )
...
* default vc to block v3 endpoint and deprecate block-v3 flag
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into unstable
* add proposer and attester event variants
* add TOOOs
* add tests, event triggers
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
* revert
* revert
* remove double event tracking
* Merge branch 'unstable' into proposer-and-attester-slashing-sse-events
* remove todo, fix test
* resolve merge conflicts
* Merge branch 'proposer-and-attester-slashing-sse-events' of https://github.com/eserilev/lighthouse into proposer-and-attester-slashing-sse-events
* leftover debugging
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
2024-04-30 08:56:45 +00:00
Roman Krasiuk
c8ffafb3f8
fix(validator_client): raise soft fd limit ( #4796 )
...
* fix(validator_client): raise soft fd limit
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into rkrasiuk/raise-vc-fdlimit
* cargo lock
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into rkrasiuk/raise-vc-fdlimit
2024-04-29 22:55:23 +00:00
realbigsean
c33edc82eb
Beta compiler fix ( #5659 )
...
* fix beta compiler compilation
* remove unused import
* Revert "remove unused import"
This reverts commit 0bef36b05b .
* Revert "fix beta compiler compilation"
This reverts commit 23152cf4cc .
* rename ununsed fields
* allow dead code on some error variants
* remove unused blob download queue
* add back debug to backfill error
* more allow dead code on errors
2024-04-29 20:45:54 +00:00
Lion - dapplion
40d412629e
Ignore gossip blob already imported ( #5656 )
...
* Ignore gossip blob already imported
2024-04-29 14:30:13 +00:00
Pawan Dhananjay
8b24880df7
Add more electra helpers ( #5653 )
...
* Add new helpers
* Fix some stuff
* Fix compilation errors
* lint
* Address review
2024-04-27 01:09:29 +00:00
realbigsean
000a4fdf4d
Electra other containers ( #5652 )
...
* add new fields to execution payload and header
* beacon state changes
* partial beacon state
* safe arith in upgrade to electra
* initialize balances cache in interop genesis state
* Revert "initialize balances cache in interop genesis state"
This reverts commit c60b522865 .
* always initialize balances cache if necessary in electra upgrade
* build cache earlier
* fix block test
* per fork NUM_FIELDS_POW2
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra-other-containers
* fix lints
* get fields based on post state, as is spec'd
* fix type and move cache build
2024-04-26 20:17:23 +00:00
Lion - dapplion
a1141ea1ef
Deterministic block generation for tests ( #5654 )
...
* Deterministic block generation for tests
2024-04-26 13:25:45 +00:00
Mac L
13f94ef0f3
Rename Merge to Bellatrix ( #5601 )
...
* Rename Merge to Bellatrix
* Remove tree-hash-cache which got readded from the rebase
2024-04-25 20:19:41 +00:00
realbigsean
320345695d
Add electra presets to beacon API ( #5630 )
...
* add presets to API
* add extra fields to config spec in beacon API
* remove unused
* add mainnet presets for gnosis and fix minimal preset default values
2024-04-25 18:33:03 +00:00
realbigsean
dd340eebdc
Fix execution integration tests ( #5647 )
...
* update waiting status
* revert to old nethermind version
2024-04-25 17:11:01 +00:00
ethDreamer
4a48d7b546
Encode Execution Engine Client Version In Graffiti ( #5290 )
...
* Add `engine_clientVersionV1` structs
* Implement `engine_clientVersionV1`
* Update to latest spec changes
* Implement GraffitiCalculator Service
* Added Unit Tests for GraffitiCalculator
* Address Mac's Comments
* Remove need to use clap in beacon chain
* Merge remote-tracking branch 'upstream/unstable' into el_client_version_graffiti
* Merge branch 'unstable' into el_client_version_graffiti
# Conflicts:
# beacon_node/beacon_chain/Cargo.toml
2024-04-24 06:02:48 +00:00
Lion - dapplion
c38b05d640
Drop lookup type trait for a simple arg ( #5620 )
...
* Drop lookup type trait for a simple arg
2024-04-24 06:02:45 +00:00
Michael Sproul
1eaaa4a8bd
Bump jobserver and fix non-portable builds ( #5641 )
...
* Bump jobserver and fix non-portable builds
2024-04-24 06:02:42 +00:00
realbigsean
c4a2bcb9c7
Yaml rust2 ( #5635 )
...
* use yaml-rust2
2024-04-24 06:02:10 +00:00
Michael Sproul
61962898e2
In-memory tree states ( #5533 )
...
* Consensus changes
* EF tests
* lcli
* common and watch
* account manager
* cargo
* fork choice
* promise cache
* beacon chain
* interop genesis
* http api
* lighthouse
* op pool
* beacon chain misc
* parallel state cache
* store
* fix issues in store
* IT COMPILES
* Remove some unnecessary module qualification
* Revert Arced pubkey optimization (#5536 )
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Fix caching, rebasing and some tests
* Remove unused deps
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Small cleanups
* Revert shuffling cache/promise cache changes
* Fix state advance bugs
* Fix shuffling tests
* Remove some resolved FIXMEs
* Remove StateProcessingStrategy
* Optimise withdrawals calculation
* Don't reorg if state cache is missed
* Remove inconsistent state func
* Fix beta compiler
* Rebase early, rebase often
* Fix state caching behaviour
* Update to milhouse release
* Fix on-disk consensus context format
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Squashed commit of the following:
commit 3a16649023
Author: Michael Sproul <michael@sigmaprime.io >
Date: Thu Apr 18 14:26:09 2024 +1000
Fix on-disk consensus context format
* Keep indexed attestations, thanks Sean
* Merge branch 'on-disk-consensus-context' into tree-states-memory
* Merge branch 'unstable' into tree-states-memory
* Address half of Sean's review
* More simplifications from Sean's review
* Cache state after get_advanced_hot_state
2024-04-24 01:22:36 +00:00
antondlr
4cad1fcbbe
Add missing lcli targets in makefile ( #5633 )
...
* Add missing lcli targets to Makefile
2024-04-23 20:12:55 +00:00