Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

USDC filter fix#383

Merged
mateusz-sekara merged 8 commits intoccip-developfrom
usdc-filters
Dec 15, 2023
Merged

USDC filter fix#383
mateusz-sekara merged 8 commits intoccip-developfrom
usdc-filters

Conversation

@connorwstein
Copy link
Collaborator

@connorwstein connorwstein commented Dec 14, 2023

Motivation

Token data readers can also register filters (eg USDC). They need to be registered explicitly in the same tx for CLO to work properly.

Solution

Follow registration paradigm for USDC and ensure CLO integration test covers it.

@connorwstein connorwstein marked this pull request as ready for review December 14, 2023 19:44
@connorwstein connorwstein requested a review from a team as a code owner December 14, 2023 19:44
DestChainName: "SimulatedDest",
TokenPricesUSDPipeline: tokenPricesUSDPipeline,
DestStartBlock: uint64(configBlock),
USDCAttestationAPI: "http://blah.com",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enables coverage in Test_CLOSpecApprovalFlow

)

// TODO pass context?
func jobSpecToExecPluginConfig(lggr logger.Logger, jb job.Job, chainSet evm.LegacyChainContainer, qopts ...pg.QOpt) (*ExecutionPluginStaticConfig, *BackfillArgs, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qopts unused

@mateusz-sekara mateusz-sekara merged commit a33858f into ccip-develop Dec 15, 2023
@mateusz-sekara mateusz-sekara deleted the usdc-filters branch December 15, 2023 14:56
mateusz-sekara pushed a commit that referenced this pull request Dec 15, 2023
makramkd pushed a commit that referenced this pull request Dec 18, 2023
merge core develop -> ccip-develop

fix conflicts, build

use openzeppelin-solidity v4.8.3

add ERC165Checker.sol to the vendor, wasn't there before

add missing file

update shared snapshot

update gethwrappers

add ERC165.sol to fix metatx compile

update generated files

update modgraph

fix one config test

fix some config tests

fix config again

more config test fixes

bump mockery version in contracts makefile

go.mod updates

more updates

remove integration-tests dependencies

USDC filter fix (#383)

fix integration-tests go mod

more fixes

fix lint errors

fix TestSecrets_Validate

fix TestResolver_ConfigV2

fix TestIntegration_CCIP

try using crypto/rand

remove build-publish-pr.yml

skip metatx test
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
merge core develop -> ccip-develop

fix conflicts, build

use openzeppelin-solidity v4.8.3

add ERC165Checker.sol to the vendor, wasn't there before

add missing file

update shared snapshot

update gethwrappers

add ERC165.sol to fix metatx compile

update generated files

update modgraph

fix one config test

fix some config tests

fix config again

more config test fixes

bump mockery version in contracts makefile

go.mod updates

more updates

remove integration-tests dependencies

USDC filter fix (#383)

fix integration-tests go mod

more fixes

fix lint errors

fix TestSecrets_Validate

fix TestResolver_ConfigV2

fix TestIntegration_CCIP

try using crypto/rand

remove build-publish-pr.yml

skip metatx test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants