multisig icon indicating copy to clipboard operation
multisig copied to clipboard

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

Open beamsies opened this issue 3 years ago • 5 comments

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.

beamsies avatar Feb 18 '22 02:02 beamsies

Can you specify which instructions from README you are following?

Please describe the steps which lead you to mentioned error.

fanatid avatar Feb 18 '22 09:02 fanatid

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.

beamsies avatar Feb 18 '22 14:02 beamsies

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

fanatid avatar Feb 18 '22 14:02 fanatid

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.

beamsies avatar Feb 18 '22 19:02 beamsies

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)

fanatid avatar Feb 18 '22 20:02 fanatid