-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Module accounts #4252
Module accounts #4252
Conversation
which other modules should implement a module account ? @rigelrozanski @alexanderbez @alessio |
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.
Left a few bits of feedback.
Codecov Report
@@ Coverage Diff @@
## master #4252 +/- ##
=========================================
- Coverage 58.91% 58.81% -0.1%
=========================================
Files 215 215
Lines 14482 14533 +51
=========================================
+ Hits 8532 8548 +16
- Misses 5310 5345 +35
Partials 640 640 |
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
@@ -88,8 +88,12 @@ type GenesisAccount struct { | |||
DelegatedVesting sdk.Coins `json:"delegated_vesting"` // delegated vesting coins at time of delegation | |||
StartTime int64 `json:"start_time"` // vesting start time (UNIX Epoch time) | |||
EndTime int64 `json:"end_time"` // vesting end time (UNIX Epoch time) | |||
|
|||
// module account fields | |||
Module string `json:"module"` // name of the module |
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.
Indentation seems funky. Running gofmt -w -s cmd/gaia/app/genesis.go
should do it
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.
Excellent job! I'll test this shortly, when @alexanderbez comments are addressed this is good to go for me.
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
moved to #4255 as per our discussion |
Implement modules accounts to hold coins on escrow. Originally part of #4210
Closes #3628
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry:
clog add [section] [stanza] [message]
rereviewed
Files changed
in the github PR explorerFor Admin Use: