Hsiao-Wei Wang
651db2f858
Refactoring
2023-10-19 19:18:29 +08:00
danny
1e552f17a7
Merge pull request #3525 from tbenr/patch-1
...
Add new gossip rule to `REJECT` sidecars with index >= MAX_BLOBS_PER_BLOCK
2023-10-18 10:56:24 -06:00
danny
a2d021da48
re-order conditions
2023-10-18 10:38:43 -06:00
Enrico Del Fante
27ad39b73a
Add new gossip rule to `REJECT` sidecars with index >= MAX_BLOBS_PER_BLOCK
2023-10-18 11:54:47 +02:00
Hsiao-Wei Wang
d18b86c675
Merge pull request #3524 from ethereum/bump-version-1
...
bump VERSION.txt
2023-10-18 18:17:33 +09:00
Hsiao-Wei Wang
0002f43896
Merge pull request #3521 from ethereum/official-kzg
...
Use official KZG ceremony output trusted setups
2023-10-18 18:16:56 +09:00
Hsiao-Wei Wang
8d91941818
Merge branch 'dev' into official-kzg
2023-10-18 00:16:01 +08:00
Hsiao-Wei Wang
3cab9ed44d
Remove the "TBD" note
2023-10-18 00:08:15 +08:00
danny
4ebd1bd865
bump VERSION.txt
2023-10-17 09:53:53 -06:00
Hsiao-Wei Wang
a361aff5cf
Delete leftover
2023-10-17 18:30:39 +08:00
Jacek Sieka
66082e3901
revert ParticipationFlags back to `uint8`
...
This can be done separately in the future, if wanted
2023-10-17 11:40:53 +02:00
dapplion
f14900fc45
reference vars from config
2023-10-16 18:02:40 +03:00
Hsiao-Wei Wang
9356e823f5
Merge pull request #3522 from shuoer86/dev
...
Fix typos
2023-10-16 23:23:59 +09:00
Hsiao-Wei Wang
63aa303c5a
consistent naming
2023-10-16 21:31:12 +08:00
Hsiao-Wei Wang
65e1371980
Fix tests
2023-10-16 21:31:07 +08:00
shuoer86
bae3384071
Fix typos
2023-10-16 21:16:26 +08:00
Hsiao-Wei Wang
8d6b28b752
set default bls lib to `fastest_bls`
2023-10-16 17:47:14 +08:00
Hsiao-Wei Wang
9257ad28ac
Rename `KZG_SETUP_LAGRANGE` to `KZG_SETUP_G1_LAGRANGE` and `KZG_SETUP_G2` to `KZG_SETUP_G2_MONOMIAL`
2023-10-16 17:41:46 +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
George Kadianakis
be3c0f7b04
Also make test_barycentric_within_domain() not exhaustive
2023-10-10 16:23:05 +03:00
George Kadianakis
09983a4416
Revive test_compute_kzg_proof_within_domain() -- but not exhaustive
...
It now creates 6 random proofs instead of all 4096.
2023-10-10 16:23:02 +03:00
Lion - dapplion
8acb254511
Use add_validator_to_registry in whisk ( #3486 )
2023-10-10 15:09:21 +03:00
dapplion
5bab432ff4
clean-up todo
2023-10-10 14:17:45 +03:00
dapplion
de30a92f4c
update CRS
2023-10-10 13:29:36 +03:00
Hsiao-Wei Wang
fd082aede6
Delete `test_compute_kzg_proof_within_domain`
2023-10-10 16:57:34 +09:00
Hsiao-Wei Wang
f958c5fc61
Merge branch 'dev' into pr3255
2023-10-10 10:40:59 +09:00
Hsiao-Wei Wang
b04430332e
Merge pull request #3513 from asn-d6/testgen_kzg_4844_positive_g1_at_inf
...
generators/kzg_4844: Add positive G1_POINT_AT_INFINITY test vectors
2023-09-26 19:14:45 +08:00
Hsiao-Wei Wang
0052e68019
Fix linter error
2023-09-25 17:46:43 +08:00
George Kadianakis
a2d500f684
generators/kzg_4844: Add positive G1_POINT_AT_INFINITY test vectors
2023-09-22 15:07:55 +03:00
joethechicken
28e3c807e2
Update validator.md ( #3509 )
2023-09-20 12:53:50 +01:00
Hsiao-Wei Wang
69d34dc4ee
Merge pull request #3507 from ethereum/kzg-tests
...
Add KZGProof at `G1_POINT_AT_INFINITY` test cases
2023-09-20 00:57:49 +08:00
Hsiao-Wei Wang
395bb71442
Add `verify_kzg_proof_case_incorrect_proof_point_at_infinity`
2023-09-20 00:39:47 +08:00
Hsiao-Wei Wang
256367b17c
Group the "incorrect_proof" test cases
2023-09-20 00:21:18 +08:00
Hsiao-Wei Wang
171ae02280
Apply suggestions from code review
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2023-09-20 00:18:08 +08:00
Hsiao-Wei Wang
ba6165185d
Merge pull request #3508 from ethereum/fix-deneb-fc-simple
...
Fix Deneb fork choice baseline test case
2023-09-20 00:16:55 +08:00
Hsiao-Wei Wang
6041c9b9d6
Add KZGProof at `G1_POINT_AT_INFINITY` case
2023-09-19 23:55:09 +08:00
Hsiao-Wei Wang
8900127258
Remove the wrong store time setting
2023-09-19 23:20:33 +08:00
Jacek Sieka
f2ad012cef
spelling bee and lint torture
2023-09-19 14:23:08 +02:00
Jacek Sieka
fe95d7cb6d
ssz: `byte` type and canonical JSON mapping
...
This PR introduces a new `byte` type equivalent in all aspects to
`uint8` except that it has additional intent and display semantics
attached.
On top of this, the PR adds a canonical JSON mapping to the SSZ
specification, documenting current usage of JSON in tests, API:s and
simplifying future interop work between clients and adjacent
specifications such as the Beacon API. The encoding is appropriate to
use with YAML as well.
As an important property, this mapping contains a 1:1 mapping of SSZ
type to JSON encoding - this allows round-tripping any object between
JSON and SSZ based on the SSZ schema and usage of the core SSZ types
alone.
The encoding presented in this PR is used in tests and API:s with one
exception: the `ParticipationFlags` type from the Altair spec - it is
recommended we switch encoding in tests and eventually the beacon API to
address this irregularity, so as to avoid a proliferation "special"
primitive types in the SSZ spec that only appear in particular schemas
(and thus making validating general-purpose `SSZ/JSON` parsers more
complex) as well as differences in encoding between fields of the same
SSZ type.
The PR also clarifies that the introduction of new aliases does not lead
to changes in their canonical JSON specification - this allows building
general SSZ/JSON libraries that do not further depend on open-ended
knowledge about aliases.
This PR should be seen as an alternative to
https://github.com/ethereum/consensus-specs/pull/2983 .
2023-09-19 14:11:42 +02:00
Hsiao-Wei Wang
ce240ca795
Merge pull request #3505 from ethereum/bump-version
...
bump version.txt to 1.4.0-beta.2
2023-09-18 23:01:19 +08:00
Hsiao-Wei Wang
c88cf05358
Merge pull request #3499 from dapplion/limit-churn-inbound
...
Add max epoch activation churn limit (EIP-7514) to Deneb
2023-09-18 23:01:03 +08:00
Hsiao-Wei Wang
264dfadfe0
Merge branch 'dev' into pr3499
2023-09-18 18:07:39 +08:00
Hsiao-Wei Wang
206c328aa3
bump version.txt to 1.4.0-beta.2
2023-09-18 10:07:29 +08:00
Hsiao-Wei Wang
a0a512d821
Merge pull request #3484 from ethereum/rename-small-suite
...
Rename BLS/KZG suite name
2023-09-16 11:47:42 +08:00
Hsiao-Wei Wang
e8041749a2
Apply PR feedback. Rename `inbound_limit` to `activation_limit`
2023-09-15 22:05:26 +08:00
Hsiao-Wei Wang
26d3fa3efd
Apply suggestions from code review
...
Co-authored-by: danny <dannyjryan@gmail.com>
2023-09-15 22:02:34 +08:00
Hsiao-Wei Wang
d26dac9121
Merge pull request #3493 from mxinden/patch-1
...
fix(sepcs/p2p): link to libp2p Yamux specification
2023-09-15 16:00:27 +08:00
Hsiao-Wei Wang
96d8c052ab
Merge pull request #3503 from ethereum/fix-link
...
Update the link of `EIP-7044`
2023-09-15 11:21:33 +08:00