Skip to content
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

Stake module implementation #10

Merged
merged 54 commits into from
May 11, 2020
Merged

Stake module implementation #10

merged 54 commits into from
May 11, 2020

Conversation

shanev
Copy link
Member

@shanev shanev commented May 5, 2020

Fixes #6.

Initial implementation of the stake module. Introduces the basic types. ABCI functions will be handled in #9.

This is mostly so work on the indexer can start without finishing all stake functionality. So there's a a bunch of TODOs and commented code.

@shanev shanev self-assigned this May 5, 2020
Copy link
Member

@jhernandezb jhernandezb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we haven't discussed if we are going to add some custom events to be picked by the indexer, do you think should be handled on a different issue?. I could see some events like post created or delegation expiration.

x/stake/keeper/post.go Outdated Show resolved Hide resolved
@shanev shanev mentioned this pull request May 6, 2020
@shanev shanev changed the title Stake module part 1 Stake module implementation May 6, 2020
@shanev shanev merged commit 047fb09 into master May 11, 2020
@shanev shanev deleted the stake-module-1 branch May 11, 2020 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stake module CRUD
2 participants