Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt 74f3fd88a5 Improve coverage 2023-10-06 13:39:34 -03:00
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
r4bbit 2c0c825d60
feat: introduce foundry deploy script (#17) 2023-10-06 08:27:03 +02:00
Ricardo Guilherme Schmidt a35c36ee47 Fixes #5 2023-09-26 12:08:35 -03:00