optimism-bridge-snt/contracts
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
..
optimism refactor: use custom error type instead of error strings (#18) 2023-10-06 08:37:32 +02:00
SNTPlaceHolder.sol chore(deps): specify openzeppelin version 4.9.3 for reproducible builds 2023-10-05 12:37:16 +02:00