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

Context variables not included in final singed transaction's toJson method #125

Closed
scalahub opened this issue Jan 30, 2022 · 0 comments · Fixed by #126
Closed

Context variables not included in final singed transaction's toJson method #125

scalahub opened this issue Jan 30, 2022 · 0 comments · Fixed by #126
Assignees
Labels
bug Something isn't working

Comments

@scalahub
Copy link
Collaborator

When we create a transaction with some inputs having context variables set via withContextVar, the following behaviour is observed:

  1. The method tx.toJson does not include context variables.
  2. When we finally broadcast the transaction, an error is encountered if the script uses context variables.

The above indicates that while the context variables are used in signing, they may not be included in the final transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants