dapplion
4f08f6e0da
Remove TestRandom impl for IndexedAttestation
2024-06-19 11:31:50 +02:00
dapplion
5acc0523df
Make to_electra not fallible
2024-06-19 11:31:50 +02:00
dapplion
1d0e3f4d30
Use ForkName Ord in BeaconBlockBody
2024-06-19 11:31:50 +02:00
dapplion
dd0d5e2d93
Remove unwraps in Attestation construction
2024-06-19 11:31:50 +02:00
dapplion
d87541c045
De-dup attestation constructor logic
2024-06-19 11:31:50 +02:00
realbigsean
9a01b6b363
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-17 15:08:36 -04:00
Lion - dapplion
474c1b4486
Verify inclusion proof should not be fallible ( #5787 )
...
* Verify inclusion proof should not be fallible
* Add blob sidecar inclusion test (#33 )
* Add blob sidecar inclusion test.
* Fix lint
2024-06-17 15:05:24 +00: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
ethDreamer
f9d354539a
Remove Duplicate KZG Commitment Merkle Proof Code ( #5874 )
...
* Remove Duplicate KZG Commitment Merkle Proof Code
* s/tree_lists/fields/
2024-06-01 12:51:00 -04:00
realbigsean
29ed1c5c26
add consolidations to merkle calc for inclusion proof
2024-05-31 08:49:35 -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
realbigsean
b61d244c0c
fix some todos ( #5817 )
2024-05-30 11:52:38 -04:00
Eitan Seri-Levi
e340998241
Fix failing attestation tests and misc electra attestation cleanup ( #5810 )
...
* - get attestation related beacon chain tests to pass
- observed attestations are now keyed off of data + committee index
- rename op pool attestationref to compactattestationref
- remove unwraps in agg pool and use options instead
- cherry pick some changes from ef-tests-electra
* cargo fmt
* fix failing test
* Revert dockerfile changes
* make committee_index return option
* function args shouldnt be a ref to attestation ref
* fmt
* fix dup imports
---------
Co-authored-by: realbigsean <seananderson33@GMAIL.com >
2024-05-30 11:51:34 -04:00
ethDreamer
75432e1135
Electra attestation changes rm decode impl ( #5856 )
...
* Remove Crappy Decode impl for Attestation
* Remove Inefficient Attestation Decode impl
* Implement Schema Upgrade / Downgrade
* Update beacon_node/beacon_chain/src/schema_change/migration_schema_v20.rs
Co-authored-by: Michael Sproul <micsproul@gmail.com >
---------
Co-authored-by: Michael Sproul <micsproul@gmail.com >
2024-05-30 11:34:14 -04:00
Eitan Seri-Levi
df6e1c9add
Fix BitVectors TestRandom implementation ( #5854 )
...
* fix bitvector test random impl
2024-05-30 14:09:22 +00:00
realbigsean
3e10e68c1d
Merge pull request #5816 from realbigsean/electra-attestation-slashing-handling
...
Electra slashing handling
2024-05-24 10:53:26 -04:00
Mark Mackey
987abe07f9
Merge remote-tracking branch 'upstream/unstable'
2024-05-24 13:24:37 +02:00
realbigsean
bafb5f0cc0
fix slashing handling
2024-05-20 14:14:41 -04:00
Eitan Seri-Levi
6636167503
Log block import source ( #5738 )
...
* the default target peers is 100
* add some comments
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into track-block-import-source
* add block import source
* revert
* update logging text
* fix tests
* lint
* use % instaed of to_string
2024-05-15 09:17:06 +00:00
Eitan Seri-Levi
79a5f2556f
Subscribe to the correct subnets for electra attestations ( #5782 )
...
* subscribe to the correct att subnets for electra
* subscribe to the correct att subnets for electra
2024-05-15 03:00:09 -04:00
realbigsean
b807d39bad
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into electra_op_pool
2024-05-09 18:18:01 -04:00
ethDreamer
ca0967119b
Revert "Get electra_op_pool up to date ( #5756 )" ( #5757 )
...
This reverts commit ab9e58aa3d .
2024-05-09 17:10:04 -05:00
ethDreamer
ab9e58aa3d
Get electra_op_pool up to date ( #5756 )
...
* fix get attesting indices (#5742 )
* fix get attesting indices
* better errors
* fix compile
* only get committee index once
* Ef test fixes (#5753 )
* attestation related ef test fixes
* delete commented out stuff
* Fix Aggregation Pool for Electra (#5754 )
* Fix Aggregation Pool for Electra
* Remove Outdated Interface
* fix ssz (#5755 )
---------
Co-authored-by: realbigsean <sean@sigmaprime.io >
2024-05-09 16:59:39 -05:00
realbigsean
c30f70906b
fix ssz ( #5755 )
2024-05-09 17:49:12 -04:00
ethDreamer
cb8c8f59cf
Fix Aggregation Pool for Electra ( #5754 )
...
* Fix Aggregation Pool for Electra
* Remove Outdated Interface
2024-05-09 15:50:11 -04:00
realbigsean
e32dfcdcad
fix get attesting indices ( #5742 )
...
* fix get attesting indices
* better errors
* fix compile
* only get committee index once
2024-05-09 09:34:56 -04:00
Michael Sproul
7cb7653d36
Sketch op pool changes
2024-05-09 17:45:52 +10:00
ethDreamer
43c3f63e30
cargo fmt ( #5740 )
2024-05-08 11:53:08 -05:00
Eitan Seri-Levi
90179d4a88
EIP7549 get_attestation_indices ( #5657 )
...
* get attesting indices electra impl
* fmt
* get tests to pass
* fmt
* fix some beacon chain tests
* fmt
* fix slasher test
* fmt got me again
* fix more tests
* fix tests
2024-05-08 11:32:44 -05:00
realbigsean
9f6de8e5d7
Merge remote-tracking branch 'sigp/unstable' into electra_attestation_changes
2024-05-06 17:26:43 -04:00
ethDreamer
19a9479234
Superstruct AggregateAndProof ( #5715 )
...
* Upgrade `superstruct` to `0.8.0`
* superstruct `AggregateAndProof`
2024-05-06 10:09:22 -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
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
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
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
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
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
ethDreamer
05fbbdd840
Electra: Add Preset, Constants, & Config ( #5606 )
...
* Electra: Add Presets, Constants, & Config
2024-04-23 14:46:49 +00:00
ethDreamer
82b131d37f
Electra: Add New Containers ( #5607 )
...
* Electra: Add New Containers
2024-04-23 00:21:21 +00:00
ethDreamer
cda926ce1b
Rename Functions to More Closely Match Spec ( #5591 )
...
* Rename Functions to More Closely Match Spec
2024-04-16 19:03:08 +00:00
Lion - dapplion
ced653873e
Impl Ord on ForkName for ChainSpec usage ( #5531 )
...
* Impl Ord on ForkName for ChainSpec usage
* add fork ord consistent test
2024-04-10 09:02:23 +00:00
realbigsean
d527d124dd
Beta compiler fixes ( #5543 )
...
* remove duplicate imports in gossip tests. get rid of duplicate trait bound locations
* more double import fixes
* cargo fmt
2024-04-10 07:47:05 +00:00