Etan Kissling
240a127f9f
Consider fork transitions when using `get_sync_aggregate` helper func
...
When calling `get_sync_aggregate` with a `signature_slot - 1` in a
future fork, i.e., the first slot of the new fork is missed, it uses
a wrong fork version for the signature. Fix that by correctly applying
fork transitions to the `signature_state`, if a fork schedule is given.
2024-01-09 16:10:28 +01:00
Parithosh Jayanthi
e52594634c
WIP: Update dockerisation ( #3477 )
...
* 🐳 add Dockerfile and dockerfile based script for consensus-spec tests
2024-01-04 17:09:06 +01:00
Hsiao-Wei Wang
877817cdbd
Merge pull request #3562 from ethereum/refactor-context
...
Refactor pyspec to reduce some hardcoded spec fork names
2023-12-28 01:44:40 +08:00
Hsiao-Wei Wang
9fbf75139d
Add assertion to ensure eval usage is fine
2023-12-21 22:55:46 +08:00
Hsiao-Wei Wang
b123f9faee
update doc
2023-12-15 19:12:57 +08:00
Hsiao-Wei Wang
c1945926b6
update doc
2023-12-15 03:27:13 +08:00
Hsiao-Wei Wang
eb16a77702
Refactor `do_fork` with terrifying eval() and `PREVIOUS_FORK_OF`
2023-12-15 03:24:42 +08:00
Hsiao-Wei Wang
1d7c3d4164
Use md_doc_paths.py `is_post_fork` in pyspec itself; clean up `create_genesis_state` helper
2023-12-15 03:23:28 +08:00
Hsiao-Wei Wang
f0c900282e
update new-feature doc
2023-12-15 01:04:01 +08:00
Hsiao-Wei Wang
67279448be
Fix import
2023-12-15 01:03:35 +08:00
Hsiao-Wei Wang
d399cdedfa
Fix linter config
2023-12-15 00:56:41 +08:00
Hsiao-Wei Wang
b89434f831
Extract the hardcoded spec names into a `specs.py` file
2023-12-15 00:55:20 +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
dapplion
42d91d5482
fix tests for mainnet preset
2023-12-07 22:22:49 +01:00
danny
b2f2102dad
Merge pull request #3556 from ethereum/blob-subnets
...
Move `blob_sidecar_{subnet_id}` to `Blob subnets` section
2023-12-04 10:15:57 -07:00
danny
4420c642d6
Merge pull request #3558 from ethereum/bump-version
...
bump version to v1.4.0-beta.5
2023-12-04 10:15:34 -07:00
Hsiao-Wei Wang
a558f1956c
bump version to v1.4.0-beta.5
2023-12-04 23:06:27 +08:00
Hsiao-Wei Wang
06fe616558
Merge pull request #3551 from tbenr/specify_rpc_by_root_elegibility
...
Specify when clients can serve block and sidecars in byRoot RPC methods
2023-12-05 00:05:16 +09:00
danny
d343b6f1d9
Apply suggestions from code review
2023-12-04 07:47:12 -07:00
Hsiao-Wei Wang
c43173e5bf
Move `blob_sidecar_{subnet_id}` to `Blob subnets` section
2023-12-02 07:33:18 +08:00
Enrico Del Fante
ba09761ec3
remove gossip failure rules
2023-12-01 18:36:25 +01:00
Enrico Del Fante
cf39eeda3d
Update specs/deneb/p2p-interface.md
...
Co-authored-by: danny <dannyjryan@gmail.com>
2023-12-01 17:29:54 +01:00
Enrico Del Fante
eed7a66b25
Update specs/deneb/p2p-interface.md
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2023-12-01 08:28:41 +01:00
Enrico Del Fante
dad09f64b3
Update specs/phase0/p2p-interface.md
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2023-12-01 08:28:29 +01:00
danny
113c58f9bf
Merge pull request #3555 from ethereum/random-blob_kzg_commitment_merkle_proof
...
Add randomized block `blob_kzg_commitment_merkle_proof` cases
2023-11-30 12:56:57 -07:00
Enrico Del Fante
c661e20e60
simplify and add a new rule
2023-11-30 16:11:33 +01:00
Hsiao-Wei Wang
6a460aeba1
Add randomized block cases
2023-11-30 23:06:27 +08:00
Enrico Del Fante
bdac932ebb
from on_block to state_transition
2023-11-30 15:20:35 +01:00
Enrico Del Fante
662c6ebc38
remove the last consider
2023-11-30 15:20:35 +01:00
Enrico Del Fante
b525e9ed35
Update specs/deneb/p2p-interface.md
...
Co-authored-by: danny <dannyjryan@gmail.com>
2023-11-30 15:20:35 +01:00
Enrico Del Fante
88b1818e9b
Update specs/deneb/p2p-interface.md
...
Co-authored-by: danny <dannyjryan@gmail.com>
2023-11-30 15:20:35 +01:00
Enrico Del Fante
ccca4498c9
apply suggestion
2023-11-30 15:20:35 +01:00
Enrico Del Fante
4c5e5c886f
Update specs/phase0/p2p-interface.md
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2023-11-30 15:20:35 +01:00
Enrico Del Fante
d749a49665
rephrase
2023-11-30 15:20:35 +01:00
Enrico Del Fante
e2ca4b3519
add failed on_block condition
2023-11-30 15:20:35 +01:00
Enrico Del Fante
ccf9e3419b
Update specs/deneb/p2p-interface.md
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2023-11-30 15:20:34 +01:00
Enrico Del Fante
6bbdeb88e0
Update specs/phase0/p2p-interface.md
...
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2023-11-30 15:20:34 +01:00
Enrico Del Fante
c46c4ec7cb
fix typo
2023-11-30 15:20:34 +01:00
Enrico Del Fante
e664d407ca
Specify RPC byRoot blocks-sidecars elegibility
2023-11-30 15:20:34 +01:00
danny
8fa1f8ed0a
Merge pull request #3550 from ethereum/on-tick-precondition
...
Check `assert time >= store.time` in fork-choice tests
2023-11-30 06:58:40 -07:00
Hsiao-Wei Wang
581a64be2b
cleanup leftover
2023-11-30 18:56:51 +08:00
Hsiao-Wei Wang
a8d02685c2
Merge branch 'dev' into on-tick-precondition
2023-11-30 08:05:27 +08:00
Hsiao-Wei Wang
6fb9b0a9a4
Revert the spec. Only handle it in tests
2023-11-30 03:58:27 +08:00
Hsiao-Wei Wang
102809371e
Merge pull request #3548 from ethereum/fix-fc-script
...
Remove extra tick
2023-11-29 19:36:40 +09:00
Hsiao-Wei Wang
3d853b0ec9
Add `assert time >= store.time` to `on_tick`
2023-11-16 17:25:54 +03:00
Hsiao-Wei Wang
70ce4f28c0
Remove extra tick
2023-11-14 12:06:33 +03:00
danny
36f0bb0ed6
Merge pull request #3541 from etan-status/df-rmsigned
...
Remove `SignedBlobSidecar` refs from p2p spec
2023-11-03 14:03:04 -06:00
danny
088dd19905
Merge pull request #3542 from etan-status/df-nodomain
...
Remove unused `DOMAIN_BLOB_SIDECAR`
2023-11-03 14:02:52 -06:00
Etan Kissling
9338d37c15
Update toc
2023-11-03 11:47:30 +01:00
Etan Kissling
3ef362ce90
Remove unused `DOMAIN_BLOB_SIDECAR`
...
Blob sidecars are no longer signed, remove signing domain.
2023-11-03 11:30:28 +01:00