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

Thursday night patch #4

Merged
merged 6 commits into from
Jul 21, 2023
Merged

Thursday night patch #4

merged 6 commits into from
Jul 21, 2023

Conversation

JoshOrndorff
Copy link
Collaborator

Fixes a few small errors that students pointed out during an impromptu late night help session.

  • Type signatures in check_merkle_proof
  • Adds error variants
  • verify_* functions return Result<bool> to handle payment problems
  • header_is_* functions take &self
  • typos

@nuke-web3
Copy link
Contributor

Polkadot-Blockchain-Academy/pba-content#600 (comment)

looks like diff file & patch to downstream is best - tried mucking with merging from different remotes to only get pain.

e should put this branch & pr on https://github.com/Polkadot-Blockchain-Academy/pba-ucb-a2-contracts so students can see it & attach the diff file to the PR comments with instructions to apply it

Copy link
Contributor

@nuke-web3 nuke-web3 left a comment

Choose a reason for hiding this comment

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

tbh didn't test it - just lokking seems legit though

@JoshOrndorff JoshOrndorff merged commit 5919129 into main Jul 21, 2023
@JoshOrndorff JoshOrndorff deleted the joshy-thursday-night-patch branch July 21, 2023 14:03
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.

2 participants