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

fix: replace usage of RangeProof MR with Witness MR #3129

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

There are still some names references a rangeproof Mr, this does not exist anymore and there is only a witness Mr.

Motivation and Context

How Has This Been Tested?

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

#[error("Invalid range proof merkle root")]
InvalidRangeProofMr,
#[error("Invalid witness merkle root")]
InvalidWitnessMr,
Copy link
Member

Choose a reason for hiding this comment

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

This variant isnt used (assuming everything compiles) and can be removed. Did a quick search and same for InvalidKernelMr and InvalidOutputMr can be removed

Copy link
Member

Choose a reason for hiding this comment

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

...and WeakerAccumulatedDifficulty, they are all handled in BlockError(..) and PowError(...)

stringhandler
stringhandler previously approved these changes Jul 23, 2021
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

Approved, but agree that they can be removed

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 23, 2021

PR queued successfully. Your position in queue is: 2

remove unused errors
@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 23, 2021

PR is on top of the queue now

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 23, 2021

PR failed to merge with reason: Not approved

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 27, 2021

PR queued successfully. Your position in queue is: 1

@aviator-app aviator-app bot merged commit bbfc687 into tari-project:development Jul 27, 2021
@SWvheerden SWvheerden deleted the sw_fix_naming_witnessmr branch July 28, 2021 06:54
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