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

Aux Data should only contain data specific to the message being signed #5

Open
ameba23 opened this issue Jun 6, 2024 · 0 comments
Open

Comments

@ameba23
Copy link
Contributor

ameba23 commented Jun 6, 2024

I think the only things in AuxData should be nonce, string_account_id and amount.

The other stuff should not need to be passed in at the point of signing, as it will always be the same.

As long as the chain metadata is hard-coded into the program, so should be spec_version, transaction_version, etc. Even if we manage to fix this and have a chain-agnostic program, i think this stuff should be set in the program config at the point of deploying.

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

No branches or pull requests

1 participant