-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: document the config file #194
base: develop
Are you sure you want to change the base?
Conversation
Copilot
AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 suggestion.
Files not reviewed (1)
- crates/cdk/src/main.rs: Evaluated as low risk
Comments skipped due to low confidence (1)
config/default.go:3
- The comment contains spelling errors. 'This' should be 'These' and 'doesnt' should be 'doesn't'.
// This values doesnt have a default value because depend on the environment / deployment
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM
config/default.go
Outdated
URL = "{{L1URL}}" | ||
|
||
# ---------------------------------------------------------------------------- | ||
# allow that L1 gas price calculation use multiple sources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# allow that L1 gas price calculation use multiple sources | |
# MultiGasProvider allows that L1 gas price calculation use multiple sources |
config/default.go
Outdated
NumRequests = 1000 | ||
Interval = "1s" | ||
# ------------------------------------------------------------------------------ | ||
# GRPC server host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# GRPC server host | |
# Host denotes GRPC server IP address |
config/default.go
Outdated
Host = "0.0.0.0" | ||
|
||
# ------------------------------------------------------------------------------ | ||
# GRPC server port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# GRPC server port | |
# Port denotes the GRPC server port |
# ------------------------------------------------------------------------------ | ||
# TxProfitabilityCheckerType type for checking is it profitable for aggregator to validate batch | ||
# possible values: base/acceptall | ||
# ------------------------------------------------------------------------------ | ||
TxProfitabilityCheckerType = "acceptall" | ||
|
||
# ------------------------------------------------------------------------------ | ||
# TxProfitabilityMinReward min reward for base tx profitability checker when aggregator will validate batch | ||
# this parameter is used for the base tx profitability checker | ||
# ------------------------------------------------------------------------------ | ||
TxProfitabilityMinReward = "1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check, but I believe this was removed through #189.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this was removed @ToniRamirezM?
AggLayerTxTimeout = "5m" | ||
|
||
# ------------------------------------------------------------------------------ | ||
# AggLayerURL url of the agglayer service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# AggLayerURL url of the agglayer service | |
# AggLayerURL is the url of the agglayer service |
Add documentation to config file
config.go
when existing