Skip to content

Use unit64 for pre/postBalances to be SVM compatable#198

Open
nathan-margosian-anchor wants to merge 1 commit into
blocto:mainfrom
anchorageoss:nathanmargosian/use-uint64-for-balances
Open

Use unit64 for pre/postBalances to be SVM compatable#198
nathan-margosian-anchor wants to merge 1 commit into
blocto:mainfrom
anchorageoss:nathanmargosian/use-uint64-for-balances

Conversation

@nathan-margosian-anchor
Copy link
Copy Markdown

Solana has a max token supply that fits inside an int64 but other SVMs (like Fogo) don't have the same guarantees. preBalances and postBalances should be modeled as unit64s instead of int64s to account for this

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.

1 participant