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/script migration #2

Merged
merged 77 commits into from
Jun 24, 2024
Merged

Feat/script migration #2

merged 77 commits into from
Jun 24, 2024

Conversation

0xtekgrinder
Copy link
Collaborator

No description provided.

@0xtekgrinder 0xtekgrinder self-assigned this May 3, 2024
scripts/DeployChain.s.sol Outdated Show resolved Hide resolved
scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
@sogipec
Copy link

sogipec commented May 3, 2024

You can add as well a script to setup the LZ token contract -> as if CoreBorrow had as a governor the deployer -> this way there's no msig tx to do and we can just run the script to set the token up on the chain (provided that it's already setup in a way) and then execute all the setup tx, then removing governance from the deployer and adding the actual governing address.

  • setTrustedRemote on the LayerZeroBridgeToken -> for all the supported bridge tokens
  • addBridgeToken in the canonical stablecoin -> limit should be higher than the limit which has already been minted in the contract
  • setChainTotalHourlyLimit in the canonical stablecoin
  • setUseCustomAdapterParams in the lz contract

Copy link

@GuillaumeNervoXS GuillaumeNervoXS left a comment

Choose a reason for hiding this comment

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

DeployAngle... instead DeployToken...?

scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
} else {
proxyAdmin = _chainToContract(chainId, ContractType.ProxyAdmin);
}
if (vm.keyExistsJson(json, ".coreBorrow")) {
Copy link

Choose a reason for hiding this comment

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

is the json per chain or something like this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the json so far is for all chains. In my mind we deploy one chain at a time so no real need for multiples

scripts/DeployAgTokenSideChainMultiBridge.s.sol Outdated Show resolved Hide resolved
@0xtekgrinder 0xtekgrinder merged commit 2484a65 into main Jun 24, 2024
6 checks passed
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.

3 participants