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

adds owner to RpcMint #5522

Merged
merged 1 commit into from
Oct 9, 2024
Merged

adds owner to RpcMint #5522

merged 1 commit into from
Oct 9, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Oct 9, 2024

Summary

assets stored in the blockchain database include both 'creator' and 'owner', but the RpcMint type only includes 'creator'

our api expects to receive mint data that includes 'owner'

updates RpcMint to include owner

NOTE: this field is immediately deprecated alongside 'creator' and other fields that can be read from asset RPCs. fully deprecating these fields for endpoints like 'followChainStream' and 'getTransactionStream' that expect streams of chain data could make the process of fetching asset data with separate requests between streaming responses difficult

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

assets stored in the blockchain database include both 'creator' and 'owner', but
the RpcMint type only includes 'creator'

our api expects to receive mint data that includes 'owner'

updates RpcMint to include owner

NOTE: this field is immediately deprecated alongside 'creator' and other fields
that can be read from asset RPCs. fully deprecating these fields for endpoints
like 'followChainStream' and 'getTransactionStream' that expect streams of chain
data could make the process of fetching asset data with separate requests
between streaming responses difficult
@hughy hughy requested a review from a team as a code owner October 9, 2024 17:11
@hughy hughy merged commit 8d3fc6b into staging Oct 9, 2024
10 checks passed
@hughy hughy deleted the fix/hughy/rpc-mint-owner branch October 9, 2024 18:20
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