Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions docs/config-file/node-config-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:**

Expand Down Expand Up @@ -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:**

Expand Down Expand Up @@ -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 | - | - |
Expand Down Expand Up @@ -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):
```
Expand Down
6 changes: 3 additions & 3 deletions docs/config-file/node-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion gasprice/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
4 changes: 2 additions & 2 deletions synchronizer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion synchronizer/l1_parallel_sync/l1_rollup_info_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down