Justin Traglia
179cde6780
Add new check_mods
function for generators ( #3970 )
...
* Add new check_mods function for generators
* Use single qoutes for consistency
* Add [ERROR] to the exception & update readme
* Fix typos
* Fix lint
2024-10-14 23:42:57 +08:00
Justin Traglia
5fa7791d23
Merge pull request #3975 from jtraglia/fix-invalid-file-references
...
Fix invalid file references in markdown files
2024-10-14 10:39:22 -05:00
Justin Traglia
68d32accf9
Delete trailing whitespace for markdown files
2024-10-11 07:54:50 -05:00
Justin Traglia
6416a562ab
Add ssz_{de,}serialize aliases
2024-10-10 13:41:33 -05:00
Justin Traglia
0ecc87164b
Update deserialize() definition
2024-10-10 09:43:50 -05:00
Lucas Saldanha
2a163adda2
Fix lint errors
2024-10-10 19:30:10 +13:00
Lucas Saldanha
a3153a53ca
Add deserialize fn
2024-10-10 17:27:19 +13:00
Justin Traglia
8cfe8fb7a6
Re-order kzg tests
2024-10-09 14:32:17 -05:00
Justin Traglia
81a0f435f6
Fix invalid file references in markdown files
2024-10-09 14:31:08 -05:00
Justin Traglia
72f51900a7
Fix lint
2024-10-09 11:55:49 -05:00
Etan Kissling
1ecf334969
Merge branch 'dev' into df-rlptx
2024-10-09 12:45:19 +02:00
Etan Kissling
34510e3bd8
Merge branch 'dev' into bf-emptytx
2024-10-09 12:43:40 +02:00
Hsiao-Wei Wang
7df8ab7f4a
Add Electra test_process_withdrawals
path to testgen
2024-10-08 14:35:09 +08:00
Justin Traglia
8d7613821c
Bump version to 1.5.0-alpha.8
2024-10-07 19:30:29 -05:00
Justin Traglia
745b4dd3db
Move yield pre-state after state setup
2024-10-07 07:24:13 -05:00
Justin Traglia
ad42273440
Use pending_deposits format for both test files
2024-10-04 11:58:58 -05:00
Justin Traglia
3befc4279b
Rename test_apply_pending_deposit* to test_process_pending_deposit*
2024-10-04 10:57:01 -05:00
Justin Traglia
77d2865eee
Rename test_apply_pending_deposit to test_process_pending_deposit
2024-10-04 09:22:16 -05:00
Mikhail Kalinin
770598438e
Fix consolidation test
2024-10-04 10:25:58 +04:00
Suphanat Chunhapanya
cbc4b5530f
EIP-7594: Decouple network subnets from das-core
...
Currently we use subnets as a unit of custody in the PeerDAS core
protocol because it doesn't make sense to partially custody only some
columns in the subnets and waste the bandwidth to download the columns
the node doesn't custody.
Since subnets correspond to GossipSub topics which are in a layer lower
than the core protocol, using subnets as a unit of custody makes the
core layer and the network layer too coupled to each other and leave no
room for the network layer flexibility.
This commit introduces "custody groups" which are used a unit of custody
instead of subnets.
The immediate benefit of the decoupling is that we can immediately
increase the number of subnets without affecting the expected number of
peers to cover all columns and affecting the network stability and
without touching the core protocol.
The reason we want to increase the number of subnets to match the number
of columns is that the columns will be propagated through the network
faster when they have their own subnets. Just like EIP-4844, each
blob has its own subnet because, if all the blobs are in a single subnet,
the blobs will be propagated more slowly.
Since we keep the number of custody groups the same as the previous
number of subnets (32), the expected number of peers you need to cover
all the columns is not changed. In fact, you need only NUMBER_OF_COLUMNS
and NUMBER_OF_CUSTODY_GROUPS to analyze the expected number, which
makes the core protocol completely decoupled from the network layer.
2024-10-04 11:20:45 +07:00
Justin Traglia
82d2bc0d96
Fix two tests by replacing old PendingBalanceDeposit
2024-10-03 14:43:11 -05:00
Justin Traglia
358378dccf
Merge branch 'dev' into deposit-queue
2024-10-03 13:49:42 -05:00
Justin Traglia
24874f3013
Merge pull request #3953 from jtraglia/reject-invalid-dcs
2024-10-03 11:52:28 -05:00
Justin Traglia
f081b1b5c2
Merge pull request #3918 from mkalinin/consolidation-switch-to-comp
2024-10-03 11:30:33 -05:00
Justin Traglia
62c32da22b
Be more consistent with test names
2024-10-03 11:20:38 -05:00
Mikhail Kalinin
66f5c3776c
Fix switch to compounding tests
2024-10-03 17:55:39 +04:00
Mikhail Kalinin
2dd9e82306
Remove blank lines
2024-10-03 17:51:48 +04:00
Justin Traglia
1329410f0e
Bump version to 1.5.0-alpha.7 ( #3955 )
2024-10-03 07:44:25 -05:00
Justin Traglia
3984bd3604
Convert assert to return False
2024-10-02 16:02:39 -05:00
Justin Traglia
09cc20459b
Add an extra blank line for consistency
2024-10-02 15:53:42 -05:00
Justin Traglia
df987b5e50
Create new verify_data_column_sidecar() function
2024-10-02 15:47:42 -05:00
Justin Traglia
4578b59ab7
Use wrapper function which does the deepcopy
2024-10-02 14:39:09 -05:00
Justin Traglia
3f49e6c155
Deepcopy sidecar before modifying it
2024-10-02 14:02:18 -05:00
Justin Traglia
578407a4c3
Reject invalid DataColumnSidecar for zero blobs
2024-10-02 12:56:47 -05:00
terence
a6294c6bd0
Add a negative test for inactive validator for withdrawal request ( #3945 )
2024-10-02 07:45:23 -05:00
Mikhail Kalinin
111a65816a
Merge branch 'dev' into full-exit-has-partial-withdrawal-test
2024-10-02 14:34:28 +04:00
Mikhail Kalinin
e8a013b7ac
Merge pull request #3947 from terencechain/withdrawal-request-balance-tests
...
Fix insufficient effective bal test and add a bal test
2024-10-02 14:31:16 +04:00
Mikhail Kalinin
4ee4105192
Merge branch 'dev' into deposit-queue
2024-10-02 13:08:13 +04:00
Mikhail Kalinin
11cfd96487
Merge branch 'dev' into consolidation-switch-to-comp
2024-10-01 15:39:28 +04:00
Mikhail Kalinin
a7b0d6f416
Apply suggestions from code review
...
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-10-01 15:37:53 +04:00
Mikhail Kalinin
ecb4c2aa9c
eip7251: Fix partial withdrawals count ( #3943 )
2024-09-30 16:21:14 -05:00
Justin Traglia
29552a7884
Capitalize comment
2024-09-30 09:28:07 -05:00
terence tsao
e46ba7fed2
Fix insufficient effective bal test and add a bal test
2024-09-27 21:12:37 -07:00
Justin Traglia
a9e3aada7f
Use bls.Scalar
as the base class for BLSFieldElement
( #3907 )
2024-09-27 07:19:04 -05:00
Mikhail Kalinin
33302651f9
Apply suggestions from @jtraglia
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-09-27 12:17:24 +04:00
terence tsao
83857264c2
Add a negative test for full exit has partial withdrawal
2024-09-26 15:05:23 -07:00
Justin Traglia
72e9a319f1
Replace links to eth2.0-specs with consensus-specs ( #3934 )
...
* Replace references to eth2.0
* Revert changes to the deposit contract dir
2024-09-26 21:06:47 +08:00
Justin Traglia
dcdcf25d81
Fix electra sanity testgen for blocks ( #3939 )
2024-09-24 12:54:45 -05:00
Etan Kissling
0c5549e1c8
Merge branch 'dev' into df-rlptx
2024-09-20 00:05:24 +02:00
Etan Kissling
9d53bb923a
Merge branch 'dev' into bf-emptytx
2024-09-19 23:53:37 +02:00