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

add selfstake bucket index in candidate #1954

Merged
merged 2 commits into from
Feb 29, 2020
Merged

add selfstake bucket index in candidate #1954

merged 2 commits into from
Feb 29, 2020

Conversation

yutongp
Copy link
Contributor

@yutongp yutongp commented Feb 28, 2020

No description provided.

@yutongp yutongp requested a review from a team as a code owner February 28, 2020 23:50
@codecov
Copy link

codecov bot commented Feb 28, 2020

Codecov Report

Merging #1954 into master will decrease coverage by 0.02%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1954      +/-   ##
==========================================
- Coverage   58.65%   58.63%   -0.03%     
==========================================
  Files         182      182              
  Lines       15320    15324       +4     
==========================================
- Hits         8986     8985       -1     
- Misses       5212     5216       +4     
- Partials     1122     1123       +1
Impacted Files Coverage Δ
action/protocol/staking/handlers.go 0% <0%> (ø) ⬆️
action/protocol/staking/candidate.go 66.66% <100%> (+0.95%) ⬆️
db/trie/extensionnode.go 57.62% <0%> (-1.7%) ⬇️
db/trie/branchnode.go 65.59% <0%> (-1.61%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73f8d16...071fcdd. Read the comment docs.

Reward: reward,
Name: name,
Votes: big.NewInt(0),
SelfStakeIdx: selfStakeIdx,
Copy link
Member

Choose a reason for hiding this comment

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

nit: move to end? so it is consistent with proto order

Reward address.Address
Name string
Votes *big.Int
SelfStakeIdx uint64
Copy link
Collaborator

Choose a reason for hiding this comment

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

SelfStateBucketIndex

Copy link
Member

@dustinxie dustinxie left a comment

Choose a reason for hiding this comment

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

1 nit comment

@yutongp yutongp merged commit 90bfb05 into master Feb 29, 2020
@yutongp yutongp deleted the yutong/idx branch February 29, 2020 01:22
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.

3 participants