ChainSafe / ChainSafe/WebZjs

Zcash snap not working

Aperta
#167 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
39
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hiya, I am trying to transfer my tokens and it is not working, I am not able to shield my balance, it doesn't work, I'm also not able to open

the settings and not able to get private key (Metamask snap 0.3.0).

Some errors: usePCZT.ts:239 Shield: pczt_shield returned successfully
usePCZT.ts:135 Shield: PCZT created, size: 9969 bytes
usePCZT.ts:138 Shield: Sending to snap for signing
usePCZT.ts:144 Shield: Signed PCZT received, size: 10285 bytes
usePCZT.ts:146 Shield: Signed PCZT parsed successfully
usePCZT.ts:149 Shield: Starting proof generation
usePCZT.ts:151 Shield: Proof generated successfully
usePCZT.ts:154 Shield: Broadcasting transaction
usePCZT.ts:95 Shield: About to call pczt_send
usePCZT.ts:96 Shield: Signed PCZT bytes: 22095
webzjs_wallet.js:1985 INFO webzjs_wallet::wallet: pczt_send: Anchor validation passed. Wallet is 0 blocks behind chain tip.

webzjs_wallet.js:1914 ERROR webzjs_wallet::wallet: Transaction rejected by network: code=-25, reason=failed to validate tx: WtxId("private"), error: transaction did not pass consensus validation: transaction uses an incorrect consensus branch id

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start in usePCZT.ts at the shielding flow around lines 95-154, then inspect the pczt_send entry point and the reported incorrect consensus branch ID error. Verify which Zcash network and consensus branch ID are used when broadcasting the signed transaction. Done means shielding broadcasts successfully without consensus validation failure; the settings and private-key problems may need separate investigation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
blockchain
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.