ChainSafe / ChainSafe/WebZjs

Zcash snap not working

Abierto
#167 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
39
Forks
29
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza en usePCZT.ts, en el flujo de shielding alrededor de las líneas 95-154, y luego inspecciona el punto de entrada pczt_send y el error reportado de una ID de rama de consenso incorrecta. Verifica qué red de Zcash y qué ID de rama de consenso se utilizan al transmitir la transacción firmada. Se considera terminado cuando el shielding se transmite correctamente sin un fallo de validación de consenso; es posible que los problemas de configuración y de la clave privada deban investigarse por separado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
blockchain
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.