Closed hackfisher closed 1 year ago
Only for auto incremental nonces.
// 2. Make sure messageId is recieved by checking it in InboundLane (using precompile state storage).
Use this:
@wuminzhe any updates about issue?
@wuminzhe any updates about issue?
We can close this issue now. It is used as a sample. @xiaoch05 has already implemented it.
contract Issuing { // Incremental Merkle Tree, 不存在性证明, messageId grows monotonically recieved_mesasges_mapping (messageId) => bool;
fn issue_from_remote(...) { // mint // ...
}
fn handle_failed_issue_from_remote(messageId) { // 1. Make sure messageId is not in recieved_mesasges_mapping. 不存在性证明 // 2. Make sure messageId is recieved by checking it in InboundLane (using precompile state storage).
} }