-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Chain fee integration tests #14829
Chain fee integration tests #14829
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
1adc8c0
integration-tests/deployment/ccip/changeset/initial_deploy_test.go
Outdated
Show resolved
Hide resolved
integration-tests/deployment/ccip/changeset/initial_deploy_test.go
Outdated
Show resolved
Hide resolved
395e8d6
to
d2e5ac0
Compare
Add missing function from DestConfig Debugging Fix OnRamp.GetDestChainConfig All destChain configs have same Router address which is the same as the chainSel. We just need to call with a different destChainSelector Cleaning Clean contract configs Clean contract configs Add Gas Price test in initial_deploy_test.go Bump chainlink-ccip Bump chainlink-ccip cleaning cmoments linting skip failing test for now unskip
3bb786a
to
ea86129
Compare
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.
For future please create tickets for each TODO
integration-tests/deployment/ccip/changeset/initial_deploy_test.go
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
@@ -32,6 +33,7 @@ func (tc *TokenConfig) UpsertTokenInfo( | |||
func (tc *TokenConfig) GetTokenInfo( | |||
lggr logger.Logger, | |||
linkToken *burn_mint_erc677.BurnMintERC677, | |||
wethToken *weth9.WETH9, |
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.
I'm not super familiar with this code but is this TokenConfig
struct really needed? We should use the existing offchain config types directly where possible to reduce this churn of code that wraps other stuff IMO. The more "glue code" there is for the tests the less likely it is devs would be effectively working on them. That's an issue with the integration-tests code today as well
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.
It is used to initiate offchain config. Just getting the correct addresses and returning them in a correct format.
deployFunc func(deployment.Chain) ContractDeploy[*aggregator_v3_interface.AggregatorV3Interface], | ||
symbol TokenSymbol, | ||
) (common.Address, string, error) { | ||
//tokenTV := deployment.NewTypeAndVersion(PriceFeed, deployment.Version1_0_0) |
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.
Delete commented line
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.
go.mod and go.sum files ✅
* Add FeeQuoter to SourceConfig Add missing function from DestConfig Debugging Fix OnRamp.GetDestChainConfig All destChain configs have same Router address which is the same as the chainSel. We just need to call with a different destChainSelector Cleaning Clean contract configs Clean contract configs Add Gas Price test in initial_deploy_test.go Bump chainlink-ccip Bump chainlink-ccip cleaning cmoments linting skip failing test for now unskip * Bump chainlink-ccip * Remove deprecated thing. * Remove replacement. * gomodtidy * skip TestAddChainInbound * Add weth feed * Comment assertions to use better ones in a subsequent PR * Address review comments * cleaning * linting --------- Co-authored-by: Will Winder <[email protected]>
* develop: rm gethwrappers from codeowners offchain (#14919) CCIP-3899 fix sender encoding (#14877) ccip: use unknown address type. (#14836) [chore] Add changeset entry for RequestRoundTracker fix (#14912) various Solidity Foundry updates (#14866) CCIP-3710 create new custom calldata L1 (DA) gas oracle (#14710) CCIP owns smoke test (#14906) core/services/ocr2/plugins/ccip/internal/ccipdata/factory: check error from TypeAndVersion (#14861) CCIP-3730 Misc ccip onchain changes (#14845) Chain fee integration tests (#14829) release/2.17.0 -> develop (#14721) Solana: re-enable disabled test with updated version (#14892)
* Add FeeQuoter to SourceConfig Add missing function from DestConfig Debugging Fix OnRamp.GetDestChainConfig All destChain configs have same Router address which is the same as the chainSel. We just need to call with a different destChainSelector Cleaning Clean contract configs Clean contract configs Add Gas Price test in initial_deploy_test.go Bump chainlink-ccip Bump chainlink-ccip cleaning cmoments linting skip failing test for now unskip * Bump chainlink-ccip * Remove deprecated thing. * Remove replacement. * gomodtidy * skip TestAddChainInbound * Add weth feed * Comment assertions to use better ones in a subsequent PR * Address review comments * cleaning * linting --------- Co-authored-by: Will Winder <[email protected]>
initial_deploy_test
we update the gas feesinitial_deploy_test
corresponding change on chainlink-ccip: