65 Commits

Author SHA1 Message Date
Hsiao-Wei Wang
cf3c4eca8c
Fix conflicts with #3631 2024-04-01 10:37:49 +09:00
Hsiao-Wei Wang
eec5503d4f
Fix tests and specs 2024-03-31 16:35:24 +09:00
Mikhail Kalinin
45f98d6a67 Set MIN_SLASHING_PENALTY_QUOTIENT_EIP7251=4096 2024-03-21 17:32:03 +06:00
Mikhail Kalinin
d48b5e0665 Update whistleblower reward for eip7251 2024-03-20 16:10:30 +06:00
Mikhail Kalinin
a127bbf0c6
Merge branch 'dev' into eip-7251 2024-03-20 14:46:43 +06:00
Mikhail Kalinin
98f38c7f07 Introduce MAX_PARTIAL_WITHDRAWALS_PER_PAYLOAD 2024-03-20 13:53:42 +06:00
George Kadianakis
4b6b07b73e PeerDAS: Use FIELD_ELEMENTS_PER_EXT_BLOB in def of PolynomialCoeff 2024-03-12 15:07:42 +02:00
dapplion
668e447c55 Add EIP-7251 spec
Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
2024-03-08 12:37:35 +08:00
Carl Beekhuizen
39d22849d1
Updates presets to use correct trusted setup from final ceremony output 2024-01-16 10:41:26 -07:00
Hsiao-Wei Wang
b7d9ea9a75
Rename peerdas to eip7594 2024-01-14 00:13:08 +08:00
Hsiao-Wei Wang
9a0727000c
Rename recover_cells to recover_polynomial and fix function signature. Add basic test case. 2024-01-08 23:18:51 +08:00
Hsiao-Wei Wang
75b1bf515a
Add KZG_SETUP_G1_MONOMIAL to trusted setup files 2024-01-05 18:21:15 +08:00
Hsiao-Wei Wang
bf09b9a7c4
Merge pull request #3442 from dapplion/whisk-tests
Add WHISK fork only tests
2023-12-08 18:56:03 +09:00
Hsiao-Wei Wang
71106f1d64
Remove BLOB_KZG_COMMITMENTS_GINDEX 2023-11-02 21:38:01 +07:00
Hsiao-Wei Wang
b018fbc46a
Remove BLOB_KZG_COMMITMENTS_GINDEX from the preset files 2023-10-29 03:39:24 +08:00
Hsiao-Wei Wang
1657d16afd
Add BLOB_KZG_COMMITMENTS_GINDEX to "Constant". Use pyspec parser trick to add assertion in pyspec 2023-10-29 02:33:07 +08:00
Hsiao-Wei Wang
26516ec3e9
Move KZG_COMMITMENT_INCLUSION_PROOF_DEPTH to preset and cast int() 2023-10-28 03:53:16 +08:00
Hsiao-Wei Wang
01fa0fe64a
Replace ROOTS_OF_UNITY with runtime-computed compute_roots_of_unity(FIELD_ELEMENTS_PER_BLOB) 2023-10-16 17:38:09 +08:00
Hsiao-Wei Wang
d74932bec9
Merge branch 'dev' into pr3442 2023-10-16 17:22:31 +08:00
Hsiao-Wei Wang
c5785899f7
Use official KZG ceremony output trusted_setup_4096.json trusted setups 2023-10-12 19:54:18 +08:00
dapplion
de30a92f4c update CRS 2023-10-10 13:29:36 +03:00
Hsiao-Wei Wang
f958c5fc61
Merge branch 'dev' into pr3255 2023-10-10 10:40:59 +09:00
dapplion
4eca8e4292 Add CRS files 2023-09-12 10:23:31 +02:00
dapplion
6a944a60f3 Update preset and config files 2023-08-21 11:58:08 +02:00
Lion - dapplion
c90d724392
Whisk: add preset files (#3424)
* Add Whisk preset files

* Use N=8 for minimal preset

* Update spec_object var location
2023-06-19 17:10:15 +03:00
Paul Harris
5576d0e685
Moved configuration into network preset instead of constants. (#3394)
* Moved configuration into network preset instead of constants.

Now that `MAX_CHUNK_SIZE` and `GOSSIP_MAX_SIZE` are in configuration, we no longer need separate constants to represent them in the spec when they change in Bellatrix.

I've changed the usage, and put the values into the presets, but I'm not sure if I've updated the descriptions in the best way...

This is following on from the work in #3375 where a number of constants got moved into configuration, so we no longer need these constants to be separately represented, they can simply be updated in presets.

* Update presets/minimal/bellatrix.yaml

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>

* Update presets/mainnet/bellatrix.yaml

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>

* Moved preset items into the correct section and updated TOC.

It looked like the items listed in configuration about the max size and chunk size were no longer needed since we're updating preset values now and the preset changes seem to only be listed in the changes at the top.

* review feedback

* hopefully correct this time!  Moved the 2 fields from configs into presets completely as suggested.

* WIP - changing back to being in config and updating the phase 0 value... I think this should be close but want to see what's outstanding.

* fix intellij's formatting of table.

* more fixes

---------

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2023-06-09 23:12:38 +08:00
Hsiao-Wei Wang
45f3432019
Update MAX_BLOBS_PER_BLOCK to 6 and add Deneb networking configs to yaml files (#3410) 2023-06-09 23:10:00 +08:00
Hsiao-Wei Wang
f0a4281afd
Add tests. Add validation in the p2p beacon block gossiping 2023-05-24 16:11:32 +08:00
Hsiao-Wei Wang
d0839dfec4
Add EIP-6110 to the pytest scope 2023-03-27 21:31:03 +08:00
Aditya Asgaonkar
e9551715d5 large fork choice upgrade 2023-03-13 11:52:43 -07:00
Hsiao-Wei Wang
4fa396d2cf
Update testing_trusted_setups.json 2023-02-16 23:47:28 +08:00
tersec
f82a440e04
Use engine API-compatible FIELD_ELEMENTS_PER_BLOB in minimal preset 2023-02-16 15:23:05 +00:00
Stefan Bratanov
b26c136b34 fix Deneb reference in presets 2023-02-15 17:25:08 +00:00
Paul Harris
317facbd64 Replaced EIP4844 references with Deneb
Fixes #3207
2023-01-23 15:08:34 +01:00
Hsiao-Wei Wang
2ac06c10d3
Update G2 trusted setup length to 65 2022-12-13 18:14:50 +08:00
Danny Ryan
06d6d3888f
Merge pull request #3095 from ralexstokes/bound-withdrawals-sweep
bound the maximum number of validators considered for withdrawals per sweep
2022-12-12 19:53:29 -07:00
Alex Stokes
37e504e784
bound the maximum number of validators considered for withdrawals per sweep 2022-12-09 10:51:25 -07:00
terence tsao
5b0bfe7eb6 EIP4844: Update MAX_BLOBS_PER_BLOCK to 4 2022-11-30 14:34:09 -08:00
Danny Ryan
37996fc36c
Merge pull request #3068 from potuz/withdrawals_without_queues
Withdrawals without queues
2022-11-10 10:49:25 -07:00
Hsiao-Wei Wang
dac756efee
Minor clean up 2022-11-07 09:09:09 -05:00
Potuz
7e4d1696da
update minimal preset 2022-11-03 11:43:55 -05:00
Potuz
88f49382e0
remove unnecessary constants 2022-11-03 11:41:17 -05:00
Hsiao-Wei Wang
b5986170ca
Update testing trusted setups files 2022-11-03 10:28:05 -05:00
Hsiao-Wei Wang
7c016f3236
Add testing KZG trusted setups generator tool and load the file during building pyspec 2022-11-03 10:17:42 -05:00
Danny Ryan
491f14c76f
some capella sanity tests 2022-10-05 10:40:58 -06:00
Hsiao-Wei Wang
d133dae471
Fix codespell errors (#2975) 2022-08-18 22:08:44 +08:00
George Kadianakis
567a25f883 EIP-4844: Make the spec executable
- Implement all the required glue code to make things executable
- Implement a dummy KZG trusted setup

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-07-13 13:14:05 +03:00
marioevz
86e2f8fd7d Fix name discrepancy 2022-06-23 22:02:39 +00:00
Danny Ryan
74489d5523
Partial withdrawals (#2862)
* t push base design for partial withdrawals

* moor tests

* clean up withdrawals naming

* make partial withdrawal randomized tests better

* Apply suggestions from code review

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>

* fix mainnet brokn test

* name swap

* lint

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-06-08 13:16:12 -06:00
Hsiao-Wei Wang
171a9ccc81
Resolve conflicts 2021-12-27 18:30:12 +08:00