Justin Traglia
73637c84b2
EIP-7594: Add asserts for public functions ( #3684 )
...
* Add length asserts for public PeerDAS functions
* Fix cell asserts
* Rename field variable to satisfy linter
* Add asserts for row/column indices
* Use CELLS_PER_EXT_BLOB
* Update to work with new spec changes
* Fix indentation
* Add explict check for cell_id
2024-04-23 12:12:26 +03:00
EchoAlice
b52182cdd6
Refactor `upgrade_to_electra()`
2024-04-22 13:31:37 -06:00
kevaundray
e51f7df77d
chore: make list copy explicit in `divide_polynomialcoeff` ( #3706 )
2024-04-22 10:43:04 -05:00
George Kadianakis
4fceca2b75
Merge pull request #3710 from kevaundray/kw/rm-field-elements-from-das-core
...
chore: use CELLS_PER_EXT_BLOB to compute the number of columns
2024-04-22 17:59:31 +03:00
Justin Traglia
bcd0a09e68
Integrate new Coset/CosetEvals types ( #3701 )
...
* Add CellBytes type
* Use ByteVector, not Vector
* Fix tests
* Replace b"" with []
* Apply suggestions for bytes_to_cell
* Add/integrate new CosetEvals type
* Remove accidental new line
* Fix recover_all_cells
* Fix recover_matrix
* fix CosetEvals abstraction leak
* Introduce internal Coset type for `coset_for_cell()`
* Use CosetEvals in compute_kzg_proof_multi_impl()
* update test
* satisfy linter
* Fix two nits I noticed
---------
Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Co-authored-by: George Kadianakis <desnacked@riseup.net>
2024-04-22 17:03:57 +03:00
Kevaundray Wedderburn
79d255b15a
use CELLS_PER_EXT_BLOB in das-core
2024-04-22 14:08:44 +01:00
kevaundray
5c561722b8
add BLS_MODULUS to places where we subtract two integers ( #3709 )
2024-04-22 15:57:52 +03:00
George Kadianakis
858f51617d
Merge pull request #3708 from kevaundray/kw/hww-max-extended-matrix-size
...
chore: add a new config `MAX_EXTENDED_MATRIX_SIZE`
2024-04-22 15:56:51 +03:00
Kevaundray Wedderburn
3f2d498cee
rename
2024-04-22 13:02:42 +01:00
George Kadianakis
0ffd0ca432
Merge pull request #3703 from kevaundray/kw/add-comment-for-verify-kzg
...
chore: Add more docs for the kzg verify algorithm
2024-04-22 12:46:12 +03:00
Hsiao-Wei Wang
e46c4c39fb
workaround: add a new config `MAX_EXTENDED_MATRIX_SIZE` to avoid `class Container(List[c, a*b])`
2024-04-22 10:31:58 +01:00
Kevaundray Wedderburn
dca048d8df
push @asn-d6 suggestions
2024-04-22 09:57:58 +01:00
kevaundray
0e4fc984ef
Remove unused return value ( #3704 )
2024-04-19 20:16:19 -05:00
terence
22a9c726ec
Fix `ExecutionLayerWithdrawalRequest` container to also imply it's for EIP7002
2024-04-19 16:30:04 -07:00
Kevaundray Wedderburn
4684c5748c
add comment for verify algorithm
2024-04-19 19:19:17 +01:00
Justin Traglia
bc69c357b4
Merge pull request #3702 from kevaundray/kw/fix_recover_polynomial
...
Change `recover_polynomial` to `recover_all_cells`
2024-04-19 12:54:21 -05:00
Kevaundray Wedderburn
3ddd00e741
use recover_all_cells
2024-04-19 12:50:32 +01:00
Kevaundray Wedderburn
32cbda9de2
rename to recover_all_cells
2024-04-19 12:50:22 +01:00
Kevaundray Wedderburn
33dfa88160
fix bad merge
2024-04-19 12:07:58 +01:00
Kevaundray Wedderburn
c2b7c0b414
Merge branch 'dev' into kw/optimize-compute-kzg-proof-multi
2024-04-19 12:04:15 +01:00
Hsiao-Wei Wang
9c04cf13c9
Merge pull request #3695 from kevaundray/kw/fix-kzg-multi-comment
...
chore: Fixes and elaborates on comments for `compute_kzg_proof_multi`
2024-04-19 15:32:09 +09:00
Hsiao-Wei Wang
0b312cae8b
Merge pull request #3692 from kevaundray/patch-11
...
chore: Change g2_lincomb to take in G2Points
2024-04-19 15:30:22 +09:00
kevaundray
8e3500b2b5
Update specs/_features/eip7594/polynomial-commitments-sampling.md
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-18 20:26:52 +01:00
kevaundray
1669723adf
Update specs/_features/eip7594/polynomial-commitments-sampling.md
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-18 20:26:46 +01:00
Kevaundray Wedderburn
6c8955d4bc
chore: fix comment
2024-04-18 18:12:15 +01:00
Kevaundray Wedderburn
912038bb08
modify cell proofs comment
2024-04-18 18:11:41 +01:00
Kevaundray Wedderburn
4d073f10a2
remove remainder polynomial when in monomial form
2024-04-18 18:00:01 +01:00
Kevaundray Wedderburn
d913140164
fix comments for kzg_proof_multi
2024-04-18 17:52:33 +01:00
Kevaundray Wedderburn
7e85c962f2
change CELLS_PER_BLOB in das-core.md
2024-04-18 17:40:51 +01:00
Kevaundray Wedderburn
3b889645ff
number of cells in an extended blob
2024-04-18 17:38:04 +01:00
kevaundray
45e70747bb
Update polynomial-commitments-sampling.md
2024-04-18 15:02:30 +01:00
Alex Stokes
82133085a1
clarify pending partial withdrawals handling
2024-04-17 14:17:07 -06:00
Alex Stokes
b02be79a05
Merge pull request #3680 from ethereum/validator-guide-aggregate
...
Use validator guide `compute_on_chain_aggregate` in testing
2024-04-17 14:07:53 -06:00
Mikhail Kalinin
040f3f1f22
Fix off-by-one in churn computations
2024-04-17 18:18:59 +06:00
Hsiao-Wei Wang
e6e7c92eca
weird fix
2024-04-17 15:46:22 +08:00
Alex Stokes
a07e144adc
Merge pull request #3659 from ethDreamer/activation_rate_limiting
...
EIP-7251: Enforce Activation Rate Limit at Fork Transition
2024-04-16 16:14:44 -06:00
Alex Stokes
3b259b6a9f
Merge pull request #3676 from ethDreamer/balance_churn_limit
...
EIP-7251: Rename get_churn_limit() for clarity
2024-04-16 15:57:46 -06:00
Mikhail Kalinin
fea074e7c5
Fix toc: attempt 2
2024-04-17 01:07:52 +06:00
Mikhail Kalinin
736e26abfc
Merge branch 'dev' into add-container-change
2024-04-17 00:24:25 +06:00
Mikhail Kalinin
373baa85aa
Update toc
2024-04-17 00:20:52 +06:00
Mark Mackey
8b6b710ccd
EIP-7251: rename get_churn_limit() for clarity
2024-04-16 12:01:21 -05:00
Mark Mackey
38dfd4a8b4
Merge remote-tracking branch 'upstream/dev' into activation_rate_limiting
2024-04-16 10:11:00 -05:00
Hsiao-Wei Wang
0252e12d73
Add notes
2024-04-16 19:57:23 +08:00
Hsiao-Wei Wang
db2c01a5f5
Reorder by processing seq
2024-04-16 19:54:05 +08:00
NC
5b2f60221e
Add modified AttesterSlashing
2024-04-16 19:41:28 +08:00
Alex Stokes
c0fa05de1e
Fix tests from 7251 and merge of other EIPs into Electra
2024-04-15 22:30:14 -06:00
Alex Stokes
034909ddb6
Merge in EIP-7251 tests to Electra
2024-04-15 20:10:14 -06:00
Alex Stokes
e1840a78a0
bugfix: check for all possible credentials when processing EL withdrawal request
2024-04-15 19:59:07 -06:00
Alex Stokes
35534989ff
reorg some spec functions
2024-04-15 19:37:53 -06:00
Alex Stokes
9bcafc87e3
fix lint
2024-04-15 19:37:53 -06:00
Alex Stokes
4d212b4263
tighten conditional logic for withdrawal requests: list len cannot be greater than its bound
2024-04-15 19:37:53 -06:00
Alex Stokes
d243afab25
address PR feedback
2024-04-15 19:37:53 -06:00
Alex Stokes
54e0f42752
Apply suggestions from code review
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-15 19:37:53 -06:00
Alex Stokes
ce3931653d
Add EIP-7251 to Electra fork
2024-04-15 19:37:49 -06:00
Alex Stokes
4c60dade42
Merge branch 'fix-7251-tests' into pr/ralexstokes/3656-1
2024-04-15 14:00:04 -06:00
Mark Mackey
805c0e1894
Reclaim Lost Epochs
2024-04-10 13:31:59 -05:00
Mark Mackey
8ff66f896d
Removed Secondary Sort Condition
2024-04-10 11:24:48 -05:00
Mark Mackey
21262499d7
Simplify Sorting Logic
2024-04-10 11:20:42 -05:00
Hsiao-Wei Wang
397f9eb15a
Merge branch 'dev' into pr3656
2024-04-10 21:39:44 +09:00
fradamt
dd0bea032f
improve pending consolidation tests, fix bug in beacon-chain
2024-04-10 14:11:38 +02:00
terence
497d7999a6
Clarify electra validator spec with EIP7549
2024-04-09 19:12:08 -07:00
Hsiao-Wei Wang
7582b7ffbf
Merge pull request #3665 from jtraglia/upgrade-electra-blob-gas
...
Track blob gas when upgrading to electra
2024-04-10 07:34:21 +09:00
Alex Stokes
4835ed1040
some clean ups from merging EIP-7002 into Electra
2024-04-09 12:58:30 -06:00
Justin Traglia
d046d07c26
Fix "new in" comment so it's consistent with others
2024-04-09 12:28:03 -05:00
Justin Traglia
b641582ed7
Track blob gas when upgrading to electra
2024-04-09 12:24:56 -05:00
Hsiao-Wei Wang
4e8e1784bc
Merge pull request #3662 from jtraglia/per-ext-blob
...
EIP-7594: Use FIELD_ELEMENTS_PER_EXT_BLOB in NUMBER_OF_COLUMNS
2024-04-10 01:03:11 +09:00
Justin Traglia
3dcf9ebe54
Use FIELD_ELEMENTS_PER_EXT_BLOB in NUMBER_OF_COLUMNS
2024-04-09 08:44:30 -05:00
Hsiao-Wei Wang
94a0b6c581
Merge branch 'dev' into pr3653
2024-04-09 12:55:56 +09:00
Hsiao-Wei Wang
ab8815ba10
Merge branch 'dev' into init-electra
2024-04-09 12:26:07 +09:00
Hsiao-Wei Wang
1db1c54323
add comment
2024-04-09 10:33:48 +08:00
Alex Stokes
3cf3e21504
Update beacon-chain.md
2024-04-08 16:28:17 -06:00
Mark Mackey
397c2beeb8
Enforce Activation Rate Limit at Fork Transition
2024-04-08 16:02:02 -06:00
Alex Stokes
2ed284da22
format comment in EIP-7251 spec
2024-04-08 08:19:29 -06:00
Alex Stokes
dd2721f3c6
Merge pull request #3657 from ralexstokes/eip-7251-spec-fixes
...
Various spec fixes for EIP-7251
2024-04-08 08:09:51 -06:00
Mikhail Kalinin
64da0da132
Fix has_sufficient_effective_balance computation
2024-04-07 18:15:01 +06:00
Alex Stokes
8cf2fd50f6
add EIP-7251 `initialize_beacon_state_from_eth1` function
2024-04-06 17:18:15 -06:00
Alex Stokes
61168e6124
spec bugfix: incorrect `process_epoch` definition
2024-04-06 17:18:15 -06:00
Alex Stokes
b5d7bd0a8a
bugfix: voluntary exit processing in EIP-7251
2024-04-06 17:18:15 -06:00
Alex Stokes
a80a777589
add missing extended types for EIP-7251
2024-04-06 17:18:15 -06:00
Alex Stokes
982a983072
EIP-7251: format/lint fixes/docs, add validator guide
2024-04-06 17:18:12 -06:00
Alex Stokes
b18bbd8c61
Merge pull request #3636 from mkalinin/eip-7251
...
EIP-7251: misc changes
2024-04-06 10:22:45 -06:00
NC
6ad0c07c78
Remove extra ` queue_excess_active_balance` call
2024-04-06 22:53:04 +08:00
Alex Stokes
e4068b5391
Merge EIP-7549 into Electra
2024-04-05 13:56:57 -06:00
Alex Stokes
4287340401
typo: text of electra validator guide
2024-04-05 11:36:49 -06:00
Alex Stokes
bba0e63ec4
typo: electra fork summary
2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang
257b2ebe7a
Apply suggestions from code review
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang
55c81e7fa1
Merge EIP7002 into Electra
2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang
9c4e1db821
EIP6110 meta update
2024-04-05 10:53:42 -06:00
Hsiao-Wei Wang
d2c69fe3cf
Rename EIP6110 to Electra
2024-04-05 10:53:42 -06:00
Mikhail Kalinin
ace9db9aa9
Set FULL_EXIT_REQUEST_AMOUNT to 0
2024-04-05 15:35:06 +03:00
Hsiao-Wei Wang
e64afbc630
Apply suggestions from code review
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-04-05 06:13:45 +08:00
Hsiao-Wei Wang
806ed66769
Merge branch 'dev' into init-electra
2024-04-05 07:03:29 +09:00
Hsiao-Wei Wang
6cfa8f713e
Merge pull request #3629 from StefanBratanov/eip_6110_rename_function
...
EIP-6110 rename `get_eth1_deposit_count` function
2024-04-05 06:02:20 +08:00
Hsiao-Wei Wang
128a273586
Merge pull request #3574 from ethereum/peer-das
...
[WIP] EIP-7594: PeerDAS protocol
2024-04-05 06:00:27 +08:00
Dmitrii Shmatko
dc8e9a775f
Remove confusing "due to" on voluntary_exits topic update
2024-04-04 18:32:24 +04:00
Hsiao-Wei Wang
cd91c04066
Merge branch 'dev' into init-electra
2024-04-04 22:49:53 +09:00
Hsiao-Wei Wang
8728561da3
Merge branch 'dev' into peer-das
2024-04-04 22:23:02 +09:00
Mikhail Kalinin
4f8fb6f716
Update specs/_features/eip7251/beacon-chain.md
...
Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
2024-04-04 14:49:25 +03:00
Mikhail Kalinin
881768c9d5
Replace MAX_EB with MIN_AB
2024-04-03 17:45:48 +03:00
Potuz
38bf699c4b
Remove wip messages on shipped forks
2024-04-03 10:37:48 -03:00