Commit Graph

8877 Commits

Author SHA1 Message Date
Etan Kissling 02d47f1554
ensure `floorlog2` is available for use in `Custom types` section 2024-01-09 14:54:52 +01:00
Etan Kissling 05c2ce11db
Merge branch 'dev' into lc-branchtypes 2024-01-09 14:35:31 +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
Etan Kissling fca5e3b06a
Use proper types when dealing with LC Merkle proofs 2023-12-27 13:59:31 +01:00
Etan Kissling cf55918a6f
Avoid Mypy error during lint 2023-12-27 13:58:36 +01:00
Etan Kissling 3e5427e31e
Align formatting 2023-12-27 12:54:36 +01:00
Etan Kissling 5717a81393
Capella addition 2023-12-27 12:44:05 +01:00
Etan Kissling 316ea98792
Use types for representing LC Merkle branches
For better legibility and alignment with `ethereum/beacon-APIs`, use
named types for the various Merkle branches used in the LC protocol.

- https://github.com/ethereum/beacon-APIs/blob/v2.4.2/types/altair/light_client.yaml#L2-L22
2023-12-27 12:42:29 +01: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