-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 3.0.0 has a few breaking changes: - drops support for older solidity versions and only uses 0.8.20 and above - uses OpenZeppelin Contract v5.0.1 - uses ERC-7201 namespaced storage layout for upgradeable contracts instead of gaps In addition, there are some non-breaking changes: - follows TL code standards - moves custom errors into contracts instead of outside of the contracts - better code documentation
- Loading branch information
Showing
37 changed files
with
740 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
on: [push] | ||
|
||
name: Test | ||
|
||
jobs: | ||
check: | ||
name: Transient Labs Sol Tools | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Run unit tests | ||
run: make compiler_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ out/ | |
|
||
# Dotenv file | ||
.env | ||
|
||
# Docs | ||
docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule forge-std
updated
13 files
+1 −1 | package.json | |
+11 −3 | src/StdChains.sol | |
+2 −2 | src/StdCheats.sol | |
+4 −0 | src/StdJson.sol | |
+61 −33 | src/StdUtils.sol | |
+539 −268 | src/Vm.sol | |
+216 −0 | src/mocks/MockERC20.sol | |
+221 −0 | src/mocks/MockERC721.sol | |
+2 −6 | test/StdChains.t.sol | |
+1 −1 | test/StdCheats.t.sol | |
+15 −0 | test/Vm.t.sol | |
+441 −0 | test/mocks/MockERC20.t.sol | |
+721 −0 | test/mocks/MockERC721.t.sol |
Submodule openzeppelin-contracts
updated
730 files
Submodule openzeppelin-contracts-upgradeable
updated
726 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
@manifoldxyz/libraries-solidity/=lib/royalty-registry-solidity/lib/libraries-solidity/ | ||
@openzeppelin/contracts-upgradeable/=lib/royalty-registry-solidity/lib/openzeppelin-contracts-upgradeable/contracts/ | ||
@openzeppelin/contracts/=lib/royalty-registry-solidity/lib/openzeppelin-contracts/contracts/ | ||
@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/ | ||
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/ | ||
create2-helpers/=lib/royalty-registry-solidity/lib/create2-helpers/ | ||
create2-scripts/=lib/royalty-registry-solidity/lib/create2-helpers/script/ | ||
ds-test/=lib/forge-std/lib/ds-test/src/ | ||
erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/ | ||
forge-std/=lib/forge-std/src/ | ||
libraries-solidity/=lib/royalty-registry-solidity/lib/libraries-solidity/contracts/ | ||
openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/ | ||
openzeppelin-contracts/=lib/openzeppelin-contracts/ | ||
openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/ | ||
openzeppelin/=lib/openzeppelin-contracts/contracts/ | ||
royalty-registry-solidity/=lib/royalty-registry-solidity/contracts | ||
tl-sol-tools/=src/ | ||
royalty-registry-solidity/=lib/royalty-registry-solidity/contracts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.20; | ||
|
||
interface IChainalysisSanctionsOracle { | ||
function isSanctioned(address addr) external view returns (bool); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.