hyperlane-xyz / fuel-contracts

5 stars 2 forks source link

Mailbox: pausable dispatch & pausable non-reentrant process #58

Closed tkporter closed 1 year ago

tkporter commented 1 year ago

Like the solidity implementation, we should allow the Mailbox to be paused (dispatch & process), and make sure process is non-reentrant

tkporter commented 1 year ago

Consider https://github.com/FuelLabs/sway-libs/tree/master/libs/reentrancy. May not be suitable as we may want the pausable + reentrancy guard with a single storage read, like we do in solidity

tkporter commented 1 year ago

done with #78