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

Program {program id} failed: custom program error: 0x1778 #47

Open
beamsies opened this issue Feb 18, 2022 · 5 comments
Open

Program {program id} failed: custom program error: 0x1778 #47

beamsies opened this issue Feb 18, 2022 · 5 comments

Comments

@beamsies
Copy link

Thanks for putting this together!

I'd like to run it locally but am having an issue getting it to work.

I don't understand the error I received while running this multisig example test run:

Transaction simulation failed: Error processing Instruction 1: custom program error: 0x1778 
    Program 11111111111111111111111111111111 invoke [1]
    Program 11111111111111111111111111111111 success
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP invoke [1]
    Program log: Instruction: CreateMultisig
    Program log: Custom program error: 0x1778
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP consumed 4765 of 200000 compute units
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP failed: custom program error: 0x1778

I followed the instructions on the README page.

If I'm doing something wrong please let me know.

Please advise, thanks.

@fanatid
Copy link
Contributor

fanatid commented Feb 18, 2022

Can you specify which instructions from README you are following?

Please describe the steps which lead you to mentioned error.

@beamsies
Copy link
Author

Can you specify which instructions from README you are following?

Please describe the steps which lead you to mentioned error.

@fanatid I just followed the instructions here.

I did get it working though.

The test was failing at https://github.com/project-serum/multisig/blob/master/tests/multisig.js#L166 since the error code was ERR_ASSERTION.

But I'm not sure if that was actually the problem since I didn't understand the part Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP failed: custom program error: 0x1778.

Thanks for the quick reply.

@fanatid
Copy link
Contributor

fanatid commented Feb 18, 2022

README does not have specific instructions except a command for running tests: anchor test. Do you get error on anchor test?

@beamsies
Copy link
Author

README does not have specific instructions except a command for running tests: anchor test. Do you get error on anchor test?

Yeah, that is where I got the error, thanks for clarifying.

@fanatid
Copy link
Contributor

fanatid commented Feb 18, 2022

Is this output that you see and from where your error is copied?

  multisig
    ✔ Tests the multisig program (1579ms)
Transaction simulation failed: Error processing Instruction 1: custom program error: 0x1778 
    Program 11111111111111111111111111111111 invoke [1]
    Program 11111111111111111111111111111111 success
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP invoke [1]
    Program log: Instruction: CreateMultisig
    Program log: Custom program error: 0x1778
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP consumed 4487 of 200000 compute units
    Program 6tbPiQLgTU4ySYWyZGXbnVSAEzLc1uF8t5kJPXXgBmRP failed: custom program error: 0x1778
    ✔ Assert Unique Owners (65ms)


  2 passing (2s)

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

2 participants