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

feat: link transfer mcms changesets #15512

Merged
merged 47 commits into from
Dec 13, 2024
Merged

Conversation

ecPablo
Copy link
Contributor

@ecPablo ecPablo commented Dec 4, 2024

Adds 3 new changesets to support the example changeset project. These changesets will create an mcms proposal to transfer link from the timelock address to the provided addresses. We also add 2nd changeset to grant allowances of link transfers.

@ecPablo ecPablo requested review from a team as code owners December 4, 2024 19:49
Copy link
Contributor

github-actions bot commented Dec 4, 2024

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@ecPablo ecPablo requested a review from a team December 4, 2024 20:11
Copy link
Collaborator

@graham-chainlink graham-chainlink left a comment

Choose a reason for hiding this comment

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

Looking good

ecPablo and others added 3 commits December 12, 2024 07:43
# Conflicts:
#	deployment/common/proposalutils/propose.go
#	integration-tests/smoke/ccip/ccip_fee_boosting_test.go
# Conflicts:
#	deployment/common/changeset/state.go
#	deployment/common/changeset/transfer_to_mcms_with_timelock_test.go
connorwstein
connorwstein previously approved these changes Dec 12, 2024
deployment/common/changeset/example/link_transfer.go Outdated Show resolved Hide resolved
@graham-chainlink graham-chainlink added this pull request to the merge queue Dec 13, 2024
Merged via the queue into develop with commit 97b0563 Dec 13, 2024
193 checks passed
@graham-chainlink graham-chainlink deleted the ecPablo/link-transfer-mcms branch December 13, 2024 01:51
george-dorin pushed a commit that referenced this pull request Jan 13, 2025
* feat: link transfer with timelock changeset

* feat: link transfer and approval integration tests and changesets.

* feat: rename files

* fix: use deployment.SimTransactOpts() to get tx data

* fix: link contract creation

* fix: remove approval changeset, not necessary for sending directly from the owner

* feat: make config accept a map of chain selectors for the proposal generation

* fix: params on deploy link

* fix: simplify config args by using state helper functions.

* fix: use pointer for value

* feat: add mint permissions and minting link changeset

* Deploy call proxy instead of using deployer executor keys

* inject call proxies in execution methods

* skip call proxy when loading chain state

* revert all changes

* Revert "revert all changes"

This reverts commit c17911e.

* chore: rename load state funcs

* feat: add mcms config flag

* fix: integration tests after merging develop

* fix: use contracts from states and code improvements

* fix: cs deploy chain args

* fix: params ccip boosting

* fix: bundle mcms config into single struct

* fix: add more validations for config

* fix: remove startingOpCount and use proposal utils to derive it

* fix: adjust variable names, remove boolean for mcms config, add constants move balance validation to Validate() function

* feat: add tests for non mcms case, improve validations, and wait for tx confirmation.

* feat: check valid until is in future

* feat: add tests for Validate() and small validation fixes

* fix: rename MaybeLoadLinkTokenState to MaybeLoadLinkTokenChainState to abstract loading state per chain

* Update deployment/common/changeset/example/link_transfer.go

Co-authored-by: Graham Goh <[email protected]>

* fix: error handling and validations

* fix: use getDeployer helper

* feat: split mint burners into a separate changeset

* fix: name TestMintLink on unit test

* Update deployment/common/changeset/example/add_mint_burners_link.go

Co-authored-by: Graham Goh <[email protected]>

* Update deployment/common/changeset/example/add_mint_burners_link.go

Co-authored-by: Graham Goh <[email protected]>

* fix: use changeset apply for unit tests environment setup

* fix: linting errors

* fix: merge conflicts

* fix: remove valid unit to reuse util for proposal creation

---------

Co-authored-by: Akhil Chainani <[email protected]>
Co-authored-by: Graham Goh <[email protected]>
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.

4 participants