-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update README with command to deploy the new address registry #30
Conversation
README.md
Outdated
|
||
```bash | ||
make | ||
forge create src/gov-action-contracts/address-registries/L2AddressRegistry.sol:L2AddressRegistry --constructor-args <NEW_CORE_GOVERNOR_CONTRACT_ADDRESS> <NEW_TREASURY_GOVERNOR_CONTRACT_ADDRESS> 0xF3FC178157fb3c87548bAA86F9d24BA38E649B58 0x1D62fFeB72e4c360CcBbacf7c965153b00260417 --rpc-url <ARB_ONE_RPC_URL> --private-key <PRIVATE_KEY> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is probably best not to include the private key in the command. It would probably be better to use the interactive flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a sample command we could test with? Or would I have to deploy a governor and treasury contract first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forge create src/gov-action-contracts/address-registries/L2AddressRegistry.sol:L2AddressRegistry --constructor-args 0xf07DeD9dC292157749B6Fd268E37DF6EA38395B9 0x789fC99093B09aD01C34DC7251D0C89ce743e5a4 0xF3FC178157fb3c87548bAA86F9d24BA38E649B58 0x1D62fFeB72e4c360CcBbacf7c965153b00260417 --rpc-url https://arbitrum.llamarpc.com --interactive
But this would actually deploy to Arb mainnet. There are some relational conditions between these contracts that need to be met, so I'm not sure how to test it without the properly setup testnet contract addresses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like there is a way to look for contracts with the bytecode deployed on other networks using etherscan? That way maybe we can test on arbitrum sepolia. But can't seem to find that option right now. Any recs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage after merging fix-deploying-new-address-registry into main will be
Coverage Report
|
No description provided.