Pawan Dhananjay
033457ce89
Address some more review comments
2024-06-28 15:10:27 +05:30
Pawan Dhananjay
806a5ebe1f
The great renaming receipt -> request
2024-06-28 14:53:10 +05:30
realbigsean
c276af6061
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-06-20 10:45:31 -04:00
realbigsean
efb8a01e91
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-20 09:36:56 -04:00
kevaundray
a87f19d801
chore: change impl Into<T> for U to impl From<U> for T ( #5948 )
...
* chore: Change Into trait impl for KzgProof to From trait impl
* chore: change `impl Into <T> for U` to `impl From<U> for T`
* chore: remove `from-over-into` clippy lint exception
2024-06-19 05:02:26 +00:00
realbigsean
9a01b6b363
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-17 15:08:36 -04:00
Michael Sproul
21f3a191c5
Remove extern crate ( #5922 )
...
* Remove extern crate
2024-06-17 15:05:21 +00:00
Michael Sproul
1eb8694a86
Remove some easy Electra TODOs ( #5928 )
...
* Remove some easy Electra TODOs
2024-06-17 13:32:39 +00:00
Michael Sproul
d5aa2d8dfe
Merge remote-tracking branch 'origin/unstable' into electra_attestation_changes
2024-06-14 12:32:47 +10:00
realbigsean
a74098044a
Rust 1.79 lints ( #5927 )
...
* max_value -> MAX
* remove unnecesary closures
* a couple more max_value -> MAX
* a couple more max_value -> MAX
* Revert "a couple more max_value -> MAX"
This reverts commit 807fe7cae9 .
* unused spec field -> phantom data
* ignore some dead code warnings
* update kurtosis repo location
2024-06-13 23:04:30 +00:00
realbigsean
49db91b27e
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-06-13 14:47:37 -04:00
realbigsean
77c630bc2e
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-13 14:45:49 -04:00
Michael Sproul
2c72bb8fc6
Fix getClientVersionV1 for Geth 1.13 ( #5884 )
...
* Fix getClientVersionV1 for Geth 1.13
2024-06-04 04:29:12 +00:00
realbigsean
7d3a5dfab4
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-05-31 08:52:37 -04:00
realbigsean
49de63f792
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-05-31 08:49:04 -04:00
Eitan Seri-Levi
fbc230e118
Add builder header timeout flag ( #5857 )
...
* fix bitvector test random impl
* add a new flag that allows for configuring the timeout for get builder header api calls
* make cli
* add upper limit check, changes based on feedback
* update cli
* capitalization
* cli fix
2024-05-31 03:35:57 +00:00
Matthias Seitz
aed25c49e3
fix: serde rename camle case for execution payload body ( #5846 )
2024-05-28 17:36:33 +05:30
Michael Sproul
7f8b600f2a
Remove Goerli support ( #5770 )
...
* Delete Goerli
* Generate validator manager test vectors
* Fix newlines in CLI docs
* Fix deposit-cli tests
* Run web3signer tests for Holesky from Bellatrix
* Fix mainnet bellatrix web3signer test
* Merge remote-tracking branch 'origin/unstable' into rm-goerli
* Fix snafu
2024-05-27 07:59:10 +00:00
Akihito Nakano
6f05863007
Remove unused dependencies ( #5812 )
...
* Remove unused dependencies from lighthouse_network
* Remove unused dependencies from gossipsub
* Remove unused dependencies from network
* Remove unused dependencies from consensus/types
* Remove unused dependencies from account_manager
* Remove unused dependencies from boot_node
* Remove unused dependencies from database_manager
* Remove unused dependencies from validator_manager
* Remove unused dependencies from testing/ef_tests
* Remove unused dependencies from testing/simulator
* Remove unused dependencies from testing/execution_engine_integration
* Remove unused dependencies from common/system_health
* Remove unused dependencies from common/eth2
* Remove unused dependencies from common/lighthouse_metrics
* Remove unused dependencies from common/eth2_network_config
* Remove unused dependencies from common/logging
* Remove unused dependencies from watch
* Remove unused dependencies from slasher
* Remove unused dependencies from lighthouse
* Remove unused dependencies from lcli
* Remove unused dependencies from beacon_node
* Remove unused dependencies from beacon_node/builder_client
* Remove unused dependencies from beacon_node/beacon_processor
* Remove unused dependencies from beacon_node/execution_layer
* Remove unused dependencies from beacon_node/eth1
* Remove unused dependencies from beacon_node/client
* Remove unused dependencies from beacon_node/store
* Fix missing deps which is used only for testing
2024-05-27 07:59:07 +00:00
realbigsean
8e537d139e
update electra readiness with new endpoints
2024-05-15 04:35:09 -04:00
Pawan Dhananjay
7f5490675c
Fix ser/de
2024-05-14 15:03:52 +03:00
realbigsean
fc2c942de4
accept new payload v4 in mock el
2024-05-11 10:25:01 -04:00
Pawan Dhananjay
5e1d5ff641
Add comments for potential versioning confusion
2024-05-08 16:46:23 -07:00
Pawan Dhananjay
dd5c9a8c81
Add support for electra fields in getPayloadBodies
2024-05-08 16:22:01 -07:00
Pawan Dhananjay
683de56f6e
Fix todos
2024-05-08 15:08:56 -07:00
Pawan Dhananjay
3ef7c9078e
Note todo
2024-05-08 15:08:56 -07:00
Pawan Dhananjay
1ddd078d32
Handle new engine api methods in mock EL
2024-05-08 15:08:56 -07:00
Pawan Dhananjay
ca2a946175
Fix the versioning of v4 requests
2024-05-08 15:08:55 -07:00
Pawan Dhananjay
42a499373f
Add new engine api methods
2024-05-08 15:08:52 -07:00
ethDreamer
19a9479234
Superstruct AggregateAndProof ( #5715 )
...
* Upgrade `superstruct` to `0.8.0`
* superstruct `AggregateAndProof`
2024-05-06 10:09:22 -05: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
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
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
Michael Sproul
72a33604b3
Add timing for block availability ( #5510 )
...
* Add timing for block availability
* Attestation metrics analysis
* Prettier printing
* Add some metrics and timings to track late blocks
* Update to latest unstable
* fmt
* Merge latest unstable
* Small tweaks
* Try pushing blob timing down into verification
* Simplify for clippy
2024-04-23 13:13:34 +00:00
Mac L
67f8405921
Update Simulator tests ( #5520 )
...
* Rewrite Simulator
* Add fallback simulator
* Try Sean's test fix
* More fixes
* Cleanup
* Merge branch 'unstable' into update-simulator
* Update cli.rs
* Add sync sim to basic sim
* Formatting
* Add fixes and new block production check
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into update-simulator
* fix compile
2024-04-22 15:08:36 +00:00
AMIT SINGH
62e4abfbff
Fix execution layer redundancy ( #5588 )
...
* remove execution layer url redundancy
* fix typo
* fix tests
* fix formatting
2024-04-18 07:14:56 +00:00
Jimmy Chen
7e49f82726
Only load Kzg in tests if necessary and only load it once ( #5555 )
...
* Only load KZG once if necessary in tests.
2024-04-11 20:14:11 +00:00
Eitan Seri-Levi
b65daac907
Add missing header to eth/v1/builder/blinded_blocks ( #5407 )
...
* add missing header
* read header in mock builder
* Merge branch 'unstable' into builder-blinded-blocks-missing-header
2024-04-04 19:38:09 +00:00
Mac L
969d12dc6f
Use E for EthSpec globally ( #5264 )
...
* Use `E` for `EthSpec` globally
* Fix tests
* Merge branch 'unstable' into e-ethspec
* Merge branch 'unstable' into e-ethspec
# Conflicts:
# beacon_node/execution_layer/src/engine_api.rs
# beacon_node/execution_layer/src/engine_api/http.rs
# beacon_node/execution_layer/src/engine_api/json_structures.rs
# beacon_node/execution_layer/src/test_utils/handle_rpc.rs
# beacon_node/store/src/partial_beacon_state.rs
# consensus/types/src/beacon_block.rs
# consensus/types/src/beacon_block_body.rs
# consensus/types/src/beacon_state.rs
# consensus/types/src/config_and_preset.rs
# consensus/types/src/execution_payload.rs
# consensus/types/src/execution_payload_header.rs
# consensus/types/src/light_client_optimistic_update.rs
# consensus/types/src/payload.rs
# lcli/src/parse_ssz.rs
2024-04-02 15:12:25 +00:00
Mac L
f8fdb71f50
Add Electra fork boilerplate ( #5122 )
...
* Add Electra fork boilerplate
* Remove electra from spec tests
* Fix tests
* Remove sneaky log file
* Fix more tests
* Fix even more tests and add suggestions
* Remove unrelated lcli addition
* Update more tests
* Merge branch 'unstable' into electra
* Add comment for test-suite lcli override
* Merge branch 'unstable' into electra
* Cleanup
* Merge branch 'unstable' into electra
* Apply suggestions
* Merge branch 'unstable' into electra
* Merge sigp/unstable into electra
* Merge branch 'unstable' into electra
2024-04-02 12:35:02 +00:00
chonghe
19b0db2cdf
Delete PRE_CAPELLA_ENGINE_CAPABILITIES ( #5406 )
...
* Adjust width
* Commit changes
* Delete PRE_CAPELLA_ENGINE_CAPABILITIES
* Revert "Adjust width"
This reverts commit 6fea81b897 .
* Revert "Commit changes"
This reverts commit d00859a63e .
* Simplify
* Merge branch 'delete-pre-capella' of https://github.com/chong-he/lighthouse into delete-pre-capella
2024-03-23 21:30:36 +00:00
Eitan Seri-Levi
01ec42e75a
Fix Rust beta compiler errors 1.78.0-beta.1 ( #5439 )
...
* remove redundant imports
* fix test
* contains key
* fmt
* Merge branch 'unstable' into fix-beta-compiler
2024-03-20 05:17:02 +00:00
João Oliveira
65c4ff0775
remove exit-future ( #5183 )
...
* remove exit-future usage,
as it is non maintained, and replace with async-channel which is already in the repo.
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into remove-exit-future
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into remove-exit-future
2024-02-27 22:12:44 +00:00
Michael Sproul
744c598b1c
Fix typos and make block hash calculation public ( #5275 )
...
* Fix typo in `verify_payload_block_hash`
* Make calculate_execution_block_hash public again
2024-02-26 07:45:17 +00:00
ethDreamer
a264afd19f
Verify Versioned Hashes During Optimistic Sync ( #4832 )
...
* Convert NewPayloadRequest to use Reference
* Refactor for Clarity
* Verify Versioned Hashes
* Added Tests for Version Hash Verification
* Added Moar Tests
* Fix Problems Caused By Merge
* Update to use Alloy Instead of Reth Crates (#14 )
* Update beacon_node/execution_layer/src/engine_api/new_payload_request.rs
Co-authored-by: realbigsean <seananderson33@GMAIL.com >
* Faster Versioned Hash Extraction
* Update to rust 1.75 & Pin alloy-consensus
2024-02-18 12:40:45 +00:00
Jimmy Chen
39e9f7dc6b
Fix Rust beta compiler errors (1.77) ( #5180 )
...
* Lint fixes
* More fixes for beta compiler.
* Format fixes
* Move `#[allow(dead_code)]` to field level.
* Remove old comment.
* Update beacon_node/execution_layer/src/test_utils/mod.rs
Co-authored-by: João Oliveira <hello@jxs.pt >
* remove duplicate line
2024-02-05 17:54:11 +00:00
Eitan Seri-Levi
9c1505d082
Block v3 builder boost factor ( #5035 )
...
* builder boost factor
* default boost factor
* revert
* deprecate always_prefer_builder_payload, builder-profit-threshold, ignore_builder_override_suggestion_threshold and builder_comparison_factor flags
* revert
* set deprecated flags to no op, revert should_override_builder
* fix test, calc boosted relay value correctly, dont calculate if none
* Add deprecation warnings and restore CLI docs
2024-01-08 11:10:32 +11:00
Michael Sproul
af11e78ae1
Clean up blockv3 metadata and client ( #5015 )
...
* Improve block production v3 client
* Delete wayward line
* Overhaul JSON endpoint as well
* Rename timeout param
* Update tests
* I broke everything
* Ah this is an insane fix
* Remove unnecessary optionals
* Doc fix
2023-12-22 09:39:17 -05:00
Jimmy Chen
b0c374c1ca
Update dependencies to get rid of the yanked deps ( #4994 )
...
* Initial attempt to upgrade hashbrown to latest to get rid of the crate warnings.
* Replace `.expect()` usage with use of `const`.
* Update ahash 0.7 as well
* Remove unsafe code.
* Update `lru` to 0.12 and fix release test errors.
* Set non-blocking socket
* Bump testcontainers to 0.15.
* Fix lint
---------
Co-authored-by: Michael Sproul <michael@sigmaprime.io >
2023-12-15 18:31:59 +11:00
Pawan Dhananjay
ae4a296089
Convert a FullPayload to a BlindedPayload correctly ( #5005 )
2023-12-14 08:44:14 -05:00