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

Allow OutputOwners to be json marshalled without InitCtx #2495

Merged
merged 1 commit into from
Dec 17, 2023

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

It is often unreasonable to require a consumer of our transactions to have a reference to *snow.Context. However, json.Marshaling a transaction is often one of the easiest ways to manually inspect a transaction.

This allows users to json.Marshal a transaction without a reference to a *snow.Context.

How this works

Falls back to a less human readable address format.

How this was tested

  • CI

@StephenButtolph StephenButtolph self-assigned this Dec 16, 2023
@StephenButtolph StephenButtolph added the enhancement New feature or request label Dec 16, 2023
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Dec 16, 2023
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2023
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 17, 2023
Merged via the queue into dev with commit 4430550 Dec 17, 2023
17 checks passed
@StephenButtolph StephenButtolph deleted the remove-InitCtx-requirement branch December 17, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants