Skip to content

Commit

Permalink
fix: add some config
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Dec 18, 2024
1 parent 90d1f7a commit f20836a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ protected Map<String, JsonRpcMethod> create() {
new EnginePreparePayloadDebug(
consensusEngineServer, protocolContext, engineQosTimer, mergeCoordinator.get())));

if (protocolSchedule.anyMatch(p -> p.spec().getName().equalsIgnoreCase("cancun"))) {
if (protocolSchedule.anyMatch(p -> p.spec().getName().equalsIgnoreCase("cancun") || p.spec().getName().equalsIgnoreCase("canyon"))) {
executionEngineApisSupported.add(
new EngineGetPayloadV3(
consensusEngineServer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,8 @@ static ProtocolSpecBuilder graniteDefinition(
TransactionType.ACCESS_LIST,
TransactionType.EIP1559,
TransactionType.OPTIMISM_DEPOSIT),
evm.getEvmVersion().getMaxInitcodeSize()))
evm.getEvmVersion().getMaxInitcodeSize(),
genesisConfigOptions))
.precompileContractRegistryBuilder(MainnetPrecompiledContractRegistries::granite)
.blockHeaderValidatorBuilder(MainnetBlockHeaderValidator::cancunBlockHeaderValidator)
.blockHashProcessor(new CancunBlockHashProcessor())
Expand Down

0 comments on commit f20836a

Please sign in to comment.