diff --git a/docs/config-file/node-config-doc.md b/docs/config-file/node-config-doc.md index 4fabddab95..f020f958a0 100644 --- a/docs/config-file/node-config-doc.md +++ b/docs/config-file/node-config-doc.md @@ -1704,7 +1704,7 @@ RequestLastBlockPeriod="5s" **Description:** AceptableInacctivityTime is the expected maximum time that the consumer could wait until new data is produced. If the time is greater it emmit a log to warn about that. The idea is keep working the consumer as much as possible, so if the producer is not -fast enought then you could increse the number of parallel clients to sync with L1 +fast enought then you could increase the number of parallel clients to sync with L1 **Examples:** @@ -1785,7 +1785,7 @@ RequestLastBlockMaxRetries=3 **Default:** `"5m0s"` -**Description:** StatisticsPeriod how ofter show a log with statistics (0 is disabled) +**Description:** StatisticsPeriod how often show a log with statistics (0 is disabled) **Examples:** @@ -3486,7 +3486,7 @@ RollupManagerBlockNumber=0 | Property | Pattern | Type | Deprecated | Definition | Title/Description | | ------------------------------------------------------------------------------ | ------- | ------- | ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | - [Type](#L2GasPriceSuggester_Type ) | No | string | No | - | - | -| - [DefaultGasPriceWei](#L2GasPriceSuggester_DefaultGasPriceWei ) | No | integer | No | - | DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimim gas price by the follower gas pricer. | +| - [DefaultGasPriceWei](#L2GasPriceSuggester_DefaultGasPriceWei ) | No | integer | No | - | DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimum gas price by the follower gas pricer. | | - [MaxGasPriceWei](#L2GasPriceSuggester_MaxGasPriceWei ) | No | integer | No | - | MaxGasPriceWei is used to limit the gas price returned by the follower gas pricer to a maximum value. It is ignored if 0. | | - [MaxPrice](#L2GasPriceSuggester_MaxPrice ) | No | object | No | - | - | | - [IgnorePrice](#L2GasPriceSuggester_IgnorePrice ) | No | object | No | - | - | @@ -3515,7 +3515,7 @@ Type="follower" **Default:** `2000000000` -**Description:** DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimim gas price by the follower gas pricer. +**Description:** DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimum gas price by the follower gas pricer. **Example setting the default value** (2000000000): ``` diff --git a/docs/config-file/node-config-schema.json b/docs/config-file/node-config-schema.json index dd05ac0130..af5df18149 100644 --- a/docs/config-file/node-config-schema.json +++ b/docs/config-file/node-config-schema.json @@ -624,7 +624,7 @@ "AceptableInacctivityTime": { "type": "string", "title": "Duration", - "description": "AceptableInacctivityTime is the expected maximum time that the consumer\ncould wait until new data is produced. If the time is greater it emmit a log to warn about\nthat. The idea is keep working the consumer as much as possible, so if the producer is not\nfast enought then you could increse the number of parallel clients to sync with L1", + "description": "AceptableInacctivityTime is the expected maximum time that the consumer\ncould wait until new data is produced. If the time is greater it emmit a log to warn about\nthat. The idea is keep working the consumer as much as possible, so if the producer is not\nfast enought then you could increase the number of parallel clients to sync with L1", "default": "5s", "examples": [ "1m", @@ -659,7 +659,7 @@ "StatisticsPeriod": { "type": "string", "title": "Duration", - "description": "StatisticsPeriod how ofter show a log with statistics (0 is disabled)", + "description": "StatisticsPeriod how often show a log with statistics (0 is disabled)", "default": "5m0s", "examples": [ "1m", @@ -1400,7 +1400,7 @@ }, "DefaultGasPriceWei": { "type": "integer", - "description": "DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimim gas price by the follower gas pricer.", + "description": "DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimum gas price by the follower gas pricer.", "default": 2000000000 }, "MaxGasPriceWei": { diff --git a/gasprice/config.go b/gasprice/config.go index 6e0426ae40..0fa63d2de8 100644 --- a/gasprice/config.go +++ b/gasprice/config.go @@ -22,7 +22,7 @@ const ( type Config struct { Type EstimatorType `mapstructure:"Type"` - // DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimim gas price by the follower gas pricer. + // DefaultGasPriceWei is used to set the gas price to be used by the default gas pricer or as minimum gas price by the follower gas pricer. DefaultGasPriceWei uint64 `mapstructure:"DefaultGasPriceWei"` // MaxGasPriceWei is used to limit the gas price returned by the follower gas pricer to a maximum value. It is ignored if 0. MaxGasPriceWei uint64 `mapstructure:"MaxGasPriceWei"` diff --git a/synchronizer/config.go b/synchronizer/config.go index 4ca64414f7..cbd3819d0a 100644 --- a/synchronizer/config.go +++ b/synchronizer/config.go @@ -84,7 +84,7 @@ type L1ParallelSynchronizationConfig struct { RequestLastBlockTimeout types.Duration // RequestLastBlockMaxRetries Max number of retries to request LastBlock On L1 RequestLastBlockMaxRetries int - // StatisticsPeriod how ofter show a log with statistics (0 is disabled) + // StatisticsPeriod how often show a log with statistics (0 is disabled) StatisticsPeriod types.Duration // TimeOutMainLoop is the timeout for the main loop of the L1 synchronizer when is not updated TimeOutMainLoop types.Duration @@ -99,7 +99,7 @@ type L1PerformanceCheckConfig struct { // AceptableInacctivityTime is the expected maximum time that the consumer // could wait until new data is produced. If the time is greater it emmit a log to warn about // that. The idea is keep working the consumer as much as possible, so if the producer is not - // fast enought then you could increse the number of parallel clients to sync with L1 + // fast enought then you could increase the number of parallel clients to sync with L1 AceptableInacctivityTime types.Duration // ApplyAfterNumRollupReceived is the number of iterations to // start checking the time waiting for new rollup info data diff --git a/synchronizer/l1_parallel_sync/l1_rollup_info_producer.go b/synchronizer/l1_parallel_sync/l1_rollup_info_producer.go index a297ffe04d..692dfc17f2 100644 --- a/synchronizer/l1_parallel_sync/l1_rollup_info_producer.go +++ b/synchronizer/l1_parallel_sync/l1_rollup_info_producer.go @@ -121,7 +121,7 @@ type ConfigProducer struct { //TimeOutMainLoop timeout for main loop if no is synchronized yet, this time is a safeguard because is not needed TimeOutMainLoop time.Duration - //TimeForShowUpStatisticsLog how ofter we show a log with statistics, 0 means disabled + //TimeForShowUpStatisticsLog how often we show a log with statistics, 0 means disabled TimeForShowUpStatisticsLog time.Duration // MinTimeBetweenRetriesForRollupInfo is the minimum time between retries for rollup info MinTimeBetweenRetriesForRollupInfo time.Duration