Commit Graph

5 Commits

Author SHA1 Message Date
r4bbit a518968d06
chore: add deployment config for OP Sepolia (#29)
Also does some minor formatting to make linter happy on CI
2023-12-08 12:25:38 +01:00
Ricardo Guilherme Schmidt 74f3fd88a5 Improve coverage 2023-10-06 13:39:34 -03:00
r4bbit c0a035c073
refactor: rename `SNTPlaceHolder` to `SNTOptimismController` (#19)
As discussed in https://github.com/logos-co/optimism-bridge-snt/pull/17#discussion_r1347332217
2023-10-06 10:03:43 +02: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