You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an upgrade proposal using foundry scripts and defender, it adds four contracts to the address book, (see attached image) one of those contracts is the implementation added twice, the other one the proxy and the other one the multisig. I have some questions regarding this:
1- Is there a way to avoid this POST to the address book? I dont need any of it there and this make the tool unavailable for mainnet on the free trial with the three contracts quota.
2- Is there a way to propose a transaction calling any function using foundry scripts? Like pause a contract or mint some tokens
The text was updated successfully, but these errors were encountered:
Hey @ericglau actually no, as you see, there are four contracts, I did not have any of those in the address book, The one without name is the multisig I have configured in the approval process, the sepolia proxy is the ERC-1967 contract, the other two are the new implementation duplicated, all those are posted to the address book when I run the script with Defender.proposeUpgrade but in mainnet the script fails because it is only allowed three contracts in mainnet, if the implementation was not duplicated the mainnet script will pass. My workaround was to validate the implementation and deploy it with Upgrades.prepareUpgrade (this post the implementation only once) and do the proposal through the Defender UI.
Regarding the second point, great, I'll be waiting for that 💪🏻
When creating an upgrade proposal using foundry scripts and defender, it adds four contracts to the address book, (see attached image) one of those contracts is the implementation added twice, the other one the proxy and the other one the multisig. I have some questions regarding this:
1- Is there a way to avoid this POST to the address book? I dont need any of it there and this make the tool unavailable for mainnet on the free trial with the three contracts quota.
2- Is there a way to propose a transaction calling any function using foundry scripts? Like pause a contract or mint some tokens
The text was updated successfully, but these errors were encountered: