The bridge-burn-zcn could work well, but when run bridge-mint-wzcn, it would say found no none processed burn tickets. This is because bridge-mint-wzcn will get user mint nonce first, and the value is 1, then request none processed tickets from 0chain. However, the burn ticket is with nonce value 1, the query API will only return tickets that is greater than 1here, therefore, no tickets will be returned actually. So the problem might be in the first step, the user minted nonce should be 0 if we haven't minted before. Need further investigation.
The
bridge-burn-zcn
could work well, but when runbridge-mint-wzcn
, it would say found no none processed burn tickets. This is becausebridge-mint-wzcn
will get user mint nonce first, and the value is1
, then request none processed tickets from 0chain. However, the burn ticket is with nonce value1
, the query API will only return tickets that is greater than1
here, therefore, no tickets will be returned actually. So the problem might be in the first step, the user minted nonce should be 0 if we haven't minted before. Need further investigation.