darwinia-network / darwinia-messages-sol

Darwinia cross-chain messages gateway and protocol for EVM developers 💌
MIT License
30 stars 8 forks source link

Remove `dispatch_results` at inlane #256

Closed hujw77 closed 2 years ago

hujw77 commented 2 years ago

Since we remove on_message_delivered callback, dispatch_results have no meaning at lnlane.

    struct DeliveredMessages {
        // Nonce of the first message that has been delivered (inclusive).
        uint64 begin;
        // Nonce of the last message that has been delivered (inclusive).
        uint64 end;
        // Dispatch result (`false`/`true`), returned by the message dispatcher for every
        // message in the `[end; begin]` range.
        // The `MAX_UNCONFIRMED_MESSAGES` parameter must lesser than 256 for gas saving
        uint256 dispatch_results;
    }