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

Remove a post-Canopy panic in funding stream block subsidy validation #1371

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

teor2345
Copy link
Contributor

Motivation

Block validation panics when we reach canopy, because funding stream block subsidy validation is not yet implemented.

Solution

Turn the panic into a trace log.

Funding stream block subsidy validation will be implemented as part of block subsidy validation in #801.

The code in this pull request has been tested manually:

  • Syncing past canopy on Mainnet

Review

@oxarbitrage and I wrote this code.

This review is urgent, so I'm also tagging the zebra-team, in case @oxarbitrage is not around today.

Follow Up Work

We'll implement this feature in #801.

Funding stream block subsidy validation will be implemented as part of
block subsidy validation in ZcashFoundation#801.
@teor2345 teor2345 added C-bug Category: This is a bug A-rust Area: Updates to Rust code labels Nov 24, 2020
@teor2345 teor2345 added this to the First Alpha Release milestone Nov 24, 2020
@teor2345 teor2345 requested review from oxarbitrage and a team November 24, 2020 10:57
@teor2345 teor2345 self-assigned this Nov 24, 2020
@teor2345 teor2345 mentioned this pull request Nov 24, 2020
6 tasks
Copy link
Contributor

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@dconnolly dconnolly merged commit 133ebd0 into ZcashFoundation:main Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants