Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Mar 21, 2024
1 parent b48324b commit 999dbd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package org.hyperledger.besu.ethereum.mainnet;

import org.hyperledger.besu.config.GenesisConfigOptions;
import org.hyperledger.besu.ethereum.core.MiningParameters;
import org.hyperledger.besu.evm.MainnetEVMs;
import org.hyperledger.besu.evm.internal.EvmConfiguration;

Expand All @@ -31,15 +32,17 @@ static ProtocolSpecBuilder lineaOpCodesDefinition(
final OptionalInt configStackSizeLimit,
final boolean enableRevertReason,
final GenesisConfigOptions genesisConfigOptions,
final EvmConfiguration evmConfiguration) {
final EvmConfiguration evmConfiguration,
final MiningParameters miningParameters) {

return MainnetProtocolSpecs.londonDefinition(
chainId,
configContractSizeLimit,
configStackSizeLimit,
enableRevertReason,
genesisConfigOptions,
evmConfiguration)
evmConfiguration,
miningParameters)
// some Linea evm opcodes behave differently.
.evmBuilder(
(gasCalculator, jdCacheConfig) ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ public ProtocolSpecBuilder lineaOpCodesDefinition(
evmStackSize,
isRevertReasonEnabled,
genesisConfigOptions,
evmConfiguration);
evmConfiguration,
miningParameters);
}
}

0 comments on commit 999dbd9

Please sign in to comment.