-
Notifications
You must be signed in to change notification settings - Fork 31
FQ dest config in adapter #1803
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
Changes from all commits
3387b85
1ade0b6
5b66763
1d3a884
4f0e814
b94ed78
0033a68
4f8d4d3
b2c3059
fb26024
f4884ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,9 @@ type LaneAdapter interface { | |
| GetOffRampAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) | ||
| GetRouterAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) | ||
| GetFQAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) | ||
| GetFeeQuoterDestChainConfig() FeeQuoterDestChainConfig | ||
| // GasPrice defines the USD price (18 decimals) per unit gas for this chain as a destination. | ||
| GetDefaultGasPrice() *big.Int | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice, since you are adding this default gas price value, I'm also thinking about if we should provide the default token price as well. This because the existing evm add lane changeset will update the fq destChain config, but we used empty tokenPrice map in our changeset. Doesn't have to be in this PR, but worth adding to TODOs cc @krebernisak @nicolasgnr
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes I think we should |
||
| } | ||
|
|
||
| // TokenPriceProvider is an optional interface that LaneAdapters can implement | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.