chore: port evm state and link views [CLD-1911]#7
Merged
Conversation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
# Conflicts: # go.mod # go.sum
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Collaborator
|
there is merge conflicts in my Pr , will fix them now! |
# Conflicts: # go.mod # go.sum # pkg/family/evm/state.go # pkg/family/evm/state_test.go # pkg/family/solana/state.go
graham-chainlink
approved these changes
Apr 23, 2026
ecPablo
added a commit
that referenced
this pull request
Apr 27, 2026
* feat: port evm state and link views * fix: remove unused function, will be ported in graham's PR * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: update contract types imports * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: go mod * fix: unit tests * fix: move views into pkg/contracts --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To be merged after: #9
Port functions from the core node located in:
deployment/common/changeset/state/evm.godeployment/common/view/v1_0/link_token.godeployment/common/view/v1_0/static_link_token.godeployment/common/view/v1_0/mcms.goThese are all pre-requisites to be able to port the
BuildProposalFromBatcheshelper.AI Summary
This pull request introduces new "view" functionality for LINK token contracts and updates several dependencies in the
go.modfile. The major changes include the addition of code to generate and test views for both standard and static LINK token contracts, as well as multiple dependency upgrades and additions.New LINK Token View Functionality
link/view/link_token.goimplementingGenerateLinkTokenView, which creates a structured view of a LINK token contract, including metadata, decimals, supply, minters, and burners.link/view/link_token_test.goto verify the correctness of the LINK token view, including minting and role assignment scenarios.link/view/static_link_token.goimplementingGenerateStaticLinkTokenViewfor static LINK tokens, providing a simplified view (metadata, decimals, supply).link/view/static_link_token_test.goto ensure the static LINK token view is generated correctly.Dependency Updates and Additions
go.mod, including major upgrades togo.opentelemetry.io/otel,github.com/grafana/pyroscope-go, and others, as well as adding new dependencies such asgo.dedis.ch/fixbufandgo.dedis.ch/kyber/v3. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]