Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOCIL #8946

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

FOCIL #8946

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
Expand Up @@ -90,6 +90,12 @@ private static TekuNodeConfigBuilder createTekuNodeBuilderForMilestone(
tekuNodeConfigBuilder.withDenebEpoch(UInt64.ZERO);
tekuNodeConfigBuilder.withElectraEpoch(UInt64.ZERO);
break;
case EIP7805:
tekuNodeConfigBuilder.withCapellaEpoch(UInt64.ZERO);
tekuNodeConfigBuilder.withDenebEpoch(UInt64.ZERO);
tekuNodeConfigBuilder.withElectraEpoch(UInt64.ZERO);
tekuNodeConfigBuilder.withEip7805Epoch(UInt64.ZERO);
break;
default:
// Test will reach this whenever a new milestone is added and isn't mapped on the switch.
// This is a way to force us to always remember to validate that a new milestone can start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ public TekuNodeConfigBuilder withElectraEpoch(final UInt64 electraForkEpoch) {
return this;
}

public TekuNodeConfigBuilder withEip7805Epoch(final UInt64 eip7805ForkEpoch) {
mustBe(NodeType.BEACON_NODE);
LOG.debug("Xnetwork-eip7805-fork-epoch={}", eip7805ForkEpoch);
configMap.put("Xnetwork-eip7805-fork-epoch", eip7805ForkEpoch.toString());
specConfigModifier =
specConfigModifier.andThen(
specConfigBuilder ->
specConfigBuilder.eip7805Builder(
eip7805Builder -> eip7805Builder.eip7805ForkEpoch(eip7805ForkEpoch)));
return this;
}

public TekuNodeConfigBuilder withTrustedSetupFromClasspath(final String trustedSetup)
throws Exception {
mustBe(NodeType.BEACON_NODE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the block being submitted, if using SSZ encoding."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the block being submitted, if using SSZ encoding."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
]
},
"data": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the block being submitted."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the block being submitted."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down Expand Up @@ -85,7 +86,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the attestations being submitted."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down Expand Up @@ -66,7 +67,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the attester slashing being submitted."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"in" : "header",
"schema" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ],
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ],
"description" : "Version of the aggregate and proofs being submitted."
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"bellatrix",
"capella",
"deneb",
"electra"
"electra",
"eip7805"
],
"example": "phase0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"type" : "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"type" : "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"execution_optimistic" : {
"type" : "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"execution_optimistic" : {
"type" : "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"type" : "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"execution_optimistic" : {
"type" : "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"$ref" : "#/components/schemas/LightClientBootstrap"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"type" : "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"data" : {
"type" : "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"execution_optimistic" : {
"type" : "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties" : {
"version" : {
"type" : "string",
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra" ]
"enum" : [ "phase0", "altair", "bellatrix", "capella", "deneb", "electra", "eip7805" ]
},
"execution_payload_blinded" : {
"type" : "boolean"
Expand Down
Loading
Loading