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

Add another verify test #180

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Add another verify test #180

merged 3 commits into from
Oct 25, 2024

Conversation

lrettig
Copy link
Contributor

@lrettig lrettig commented Oct 24, 2024

This more closely mimics the behavior of receiving a verify tx over FFI. Also adds some more debug output.

In particular, this handles serialization and deserialization a bit differently. The existing test serializes and adds to the stdin stream each input object separately. This first encodes the payload, then serializes it and adds it to the stdin stream as a single blob.

@lrettig lrettig requested a review from poszu as a code owner October 24, 2024 22:26
core/src/runtime/mod.rs Outdated Show resolved Hide resolved
vm/sdk/src/wallet.rs Outdated Show resolved Hide resolved
@lrettig lrettig requested a review from poszu October 25, 2024 17:32
@lrettig lrettig merged commit d3a2020 into main Oct 25, 2024
10 checks passed
@lrettig lrettig deleted the verify-tx-test branch October 25, 2024 22:34
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