optimism-bridge-snt/contracts/optimism
r4bbit fe1a4e96ab
refactor: use custom error type instead of error strings (#18)
The `onlyBridge` modifier uses strings as error messages which are
expensive in gas.

This commit refactors this to use a custom error type instead and also
introduces some basic tests to ensure the errors are emitted properly.

It also adds some sanity tests for minting and burning bridge tokens.
2023-10-06 08:37:32 +02:00
..
IOptimismMintableERC20.sol add bridge code 2023-07-17 13:59:00 -03:00
OptimismMintableMiniMeToken.sol refactor: use custom error type instead of error strings (#18) 2023-10-06 08:37:32 +02:00
Semver.sol refactor: move to foundry template 2023-09-26 16:58:36 +02:00