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

vp_verify_masp: avoid panicking unwrap()s #942

Merged
merged 1 commit into from
Dec 21, 2022
Merged

Conversation

juped
Copy link
Member

@juped juped commented Dec 21, 2022

Malformed transactions can cause the node to panic because this function unwraps values. Return the proper error, or a failure if asked to verify a transaction with no shielded part.

Malformed transactions can cause the node to panic because this
function unwraps values. Return the proper error, or a failure if asked
to verify a transaction with no shielded part.
@juped juped marked this pull request as ready for review December 21, 2022 06:01
juped added a commit that referenced this pull request Dec 21, 2022
juped added a commit that referenced this pull request Dec 21, 2022
* ray/vp-verify-masp-failure:
  changelog: add #942
  vp_verify_masp: avoid panicking unwrap()s
juped added a commit that referenced this pull request Dec 21, 2022
* maint-0.12:
  Namada 0.12.1
  changelog: add #942
  vp_verify_masp: avoid panicking unwrap()s
juped added a commit that referenced this pull request Dec 21, 2022
* maint-0.12:
  Namada 0.12.1
  changelog: add #942
  vp_verify_masp: avoid panicking unwrap()s
@juped juped merged commit 459dbbb into main Dec 21, 2022
@juped juped deleted the ray/vp-verify-masp-failure branch December 21, 2022 06:28
tzemanovic added a commit that referenced this pull request Dec 28, 2022
* origin/grarco/basic-fee:
  changelog: add #962
  Fixes unit tests
  Fixes process proposal fee token
  Fixes fee value in tx contruction
  Adds fee burning and checks
  changed to 0.12.2
  Namada 0.12.2
  release: cherry-pick release improvements
  changelog: add #952
  prepare_proposal: update comment to reflect hotfix
  prepare_proposal: use TxRecord struct on ABCI++ build
  missed a chain-id addition
  Prioritize wrapper txs during proposal construction
  Hot fix PrepareProposal
  added chain id and fixed install docs
  update pseudocode
  General housekeeping
  Reward distribution: general improvements
  Cubic slashing: general writing improvements
  Cubic slashing: add new improved pseudocode blurb (Rust-style)
  Cubic slashing: clarify slash iteration procedure and equation
  Cubic slashing: fix and improve plot
  quick fix to cubic slash
  changelog: add #911
  changelog: add #876
  test/core: run less cases on `update_epoch_after_its_duration` test
  changelog: add #945
  ci: install cargo-about on release step
  make-package.sh: include license information in tarball
  release: add configuration for cargo-about
  changelog: add #943
  make-package.sh: don't attempt to include matchmaker
  Namada 0.12.1
  changelog: add #942
  vp_verify_masp: avoid panicking unwrap()s
  changed the docker link (again)
  Changed the first header of pages to H1 in 2 occasions in Namada Specs
  Replaced non-breaking space with space to fix faulty formatting
  fix transfer args
bengtlofgren pushed a commit that referenced this pull request May 11, 2023
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.

1 participant