Zcash snap not working
- 主要言語
- TypeScript
- スター
- 39
- フォーク
- 29
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
usePCZT.ts の 95-154 行付近にある shielding フローから開始し、次に pczt_send エントリポイントと、報告されている誤った consensus branch ID エラーを調査します。署名済みトランザクションをブロードキャストするときに、どの Zcash ネットワークと consensus branch ID が使用されているかを確認します。consensus validation failure なしで shielding のブロードキャストが成功すれば完了です。settings と private-key の問題については、別途調査が必要になる可能性があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- blockchain
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100