Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Overrides layer for the `dummy_for_testing` overlay (hybrid layout).
// Supplies the dummy values the `prepare-production-overlays` CI job needs for env-only synth.
{
validator_id: '0x64',

consensus_manager_config: {
network_config: {
advertised_multiaddr: null,
bootstrap_peer_multiaddr: null,
},
},

mempool_p2p_config: {
network_config: {
advertised_multiaddr: null,
bootstrap_peer_multiaddr: null,
},
},
}
11 changes: 11 additions & 0 deletions deployments/sequencer/test/test_native_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
INTEGRATION_LAYER_DIR = HYBRID_OVERLAYS_DIR / "sepolia-integration"
SEPOLIA_ALPHA_LAYER_DIR = HYBRID_OVERLAYS_DIR / "sepolia-alpha"
MAINNET_LAYER_DIR = HYBRID_OVERLAYS_DIR / "mainnet"
DUMMY_FOR_TESTING_LAYER_DIR = HYBRID_OVERLAYS_DIR / "common" / "dummy_for_testing"


def test_deep_merge_preserves_explicit_null():
Expand Down Expand Up @@ -184,3 +185,13 @@ def test_sepolia_alpha_layer_jsonnet_mirrors_combined_yaml():
def test_mainnet_layer_jsonnet_mirrors_combined_yaml():
"""REGRESSION: same invariant for the `mainnet` env layer."""
_assert_layer_jsonnet_mirrors_combined_yaml(MAINNET_LAYER_DIR)


def test_dummy_for_testing_layer_jsonnet_mirrors_combined_yaml():
"""REGRESSION: same invariant for the `dummy_for_testing` overlay layer.

This layer supplies the dummy values the `prepare-production-overlays` CI job needs for env-only
synth (validator_id + the consensus/mempool multiaddrs), so its native override jsonnet must
mirror the combined YAMLs like the env layers do.
"""
_assert_layer_jsonnet_mirrors_combined_yaml(DUMMY_FOR_TESTING_LAYER_DIR)
Loading