-
Notifications
You must be signed in to change notification settings - Fork 149
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
WIP : Introduce ISystemAccounts
#3483
Conversation
a1e17de
to
d9eac1d
Compare
d9eac1d
to
6fb4b41
Compare
c0c0284
to
65ba613
Compare
dd3a013
to
5ac8c76
Compare
5ac8c76
to
cddf259
Compare
cddf259
to
4cc7bc8
Compare
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Will be handled on #3494, Closing |
Background
System Accounts
are needed.IActionContext
.Note
LegacyAccount
has been renamed toDefaultAccount
, to cover single account application case. What I'm thinking is,Legacy
seems to be better to be calledDefault
I think.Legacy
, seems to be legacy one is deprecated, or obsoleted, but I think it's better to provide both.Changes
ISystemAccounts
IActionContext.SystemAccounts
ISystemAccountsGetter
IBlockPolicy.SystemAccountsGetter
WorldExtensions
, and replace them withSystemAccounts
ValidatorSet
fromDefaultAccount
toValidatorSetAccount
ValidatorSetOperate
is on application layer, most of work have to be done on appReservedAddress.Addresses
toContext.SystemAccounts
on testsSystem Accounts
cannot be set from outside of Libplanet? (ex :IAction.Execute()
on app) -> a bit confused, does fee account needs to be mint from app actions?