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

Remove gen_vault_signer_key for test #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fanatid
Copy link
Contributor

@fanatid fanatid commented Sep 22, 2021

Is there any reason for default Pubkey in gen_vault_signer_key?

My use case:
I'm trying to process instructions in Rust code with real data from the network (1. accounts data received from validators, so they are real 2. fuzz is used because only this feature process spl_token instructions instead of cross program invocations). Because gen_vault_signer_key produce default Pubkey I have a problem with SettleFunds instruction, I need to pass vault signer as default Pubkey for successful validation from serum dex and at the same time need to pass correct vault signer with real Pubkey for successful validation from spl_token. Currently, I changed owner pubkey for vault addresses but looks like a real in the key returned by gen_vault_signer_key.

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