From 49393940b5f49d782269e5c43c662f4560e9a6ec Mon Sep 17 00:00:00 2001 From: Ryan Hall Date: Tue, 15 Oct 2024 10:30:58 -0400 Subject: [PATCH] update structs in integration-tests --- integration-tests/deployment/ccip/deploy.go | 6 +++--- .../deployment/ccip/view/v1_6/feequoter.go | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/integration-tests/deployment/ccip/deploy.go b/integration-tests/deployment/ccip/deploy.go index 309a47b7b31..2f7aa43245b 100644 --- a/integration-tests/deployment/ccip/deploy.go +++ b/integration-tests/deployment/ccip/deploy.go @@ -567,9 +567,9 @@ func DeployChainContracts( chain.DeployerKey, chain.Client, fee_quoter.FeeQuoterStaticConfig{ - MaxFeeJuelsPerMsg: big.NewInt(0).Mul(big.NewInt(2e2), big.NewInt(1e18)), - LinkToken: contractConfig.LinkToken.Address(), - StalenessThreshold: uint32(24 * 60 * 60), + MaxFeeJuelsPerMsg: big.NewInt(0).Mul(big.NewInt(2e2), big.NewInt(1e18)), + LinkToken: contractConfig.LinkToken.Address(), + TokenPriceStalenessThreshold: uint32(24 * 60 * 60), }, []common.Address{mcmsContracts.Timelock.Address}, // timelock should be able to update, ramps added after []common.Address{contractConfig.Weth9.Address(), contractConfig.LinkToken.Address()}, // fee tokens diff --git a/integration-tests/deployment/ccip/view/v1_6/feequoter.go b/integration-tests/deployment/ccip/view/v1_6/feequoter.go index 890e946a6e9..776f91c2e50 100644 --- a/integration-tests/deployment/ccip/view/v1_6/feequoter.go +++ b/integration-tests/deployment/ccip/view/v1_6/feequoter.go @@ -22,9 +22,9 @@ type FeeQuoterView struct { } type FeeQuoterStaticConfig struct { - MaxFeeJuelsPerMsg string `json:"maxFeeJuelsPerMsg,omitempty"` - LinkToken string `json:"linkToken,omitempty"` - StalenessThreshold uint32 `json:"stalenessThreshold,omitempty"` + MaxFeeJuelsPerMsg string `json:"maxFeeJuelsPerMsg,omitempty"` + LinkToken string `json:"linkToken,omitempty"` + TokenPriceStalenessThreshold uint32 `json:"tokenPriseStalenessThreshold,omitempty"` } type FeeQuoterDestChainConfig struct { @@ -78,9 +78,9 @@ func GenerateFeeQuoterView(fqContract *fee_quoter.FeeQuoter, router *router1_2.R return FeeQuoterView{}, err } fq.StaticConfig = FeeQuoterStaticConfig{ - MaxFeeJuelsPerMsg: staticConfig.MaxFeeJuelsPerMsg.String(), - LinkToken: staticConfig.LinkToken.Hex(), - StalenessThreshold: staticConfig.TokenPriceStalenessThreshold, + MaxFeeJuelsPerMsg: staticConfig.MaxFeeJuelsPerMsg.String(), + LinkToken: staticConfig.LinkToken.Hex(), + TokenPriceStalenessThreshold: staticConfig.TokenPriceStalenessThreshold, } // find router contract in dependencies fq.DestinationChainConfig = make(map[uint64]FeeQuoterDestChainConfig)