Commit Graph

31 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt 980f08e22a ran prettier 2024-02-26 21:31:20 -03:00
Ricardo Guilherme Schmidt c6e53ed3ab update readme 2024-02-26 21:31:20 -03:00
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
r4bbit b6f50cff2d
chore(README): add goerli deployment addresses (#28) 2023-11-07 09:55:44 +01:00
r4bbit dc28b89d6a
fix(DeplopyBridge): change token symbol so it matches L1 token symbol (#27) 2023-11-02 11:26:59 +01:00
r4bbit 74b6eeb912
docs(README): add deployment addresses for OP Mainnet (#26) 2023-10-30 15:31:23 +01:00
r4bbit 4d73f4f843
chore(foundry.toml): comment out unused etherscan and rpcs (#25) 2023-10-30 15:31:07 +01:00
Ricardo Guilherme Schmidt 74f3fd88a5 Improve coverage 2023-10-06 13:39:34 -03:00
Ricardo Guilherme Schmidt b0e2f1b61b Improve claimTokens 2023-10-06 12:59:54 -03:00
Ricardo Guilherme Schmidt 95ebd28004 fix comments 2023-10-06 12:59:54 -03:00
r4bbit 20a97c2baa
docs: update README with deployment instructions (#20)
Also point to MiniMeToken fork to avoid confusion.
2023-10-06 10:40:35 +02: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
r4bbit 6aa57f6a46
chore(deps): update minime dependency (#14)
This commit updates the the minime submodule to its latest version.
2023-10-06 08:26:32 +02:00
r4bbit c76ba5b946 chore(deps): specify openzeppelin version 4.9.3 for reproducible builds
The code couldn't compile because it was using a version of
`Ownable2Step` that introduced breaking changes.

This commit sets the used version to the latest stable release of OZ,
which is 4.9.3. Hence the usages of `Ownable2Step` needed to change as
well.
2023-10-05 12:37:16 +02:00
r4bbit cf5cdc5ea6 chore: prettier ignore `contracts.json`
Prettier is complaining about it on CI but it doesn't tell what it
complains about. It lints perfectly fine locally.

For now, ignoring `contracts.json` so we get past the linting stage.
2023-10-05 12:37:16 +02:00
r4bbit 715b95d2c8 fix(SNTPlaceHolder): fix incorrect usage of minime token type
The `SNTPlaceholder` uses `MiniMeToken` type in a function even though
only `MiniMeBase` is actually imported.

This commit fixes the function signature so that the code can actually
compile.
2023-10-05 12:37:16 +02:00
Ricardo Guilherme Schmidt c8b6f23554 small fix 2023-10-03 11:50:09 -03:00
Ricardo Guilherme Schmidt 88abe731e1 Remove faucet, update MiniMeToken to MiniMeBase 2023-10-03 11:46:37 -03:00
Ricardo Guilherme Schmidt 34a05aead1 delete Owned.sol 2023-10-03 11:42:20 -03:00
Ricardo Guilherme Schmidt 6dc3fd00f4
Merge pull request #13 from logos-co:3esmit/issue8
Ownership cannot be revoked/petrified
2023-10-03 11:38:44 -03:00
Ricardo Guilherme Schmidt 54f614f843 Ownership cannot be revoked/petrified
Fixes #8
2023-10-03 11:38:25 -03:00
Ricardo Guilherme Schmidt 93bcf1c5ed
Merge pull request #11 from logos-co:3esmit/issue4
add claimTokens
2023-09-26 12:15:29 -03:00
Ricardo Guilherme Schmidt dd8bdbf589 Fixes #4 2023-09-26 12:14:43 -03:00
Ricardo Guilherme Schmidt c2257eb892
Merge pull request #10 from logos-co:3esmit/issue5
Remove SafeMath
2023-09-26 12:09:17 -03:00
Ricardo Guilherme Schmidt a35c36ee47 Fixes #5 2023-09-26 12:08:35 -03:00
Ricardo Guilherme Schmidt 7f2bc5ad00
Merge pull request #9 from logos-co/refactor/foundry-template
refactor: use foundry template
2023-09-26 12:06:52 -03:00
r4bbit 4a7a10ee33
refactor: move to foundry template 2023-09-26 16:58:36 +02:00
Ricardo Guilherme Schmidt 2cd0c8f5be
add details about minimetoken 2023-07-25 12:35:50 -03:00
Ricardo Guilherme Schmidt aaba029cb8
add bridge code 2023-07-17 13:59:00 -03:00