Skip to content

Conversation

@jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented Nov 21, 2023

Issue Addressed

Addresses #4897

Proposed Changes

Add SSZ tests for Altair light client types. This doesn't cover forks after Altair, as Capella/Deneb forks are currently being implemented in #4896. We should change these tests from altair_only to altair_and_later once the types are implemented.

PR is built on top of this branch (#3954), the diffs for this PR is in this commit: 885958e

GeemoCandama and others added 25 commits February 7, 2023 14:58
# Conflicts:
#	beacon_node/beacon_chain/src/events.rs
#	beacon_node/http_api/src/lib.rs
#	beacon_node/http_api/src/test_utils.rs
#	beacon_node/http_api/tests/main.rs
#	beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs
#	beacon_node/lighthouse_network/src/rpc/methods.rs
#	beacon_node/lighthouse_network/src/service/api_types.rs
#	beacon_node/network/src/beacon_processor/worker/rpc_methods.rs
#	beacon_node/tests/test.rs
#	common/eth2/src/types.rs
#	lighthouse/src/main.rs
…tBootstrap` API to return `ForkVersionedResponse`.
- log cleanup
- move http_api config mutation to `config::get_config` for consistency
- fix light client API responses
@jimmygchen jimmygchen added test improvement Improve tests ready-for-review The code is ready for review light-client labels Nov 21, 2023
@jimmygchen jimmygchen changed the title Light client ssz tests SSZ tests for light client types Nov 21, 2023
# LightClientFinalityUpdate
"tests/.*/.*/ssz_static/LightClientFinalityUpdate",
# LightClientHeader
"tests/.*/.*/ssz_static/LightClientHeader",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are failing on CI because it hasn't accessed the capella & deneb files for light client types, might have to wait until we have the types added.

@jimmygchen jimmygchen added blocked and removed ready-for-review The code is ready for review labels Nov 21, 2023
@jimmygchen
Copy link
Member Author

Blocked by #3954 and #4896

# Conflicts:
#	beacon_node/beacon_chain/src/beacon_chain.rs
#	consensus/types/src/light_client_bootstrap.rs
#	consensus/types/src/light_client_header.rs
@jimmygchen
Copy link
Member Author

Included in #4946

@jimmygchen jimmygchen closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants