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

State recover part 4 #324

Open
wants to merge 103 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
2cbb0b0
statereover: add logger to blobscan client
jpnovais Nov 20, 2024
c2f8253
statereover: support for legacy transactions in data class and rpc cl…
jpnovais Nov 20, 2024
480c8a2
statereover: improve rest client
jpnovais Nov 20, 2024
196ce3c
statereover: increase decompression default byteArray buffer size
jpnovais Nov 20, 2024
3eb8e64
statereover: remove unnecessary plugin in web3j extension
jpnovais Nov 20, 2024
9823f5d
statereover: adds blob decompressor and deserialization
jpnovais Nov 21, 2024
de1a524
statereover: add missing besu libs
jpnovais Nov 21, 2024
c912886
coordinator: update docker compose images and make targets
jpnovais Nov 22, 2024
bfba022
staterecover: adds custom logger to execution layer client
jpnovais Nov 22, 2024
1516fc3
coordinator: disable log on gasprice staticcaps which are noisy locally
jpnovais Nov 22, 2024
ccdff62
coordinator: adds new InstantAsHexNumberSerDe
jpnovais Nov 25, 2024
2ac7a0e
coordinator: removes pointless comment
jpnovais Nov 25, 2024
5fc106a
coordinator: small adjusts on execution layer linea_importForkChoiceU…
jpnovais Nov 25, 2024
84aa0c1
coordinator: remove unnecessary extraData field
jpnovais Nov 25, 2024
169840f
staterecover: add testing dependencies
jpnovais Nov 25, 2024
5baf218
staterecover: improve local stack
jpnovais Nov 25, 2024
d7f529b
staterecover: fix make targets
jpnovais Nov 25, 2024
bbeb676
Merge branch 'main' into fixes-localstack
jpnovais Nov 25, 2024
2d57a7a
staterecover: fix make targets
jpnovais Nov 25, 2024
bd81ea4
Merge branch 'fixes-localstack' into state-recover-4
jpnovais Nov 25, 2024
bd5fa8f
staterecover: add TransactionDetailsClient
jpnovais Nov 25, 2024
f2c63da
staterecover: adds new ExecutionLayerClient state recover methods
jpnovais Nov 25, 2024
388f68f
Merge branch 'main' into state-recover-4
jpnovais Nov 26, 2024
d82be41
staterecover: udpate make target
jpnovais Nov 26, 2024
94ef0f8
staterecover: expose bindedPort in HttpJsonRpcServer
jpnovais Nov 26, 2024
ddef8bc
staterecover: adds JsonRpcErrorResponseException#asJsonRpcError
jpnovais Nov 26, 2024
3794bc6
coordinator: fix submission test
jpnovais Nov 26, 2024
dba96a8
staterecovery: adds FakeJsonRpcServer
jpnovais Nov 27, 2024
95a46f5
staterecovery: remove unnecessary dependencies
jpnovais Nov 27, 2024
a332de3
staterecovery: remove unnecessary lineaEngineForkChoiceUpdated (it wo…
jpnovais Nov 27, 2024
010c8e0
jvmlibs-jsonrpc: fix logger warning "WARN found 3 argument placeholde…
jpnovais Nov 27, 2024
4eec903
jvmlibs-jsonrpc: allow naming
jpnovais Nov 28, 2024
aa0a9cd
staterecovery: improve todo message
jpnovais Nov 28, 2024
a5b4102
staterecovery: add missing java-test-fixtures
jpnovais Nov 28, 2024
0ca7632
coordinator: carve out LineaRollupSmartContractClientReadOnly
jpnovais Nov 28, 2024
64c1780
coordinator: carve out LineaRollupSmartContractClientReadOnly
jpnovais Nov 28, 2024
9fd5e26
Merge branch 'coordinator-carveout-smartcontract-readonly' into state…
jpnovais Nov 28, 2024
4095396
fix merge conflict on HttpJsonRpcServer
jpnovais Nov 28, 2024
c6e39d5
fix MinimalInLineJsonRpcLoggerTest
jpnovais Nov 28, 2024
b12b0ae
Merge branch 'main' into state-recover-4
jpnovais Nov 28, 2024
cff0a10
staterecovery: add state recovery core APP
jpnovais Nov 28, 2024
bb109dd
coordinator: carve out Web3JLogsClient
jpnovais Nov 28, 2024
0164573
staterecovery: use common Web3JLogsClient
jpnovais Nov 28, 2024
cef2a8c
staterecovery: use traces v2 for staterocevry int tests in gradle
jpnovais Nov 28, 2024
70fec2f
staterecovery: improve JSON-RPC
jpnovais Nov 29, 2024
8192e97
staterecovery: add util to perform binay search for eth_getLogs accro…
jpnovais Nov 29, 2024
bee60b8
staterecovery: improve fake jsonRpcServer
jpnovais Nov 29, 2024
22cf9ce
staterecovery: simplify events fetcher
jpnovais Nov 30, 2024
87bd0a3
staterecovery: carve out EthLogsSearcher interface to clients:interfa…
jpnovais Nov 30, 2024
858f053
staterecover: move smartcontract client into core (it does not depend…
jpnovais Nov 30, 2024
7e34374
staterecover: package refactor and fake clients
jpnovais Nov 30, 2024
5df05fa
staterecover: testcases gradle file
jpnovais Nov 30, 2024
00228a5
staterecover: add App test cases
jpnovais Nov 30, 2024
d616e6e
staterecover: class renaming
jpnovais Nov 30, 2024
005788b
staterecover: simplify core gradle build
jpnovais Dec 1, 2024
26e6b29
staterecover: improve client logging
jpnovais Dec 2, 2024
5eb168e
staterecover: add FakeStateManagerClientReadFromL1
jpnovais Dec 2, 2024
2336efe
staterecover: add MeasureLogger util
jpnovais Dec 2, 2024
91dc67e
staterecover: support for trySetRecoveryModeAtBlockHeight
jpnovais Dec 2, 2024
27e0a8c
staterecover: adjust configs in the tests
jpnovais Dec 2, 2024
b57d84a
staterecover: test case to start from sepolia
jpnovais Dec 2, 2024
d757d69
staterecover: deserialize blobs in parallel
jpnovais Dec 2, 2024
6d28f15
staterecover: fix log search
jpnovais Dec 2, 2024
0554bc3
staterecover: small code rearange
jpnovais Dec 3, 2024
fb6a7c0
staterecover: fix Web3JLogsSearcher when logs does not exist
jpnovais Dec 3, 2024
5f112f2
staterecover: remove unused ver
jpnovais Dec 3, 2024
f585120
staterecover: adds integration tests with real BESU (WIP)
jpnovais Dec 3, 2024
9becf2f
Merge branch 'main' into state-recover-4
jpnovais Dec 3, 2024
edd79af
staterecover: fix comliper warning
jpnovais Dec 3, 2024
758a919
staterecover: improve log message
jpnovais Dec 3, 2024
8f5b2dd
staterecover: improve local stack spin up
jpnovais Dec 4, 2024
c1119fe
staterecover: lower test logger level
jpnovais Dec 4, 2024
261c270
staterecover: fix compiler warnings
jpnovais Dec 4, 2024
025ca03
staterecover: fix error message
jpnovais Dec 4, 2024
0f260d5
staterecover: update traces limit-v2 to match sepolia configs
jpnovais Dec 5, 2024
b00a606
staterecover: compose profiles fix
jpnovais Dec 5, 2024
3f4fac2
staterecover: fix traces limit v2 config
jpnovais Dec 5, 2024
1d8df01
staterecover: code rearange
jpnovais Dec 5, 2024
05a577d
Merge branch 'main' into state-recover-4
jpnovais Dec 12, 2024
1e06666
Merge branch 'main' into state-recover-4
jpnovais Dec 16, 2024
9305308
coordinator: fix linting
jpnovais Dec 16, 2024
7e37025
staterecovery: fix merge issues (still need to fix tests)
jpnovais Dec 17, 2024
0c0e44a
Merge branch 'main' into state-recover-4
jpnovais Dec 17, 2024
cd0a633
Prover Client: remove unnecessary toUlong
jpnovais Dec 17, 2024
433d20c
fix local stack configs
jpnovais Dec 17, 2024
b93c3cb
fix configs test
jpnovais Dec 17, 2024
fe6c677
staterecovery: fix decoder test and add new rlp block sample data
jpnovais Dec 17, 2024
112b91f
staterecovery: remove now not necessary localdev dependencies
jpnovais Dec 17, 2024
22a5641
staterecovery: improve dependencies in gradle
jpnovais Dec 17, 2024
e350d2f
staterecovery: improve dependencies in gradle
jpnovais Dec 17, 2024
79f18ea
staterecovery: fix calldata deserialization
jpnovais Dec 18, 2024
9ed5fda
staterecovery: fix stack config
jpnovais Dec 18, 2024
0133959
staterecovery: fix log
jpnovais Dec 18, 2024
b83cb58
staterecovery: improve make file
jpnovais Dec 18, 2024
c499b8b
staterecovery: update besu and Shomei plugin
jpnovais Dec 18, 2024
e711147
Merge branch 'main' into state-recover-4
jpnovais Dec 19, 2024
30cd4f2
Merge branch 'main' into state-recover-4
jpnovais Dec 19, 2024
7209dd7
Merge branch 'main' into state-recover-4
jpnovais Dec 20, 2024
c51e17b
staterecover: update shomei
jpnovais Dec 20, 2024
dd74d77
coordinator: update besu dependency
jpnovais Dec 20, 2024
aaee5f6
coordinator: retry account funding
jpnovais Dec 20, 2024
aa16def
Merge branch 'update-besu-depenedency-jar' into state-recover-4
jpnovais Dec 20, 2024
4cba340
staterecover: fix rlp_blocks sample
jpnovais Dec 20, 2024
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
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ deploy-l2-evm-opcode-tester:
RPC_URL=http:\\localhost:8545/ \
npx ts-node local-deployments-artifacts/deployLondonEvmTestingFramework.ts

execute-all-opcodes:
evm-opcode-tester-execute-all-opcodes:
# WARNING: FOR LOCAL DEV ONLY - DO NOT REUSE THESE KEYS ELSEWHERE
cd contracts/; \
OPCODE_TEST_CONTRACT_ADDRESS=0x997FC3aF1F193Cbdc013060076c67A13e218980e \
Expand Down Expand Up @@ -216,11 +216,10 @@ deploy-contracts-minimal:
cd .. && \
$(MAKE) -j6 deploy-linea-rollup-v$(L1_CONTRACT_VERSION) deploy-l2messageservice

start-all-staterecover: L1_CONTRACT_VERSION:=6
start-all-staterecover: COMPOSE_PROFILES:=l1,l2,staterecover
start-all-staterecover:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment COMPOSE_PROFILES=$(COMPOSE_PROFILES)
make deploy-contracts-minimal L1_CONTRACT_VERSION=$(L1_CONTRACT_VERSION)
fresh-start-all-staterecover: COMPOSE_PROFILES:=l1,staterecover
fresh-start-all-staterecover:
make clean-environment
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment-traces-v2 COMPOSE_PROFILES=$(COMPOSE_PROFILES)

testnet-start-l2:
docker compose -f docker/compose.yml -f docker/compose-testnet-sync.overrides.yml --profile l2 up -d
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ dockerCompose {
"staterecover"
]
useComposeFiles = [
"${project.rootDir.path}/docker/compose.yml"
"${project.rootDir.path}/docker/compose.yml",
"${project.rootDir.path}/docker/compose-local-dev-traces-v2.overrides.yml"
]
waitForHealthyStateTimeout = Duration.ofMinutes(3)
waitForTcpPorts = false
Expand Down
23 changes: 11 additions & 12 deletions config/common/traces-limits-v2.toml
Copy link
Collaborator Author

@jpnovais jpnovais Dec 17, 2024

Choose a reason for hiding this comment

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

These limits were extracted from Sepolia. Previous values were not allowing a conflation on more than 1 block

Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ BLOCK_HASH = 512
EC_DATA = 262144
EUC = 65536
EXP = 8192
EXT = 65536
EXT = 1048576
GAS = 65536
HUB = 2097152
LOG_DATA = 65536
LOG_INFO = 4096
MMIO = 2097152
MMIO = 4194304
MMU = 4194304
MOD = 131072
MUL = 65536
MXP = 524288
OOB = 262144
RLP_ADDR = 4096
RLP_TXN = 131072
RLP_TXN_RCPT = 32768
ROM = 8388608
RLP_TXN_RCPT = 65536
ROM = 4194304
ROM_LEX = 1024
SHAKIRA_DATA = 32768
SHF = 65536
STP = 32768
TRM = 8192
STP = 16384
TRM = 32768
TXN_DATA = 8192
WCP = 262144
#
# Reference table limits
# Reference table limits, set to UInt.MAX_VALUE
#
BIN_REFERENCE_TABLE = 196864
SHF_REFERENCE_TABLE = 4096
INSTRUCTION_DECODER = 512
BIN_REFERENCE_TABLE = 4294967295
SHF_REFERENCE_TABLE = 4294967295
INSTRUCTION_DECODER = 4294967295
#
# Precompiles limits
#
Expand All @@ -48,7 +48,7 @@ PRECOMPILE_MODEXP_EFFECTIVE_CALLS = 4
PRECOMPILE_ECADD_EFFECTIVE_CALLS = 16384
PRECOMPILE_ECMUL_EFFECTIVE_CALLS = 32
PRECOMPILE_ECPAIRING_FINAL_EXPONENTIATIONS = 16
PRECOMPILE_ECPAIRING_G2_MEMBERSHIP_CALLS = 64
PRECOMPILE_ECPAIRING_G2_MEMBERSHIP_CALLS = 64
PRECOMPILE_ECPAIRING_MILLER_LOOPS = 64
PRECOMPILE_BLAKE_EFFECTIVE_CALLS = 600
PRECOMPILE_BLAKE_ROUNDS = 600
Expand All @@ -59,4 +59,3 @@ BLOCK_KECCAK = 8192
BLOCK_L1_SIZE = 1000000
BLOCK_L2_L1_LOGS = 16
BLOCK_TRANSACTIONS = 200

Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ blob-compressor-version="V1_0_1"
expected-traces-api-version-v2="v0.8.0-rc8"
[traces.counters-v2]
endpoints=["http://traces-node-v2:8545/"]
request-limit-per-endpoint=2
request-limit-per-endpoint=1
request-retry.backoff-delay="PT1S"
request-retry.failures-warning-threshold=2
[traces.conflation-v2]
endpoints=["http://traces-node-v2:8545/"]
request-limit-per-endpoint=2
request-limit-per-endpoint=1
request-retry.backoff-delay="PT1S"
request-retry.failures-warning-threshold=2

Expand Down
7 changes: 3 additions & 4 deletions config/coordinator/coordinator-docker.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,11 @@ fee-history-reward-percentile=15
last-hash-search-window=25
anchoring-receipt-polling-interval="PT01S"
max-receipt-retries=120
# Number of children blocks to wait before considering a block "finalized"
# and elegible for conflation and
# Number of children blocks to wait before considering a won't be reverted and elegible for conflation.
# this a workaround to mitigate Geth fork issues with Clique PoA
# Coordinator will consider block as finalized after being included in the chain wtih children blocks-to-finalization
# Recommended minimum of 2
blocks-to-finalization=2
# Recommended: Geth sequencer minimum of 2, Besu sequencer minimum of 1, 0 is safe localy
blocks-to-finalization=0

[blob-submission]
disabled=true
Expand Down
8 changes: 8 additions & 0 deletions config/coordinator/log4j2-dev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="net.consensys.linea.ethereum.gaspricing.staticcap" level="ERROR" additivity="false">
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is because localy it loggin warning that can be dismissed localy

<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="net.consensys.zkevm.ethereum.finalization" level="INFO" additivity="false">
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
Expand All @@ -112,6 +116,10 @@
<DebouncingFilter/>
<appender-ref ref="console"/>
</Logger>
<!-- <Logger name="clients.TracesCounters" level="TRACE" additivity="false">-->
<!-- <DebouncingFilter/>-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="clients.l2" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import build.linea.clients.StateManagerClientV1
import build.linea.clients.StateManagerV1JsonRpcClient
import build.linea.contract.l1.LineaRollupSmartContractClientReadOnly
import build.linea.contract.l1.Web3JLineaRollupSmartContractClientReadOnly
import build.linea.web3j.Web3JLogsClient
import io.vertx.core.Vertx
import kotlinx.datetime.Clock
import linea.encoding.BlockRLPEncoder
Expand All @@ -12,7 +13,6 @@ import net.consensys.linea.blob.ShnarfCalculatorVersion
import net.consensys.linea.contract.LineaRollupAsyncFriendly
import net.consensys.linea.contract.Web3JL2MessageService
import net.consensys.linea.contract.Web3JL2MessageServiceLogsClient
import net.consensys.linea.contract.Web3JLogsClient
import net.consensys.linea.contract.l1.GenesisStateProvider
import net.consensys.linea.ethereum.gaspricing.BoundableFeeCalculator
import net.consensys.linea.ethereum.gaspricing.FeesCalculator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

package net.consensys.zkevm.coordinator.app

import build.linea.web3j.Web3JLogsClient
import io.vertx.junit5.Timeout
import io.vertx.junit5.VertxExtension
import io.vertx.junit5.VertxTestContext
import net.consensys.linea.contract.EIP1559GasProvider
import net.consensys.linea.contract.L2MessageService
import net.consensys.linea.contract.Web3JLogsClient
import net.consensys.toULong
import net.consensys.zkevm.ethereum.coordination.conflation.upgrade.SwitchProvider
import net.consensys.zkevm.ethereum.signing.ECKeypairSigner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,31 +100,31 @@ class CoordinatorConfigTest {
TracingModuleV2.EC_DATA to 262144u,
TracingModuleV2.EUC to 65536u,
TracingModuleV2.EXP to 8192u,
TracingModuleV2.EXT to 65536u,
TracingModuleV2.EXT to 1048576u,
TracingModuleV2.GAS to 65536u,
TracingModuleV2.HUB to 2097152u,
TracingModuleV2.LOG_DATA to 65536u,
TracingModuleV2.LOG_INFO to 4096u,
TracingModuleV2.MMIO to 2097152u,
TracingModuleV2.MMIO to 4194304u,
TracingModuleV2.MMU to 4194304u,
TracingModuleV2.MOD to 131072u,
TracingModuleV2.MUL to 65536u,
TracingModuleV2.MXP to 524288u,
TracingModuleV2.OOB to 262144u,
TracingModuleV2.RLP_ADDR to 4096u,
TracingModuleV2.RLP_TXN to 131072u,
TracingModuleV2.RLP_TXN_RCPT to 32768u,
TracingModuleV2.ROM to 8388608u,
TracingModuleV2.RLP_TXN_RCPT to 65536u,
TracingModuleV2.ROM to 4194304u,
TracingModuleV2.ROM_LEX to 1024u,
TracingModuleV2.SHAKIRA_DATA to 32768u,
TracingModuleV2.SHF to 65536u,
TracingModuleV2.STP to 32768u,
TracingModuleV2.TRM to 8192u,
TracingModuleV2.STP to 16384u,
TracingModuleV2.TRM to 32768u,
TracingModuleV2.TXN_DATA to 8192u,
TracingModuleV2.WCP to 262144u,
TracingModuleV2.BIN_REFERENCE_TABLE to 196864u,
TracingModuleV2.SHF_REFERENCE_TABLE to 4096u,
TracingModuleV2.INSTRUCTION_DECODER to 512u,
TracingModuleV2.BIN_REFERENCE_TABLE to 4294967295u,
TracingModuleV2.SHF_REFERENCE_TABLE to 4294967295u,
TracingModuleV2.INSTRUCTION_DECODER to 4294967295u,
TracingModuleV2.PRECOMPILE_ECRECOVER_EFFECTIVE_CALLS to 128u,
TracingModuleV2.PRECOMPILE_SHA2_BLOCKS to 671u,
TracingModuleV2.PRECOMPILE_RIPEMD_BLOCKS to 671u,
Expand Down Expand Up @@ -359,7 +359,7 @@ class CoordinatorConfigTest {
maxFeePerGasCap = 100000000000u,
feeHistoryBlockCount = 4U,
feeHistoryRewardPercentile = 15.0,
blocksToFinalization = 2U,
blocksToFinalization = 0U,
lastHashSearchWindow = 25U,
anchoringReceiptPollingInterval = Duration.parse("PT01S"),
maxReceiptRetries = 120U
Expand Down Expand Up @@ -837,13 +837,14 @@ class CoordinatorConfigTest {
blobCompressorVersion = BlobCompressorVersion.V1_0_1,
expectedTracesApiVersionV2 = "v0.8.0-rc8",
conflationV2 = tracesConfig.conflation.copy(
endpoints = listOf(URI("http://traces-node-v2:8545/").toURL())
endpoints = listOf(URI("http://traces-node-v2:8545/").toURL()),
requestLimitPerEndpoint = 1U
),
countersV2 = TracesConfig.FunctionalityEndpoint(
listOf(
URI("http://traces-node-v2:8545/").toURL()
),
requestLimitPerEndpoint = 2U,
requestLimitPerEndpoint = 1U,
requestRetry = RequestRetryConfigTomlFriendly(
backoffDelay = Duration.parse("PT1S"),
failuresWarningThreshold = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ internal class ExecutionProofRequestDataDecorator(

return SafeFuture.collectAll(bridgeLogsSfList.stream())
.thenCombine(
getBlockStateRootHash(request.blocks.first().number.toULong() - 1UL)
getBlockStateRootHash(request.blocks.first().number - 1UL)
) { blocksAndBridgeLogs, previousKeccakStateRootHash ->
BatchExecutionProofRequestDto(
zkParentStateRootHash = request.type2StateData.zkParentStateRootHash.encodeHex(),
Expand Down
3 changes: 1 addition & 2 deletions coordinator/clients/smart-contract-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

dependencies {
implementation project(":jvm-libs:generic:extensions:kotlin")
implementation project(':jvm-libs:linea:web3j-extensions')
api project(':jvm-libs:linea:web3j-extensions')
api project(':jvm-libs:linea:clients:linea-l1-contract-client')
api 'build.linea:l2-message-service-contract-client:0.0.1'

Expand All @@ -15,5 +15,4 @@ dependencies {
implementation project(path: ':coordinator:core')
implementation project(path: ':coordinator:ethereum:common')
testImplementation "io.vertx:vertx-junit5"
testImplementation "com.github.tomakehurst:wiremock-jre8:${libs.versions.wiremock.get()}"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.consensys.linea.contract

import build.linea.web3j.Web3JLogsClient
import net.consensys.toULong
import net.consensys.zkevm.coordinator.clients.L2MessageServiceLogsClient
import net.consensys.zkevm.domain.BridgeLogsData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ class BlobAndAggregationFinalizationIntTest : CleanDbTestSuiteParallel() {
val blobsEndTime = blobs.last().endBlockTime
val endTime = if (aggEndTime > blobsEndTime) aggEndTime else blobsEndTime

fakeClock.setTimeTo(endTime.plus(10.seconds))
// submission do the cutoff by minutes, so we need to add 1 minute to the end time
fakeClock.setTimeTo(endTime.plus(1.minutes))

blobSubmissionCoordinator.start()
aggregationFinalizationCoordinator.start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package net.consensys.zkevm.ethereum.submission

import build.linea.web3j.Web3JLogsClient
import net.consensys.linea.contract.L2MessageService
import net.consensys.linea.contract.Web3JLogsClient
import net.consensys.toULong
import net.consensys.zkevm.ethereum.coordination.conflation.upgrade.SwitchProvider
import org.apache.logging.log4j.LogManager
Expand Down
Loading
Loading