-
Notifications
You must be signed in to change notification settings - Fork 8
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
Polish deploy-multi-chain script #229
Polish deploy-multi-chain script #229
Conversation
CI failed. It couldn't find "node_modules/forge-std/src/Script.sol" even though |
I am going to review this tomorrow, but I want to clarify this now. This issue appeared due to different Line 13 in 6a3ca31
Forgot about this. This means we can't run a deploy protocol script. We will have to run the deploy core script there and here on periphery we should run deploy periphery. |
I see. In that case, I have updated the script to deploy SablierV2Batch and SablierV2MerkleStream: a0e8b39 Also, I think we should include |
6a3ca31
to
d5251e8
Compare
Thanks for the PR
regarding this, a fix would be using "
it definitely looks better now, love it. since we are not going to use the deploy protocol anymore, we can remove:
this is because the
this flag is used for custom networks. when running the script and you pass a rpc url, it automatically knows its verifier, thus you only need the api key |
a0e8b39
to
0631e10
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
build: remove admin from .env.example
0631e10
to
445f357
Compare
great, would mind if you update the core script as well with these:
|
24770d3
to
be10e8b
Compare
In future scenarios like this, @smol-ninja, can you please also update the external GitHub issue? That issue should have been re-opened - and we should have told the Foundry maintainers about this. Update: posted now: |
We can run it now since the
Opened issue: #238 |
Yeah sure. I am sorry I didn't do that but I acknowledge that I should have mentioned it there too. |
No worries, thanks Shub. |
There is one major issue with deployment:
SablierV2LockupDynamic
has a contract size of 25.224 kBSablierV2NFTDescriptor
has a contract size of 25.661 kBSince both of them are above 24576 bytes, they fail to deploy. Failed Tx #1 and Tx #2
Changes with this PR
.evn.example
shell/deploy-multi-chains.sh
ON_ALL_CHAINS
bool to avoid duplication of chains inrequested_chains
associative array in case of accidental chain names args along with--all
flagChainID $chain_id, Version 1.1.0
withChainID_${chain_id}_Version_1.1.0
. Seems like Parser error when passing string as parameter to script foundry-rs/foundry#6265 still exists. In the latest build, Foundry fails to parseempty spaces (" ") and comma (",")