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

Update Reward actor to new spec #480

Merged
merged 7 commits into from
Jun 8, 2020
Merged

Update Reward actor to new spec #480

merged 7 commits into from
Jun 8, 2020

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes #459

Other information and links

@austinabell austinabell added Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review VM labels Jun 5, 2020
self.reward_map = rewards.root()?;
self.reward_total -= &withdrawable_sum;
Ok(withdrawable_sum)
pub(super) fn get_effective_network_time(
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it matters but get_effective_network_time looks to exist in the actor implementation rather than the state.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it does, but I chose not to follow here, as it's much cleaner this way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

made 0 sense to me why they had it the way they did

@austinabell austinabell merged commit a49f9a9 into master Jun 8, 2020
@austinabell austinabell deleted the austin/rewardupdate branch June 8, 2020 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update reward actor
3 participants