Skip to content

Commit 859f3c4

Browse files
fluentcrafterCopilotFilter94
authored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]> Co-authored-by: Roman Vaseev <[email protected]> Signed-off-by: Fluent Crafter <[email protected]>
1 parent cdfb4c0 commit 859f3c4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

config/coordinator/coordinator-config-v2.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ disabled = false
239239
l1-highest-block-tag="LATEST"
240240
l2-highest-block-tag="LATEST" # optional, default to LATEST it shall not be necessary as Linea has instant finality
241241
anchoring-tick-interval = "PT10S" # "polling-interval="PT10S"
242-
messages-anchoring-chuck-size = 100 # limit of L1toL2 Messages to anchor in a single L2 transaction
242+
messages-anchoring-chunk-size = 100 # limit of L1toL2 Messages to anchor in a single L2 transaction
243243

244244
[message-anchoring.l1-request-retries]
245245
[message-anchoring.l2-request-retries]

coordinator/app/src/main/kotlin/linea/coordinator/config/v2/MessageAnchoringConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ data class MessageAnchoringConfig(
3030
) : FeatureToggle {
3131
init {
3232
require(messageQueueCapacity >= 1u) {
33-
"messageQueueCapacity=$messageQueueCapacity be equal or greater than 1"
33+
"messageQueueCapacity=$messageQueueCapacity must be equal or greater than 1"
3434
}
3535
require(maxMessagesToAnchorPerL2Transaction >= 1u) {
3636
"maxMessagesToAnchorPerL2Transaction=$maxMessagesToAnchorPerL2Transaction be equal or greater than 1"

coordinator/app/src/test/kotlin/linea/coordinator/config/v2/ApiConfigParsingTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ class ApiConfigParsingTest {
1616
observabilityPort = 9546u,
1717
)
1818

19-
val tomlMinimal = """
20-
21-
""".trimIndent()
19+
val tomlMinimal = ""
2220

2321
val configMinimal = ApiConfigToml(
2422
observabilityPort = 9545u,

0 commit comments

Comments
 (0)