glacislabs / v1-core

Core smart contracts of Glacis v1
Apache License 2.0
7 stars 1 forks source link

Route function should include nonce #10

Closed jboetticher closed 5 months ago

jboetticher commented 6 months ago

GlacisRouter route function should include nonce as an output so that smart contracts can programmatically retry instead of relying on external tools to cache nonce.

   function route(
        uint256 chainId,
        bytes32 to,
        bytes memory payload,
        uint8[] memory gmps,
        uint256[] memory fees,
        address refundAddress,
        bool retriable
    ) public payable virtual returns (bytes32, uint256); 
gusjavaz commented 5 months ago

Agree!

jboetticher commented 5 months ago

Addressing in https://github.com/glacislabs/v1-core/pull/11

jboetticher commented 5 months ago

Addressed with https://github.com/glacislabs/v1-core/pull/11