mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
staterecover: adds blobscan to local stack (#279)
* staterecover: adds blobscan to local stack * staterecover: adds blobscan env file * connect port 4001 for blobscan-api * statereover: improve test utils for code reuse --------- Co-authored-by: thedarkjester <grant.southey@consensys.net>
This commit is contained in:
28
build.gradle
28
build.gradle
@@ -167,6 +167,34 @@ dockerCompose {
|
||||
noRecreate = true
|
||||
projectName = "docker"
|
||||
}
|
||||
|
||||
localStackForStateRecover {
|
||||
startedServices = [
|
||||
"postgres",
|
||||
"sequencer",
|
||||
"l1-node-genesis-generator",
|
||||
"l1-el-node",
|
||||
"l1-cl-node",
|
||||
"l2-node",
|
||||
"blobscan-api",
|
||||
"blobscan-indexer",
|
||||
"redis",
|
||||
// For debug
|
||||
// "l1-blockscout",
|
||||
// "l2-blockscout"
|
||||
]
|
||||
composeAdditionalArgs = ["--profile", "l1", "--profile", "l2", "--profile", "staterecover"]
|
||||
useComposeFiles = ["${project.rootDir.path}/docker/compose.yml"]
|
||||
waitForHealthyStateTimeout = Duration.ofMinutes(3)
|
||||
waitForTcpPorts = false
|
||||
removeOrphans = true
|
||||
// this is to avoid recreating the containers
|
||||
// specially l1-node-genesis-generator which corrupts the state if run more than once
|
||||
// without cleaning the volumes
|
||||
noRecreate = true
|
||||
projectName = "docker"
|
||||
environment.put("L1_GENESIS_TIME", "${Instant.now().plusSeconds(3).getEpochSecond()}")
|
||||
}
|
||||
}
|
||||
|
||||
static Boolean hasKotlinPlugin(Project proj) {
|
||||
|
||||
Reference in New Issue
Block a user