Skip to content

Commit 2793706

Browse files
committed
fix: unittets
1 parent 4947c85 commit 2793706

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const (
6565
networkConfigDeprecatedHint = "NetworkConfig is deprecated, use L1NetworkConfig instead"
6666
l1NetworkConfigUsePolTokenAddrHint = "Use L1NetworkConfig.POLTokenAddr instead"
6767
l1NetworkConfigUseRollupAddrHint = "Use L1NetworkConfig.RollupAddr instead"
68-
delayBetweenRetriesHint = "AggSender.DelayBetweenRetries is deprecated, " +
68+
delayBetweenRetriesHint = "AggSender.DelayBeetweenRetries is deprecated, " +
6969
"use AggSender.DelayBetweenRetries instead"
7070
aggOracleBlockFinalityDeprecated = "AggOracle.BlockFinality is deprecated, remove it from configuration"
7171
lastGERSyncDeprecatedHint = "LastGERSync is deprecated, use L2GERSync instead"
@@ -183,7 +183,7 @@ var (
183183
Reason: networkConfigDeprecatedHint,
184184
},
185185
{
186-
FieldNamePattern: "Aggsender.DelayBetweenRetries",
186+
FieldNamePattern: "Aggsender.DelayBeetweenRetries",
187187
Reason: delayBetweenRetriesHint,
188188
},
189189
{

config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func TestLoadConfigWithDeprecatedFields(t *testing.T) {
147147
AggchainProofURL = "http://localhost:5576"
148148
UseAggkitProverTLS = true
149149
GenerateAggchainProofTimeout = "1h"
150-
DelayBetweenRetries = "1s"
150+
DelayBeetweenRetries = "1s"
151151
RequireValidatorCall = true
152152
EpochNotificationPercentage = 80
153153
[AggSender.MaxSubmitCertificateRate]

0 commit comments

Comments
 (0)