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

wasm: witness tests #1876

Merged
merged 5 commits into from
Nov 20, 2024
Merged

wasm: witness tests #1876

merged 5 commits into from
Nov 20, 2024

Conversation

TalDerei
Copy link
Contributor

references #1831

Copy link

changeset-bot bot commented Oct 26, 2024

🦋 Changeset detected

Latest commit: 1b8bf82

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@penumbra-zone/wasm Minor
@penumbra-zone/perspective Major
@penumbra-zone/query Major
@penumbra-zone/services Major
@penumbra-zone/storage Major
minifront Patch
@penumbra-zone/ui-deprecated Patch
node-status Patch
@repo/tailwind-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@TalDerei TalDerei self-assigned this Oct 26, 2024
Comment on lines +293 to +297
// Modify the witness to use the default position. This will cause a failure
// because the position must be witnessed in the tree to be valid.
//
// It's unclear how to test this because this results in a panic deeper in the
// call stack that isn't propogated back to the caller?
Copy link
Contributor Author

@TalDerei TalDerei Nov 20, 2024

Choose a reason for hiding this comment

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

tricky test case

Copy link
Collaborator

Choose a reason for hiding this comment

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

Wish we killed all panics 😢 and exclusively returned Result type...

@TalDerei TalDerei requested review from grod220 and a team November 20, 2024 12:24
Copy link
Collaborator

@grod220 grod220 left a comment

Choose a reason for hiding this comment

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

WITNESS HIM

xLHumD

Comment on lines +293 to +297
// Modify the witness to use the default position. This will cause a failure
// because the position must be witnessed in the tree to be valid.
//
// It's unclear how to test this because this results in a panic deeper in the
// call stack that isn't propogated back to the caller?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wish we killed all panics 😢 and exclusively returned Result type...

@TalDerei TalDerei merged commit ccbe3a5 into main Nov 20, 2024
6 checks passed
@TalDerei TalDerei deleted the wasm-test-witness branch November 20, 2024 22:10
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