Skip to content
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

Add Extended versions of QueryKey and GetLatestValue. #138

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

winder
Copy link
Contributor

@winder winder commented Sep 19, 2024

Reduce repetitive and error prone API code.

Specifically, this prevents an error which has happened once already where different chain selectors were used due to copy/paste of boilerplate code:
image

@winder winder marked this pull request as ready for review September 19, 2024 12:50
@winder winder requested a review from a team as a code owner September 19, 2024 12:50

"github.com/smartcontractkit/chainlink-ccip/internal/libs/slicelib"
"github.com/smartcontractkit/chainlink-ccip/internal/reader/contractreader"
)

// Extended version of a ContractReader.
type Extended interface {
contractreader.ContractReaderFacade
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't use the entire interface.

Copy link

Test Coverage

Branch Coverage
will/extended-helper 69.7%
main 69.4%

@winder winder merged commit f20779d into main Sep 19, 2024
3 checks passed
@winder winder deleted the will/extended-helper branch September 19, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants