Closed tkporter closed 1 year ago
Like the solidity implementation, we should allow the Mailbox to be paused (dispatch & process), and make sure process is non-reentrant
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
done with #78
Like the solidity implementation, we should allow the Mailbox to be paused (dispatch & process), and make sure process is non-reentrant