-
Notifications
You must be signed in to change notification settings - Fork 40
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
Dropped basic wallet account from genesis file #510
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.
LGTM just the one question
pub enum AccountInput { | ||
BasicWallet(BasicWalletInputs), | ||
BasicFungibleFaucet(BasicFungibleFaucetInputs), | ||
} |
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.
Should we remove the possibility entirely like this? i.e. is there zero value in having a wallet account in the genesis file?
(I think yes, but just checking)
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 was thinking about it and decided that for mainnet we will need to predeploy different accounts and contracts (like DAO for initial funds management), but I don't think that predeployment of simple wallets has any sense for us except testing (but for testing purposes we can deploy wallets in tests).
Added @igamigo to reviewers as this will likely affect integration tests on the client. |
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.
LGTM! I'll follow up with a small PR on the client (should be very small and quick to address so feel free to merge this anyway).
Co-authored-by: igamigo <[email protected]>
@bobbinth should we merge this PR or you would also like to review? |
Resolves: #446
In this PR we remove support of basic wallet creation in genesis config.