-
Notifications
You must be signed in to change notification settings - Fork 11
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
Move to foundry #130
Move to foundry #130
Conversation
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.
Really nice work.
I've added some inline comments.
Will help you address them now.
This PR needs adjustment of the deploy script. |
2e00a9c
to
1c66a1e
Compare
1c66a1e
to
fe54e5f
Compare
string public constant PARENT_REGISTRY_ENV_KEY = "PARENT_REGISTRY"; | ||
|
||
function run() public returns (UsernameRegistrar registrar, DeploymentConfig deploymentConfig) { | ||
address parentRegistry = vm.envOr({ name: PARENT_REGISTRY_ENV_KEY, defaultValue: address(0) }); |
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.
@3esmit With this we can run a migration script via:
PARENT_REGISTRY="0x...." forge script scripts/Deploy.s.sol --rpc-url $RPC_URL
I still kept a runMigration()
function for tests.
No description provided.