报错:Withdrawal failed: Error: VM Exception while processing transaction: revert Sigma protocol challenge equality怎么解决
failure.
> Artifacts written to C:\Users\86181\AppData\Local\Temp\test--2428-NByIu2wor025
> Compiled successfully using:
- solc: 0.7.0+commit.9e61f92b.Emscripten.clang
Contract: ZSC
✔ should allow minting and approving (1075ms)
Registration submitted (txHash = "0xa96b547d86c8f0f38ba029d0d0d534035cc3c6eeb9db7a66dd512eb289623bd6").
Registration successful.
✔ should allow initialization (833ms)
Initiating deposit.
Deposit submitted (txHash = "0xe59cdb39ccfdf7dac668f450bef13c40db775cf48d2e8299c0beae99260ed79f").
Deposit of 200 was successful. Balance now 200.
✔ should allow funding (643ms)
余额0
余额0
Your withdrawal has been queued. Please wait 4 seconds, for the release of your funds...
余额200
Withdrawal failed: Error: VM Exception while processing transaction: revert Sigma protocol challenge equality
failure.
1) should allow withdrawing
> No events were emitted
Registration submitted (txHash = "0x5f50e7e7449894b4790fa022908af3e2d4c2c9e8128e68ff8facdef582339fea").
Registration submitted (txHash = "0x9f6b63b9c415de46b08518b074c39328e2f138b227c78bfa0ed42a755e8a446b").
Registration submitted (txHash = "0x7b84c0493792891d87c3ae283c7b5ba24ee74d1709b6fdf51f129027351715ca").
Registration submitted (txHash = "0xb2413a5f360afb600e047ee9e8eef5eb3b056bb9e0bd15a591bebb76d221b220").
Registration successful.
Registration successful.
Registration successful.
Registration successful.
Initiating transfer.
Transfer failed: Error: VM Exception while processing transaction: revert Sigma protocol challenge equality failure.
2) should allow transferring
> No events were emitted
3 passing (18s)
2 failing
1) Contract: ZSC
should allow withdrawing:
Error: VM Exception while processing transaction: revert Sigma protocol challenge equality failure.
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\packages\provider\wrapper.js:25:1
at Object.callback (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\packages\provider\wrapper.js:166:1)
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\web3-providers-ws\lib\index.js:115:1
at Array.forEach (<anonymous>)
at WebsocketProvider._onMessage (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\web3-providers-ws\lib\index.js:103:1)
at W3CWebSocket._dispatchEvent [as dispatchEvent] (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\yaeti\lib\EventTarget.js:115:1)
at W3CWebSocket.onMessage (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\W3CWebSocket.js:234:1)
at WebSocketConnection.<anonymous> (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\W3CWebSocket.js:205:1)
at WebSocketConnection.emit (node:events:513:28)
at WebSocketConnection.processFrame (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\WebSocketConnection.js:554:1)
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\WebSocketConnection.js:323:35
at processTicksAndRejections (node:internal/process/task_queues:78:11)
2) Contract: ZSC
should allow transferring:
Error: VM Exception while processing transaction: revert Sigma protocol challenge equality failure.
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\packages\provider\wrapper.js:25:1
at Object.callback (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\packages\provider\wrapper.js:166:1)
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\web3-providers-ws\lib\index.js:115:1
at Array.forEach (<anonymous>)
at WebsocketProvider._onMessage (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\web3-providers-ws\lib\index.js:103:1)
at W3CWebSocket._dispatchEvent [as dispatchEvent] (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\yaeti\lib\EventTarget.js:115:1)
at W3CWebSocket.onMessage (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\W3CWebSocket.js:234:1)
at WebSocketConnection.<anonymous> (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\W3CWebSocket.js:205:1)
at WebSocketConnection.emit (node:events:513:28)
at WebSocketConnection.processFrame (C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\WebSocketConnection.js:554:1)
at C:\Users\86181\Desktop\zpay-main\node_modules\truffle\build\webpack:\node_modules\websocket\lib\WebSocketConnection.js:323:35
at processTicksAndRejections (node:internal/process/task_queues:78:11)