diff --git a/.env.example b/.env.example
index aa5efdc2..fe295b73 100644
--- a/.env.example
+++ b/.env.example
@@ -1,7 +1,7 @@
MAINNET_RPC=
MAINNET_DEPLOYER_PK=
-GOERLI_RPC=
-GOERLI_DEPLOYER_PK=
+SEPOLIA_RPC=
+SEPOLIA_DEPLOYER_PK=
ETHERSCAN_API_KEY=
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1d2f6a6c..24c3ea04 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -61,7 +61,7 @@ jobs:
run: |
touch .env
echo MAINNET_RPC="${{ secrets.MAINNET_RPC }}" >> .env
- echo GOERLI_RPC="${{ secrets.GOERLI_RPC }}" >> .env
+ echo SEPOLIA_RPC="${{ secrets.SEPOLIA_RPC }}" >> .env
cat .env
- name: Run tests
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..99dd94e2
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,8 @@
+The MIT License (MIT)
+Copyright © 2023 Wonderland
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 903f1fb7..064ef1a1 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@
Deployment scripts
Sample scripts to deploy contracts on both mainnet and testnet.
- Sample Integraion & Unit tests
+ Sample Integration & Unit tests
Example tests showcasing mocking, assertions and configuration for mainnet forking. As well it includes everything needed in order to check code coverage.
Linter
@@ -91,10 +91,10 @@ yarn coverage
Configure the `.env` variables.
-### Goerli
+### Sepolia
```bash
-yarn deploy:goerli
+yarn deploy:sepolia
```
### Mainnet
@@ -140,3 +140,6 @@ Also, remember to update the `package_name` param to your package name:
```
You can take a look at our [solidity-exporter-action](https://github.com/defi-wonderland/solidity-exporter-action) repository for more information and usage examples.
+
+## Licensing
+The primary license for the boilerplate is MIT, see [`LICENSE`](https://github.com/defi-wonderland/solidity-foundry-boilerplate/blob/main/LICENSE)
\ No newline at end of file
diff --git a/foundry.toml b/foundry.toml
index d3d0bd20..4529d0bb 100644
--- a/foundry.toml
+++ b/foundry.toml
@@ -9,7 +9,7 @@ multiline_func_header = 'params_first'
sort_imports = true
[profile.default]
-solc_version = '0.8.19'
+solc_version = '0.8.23'
src = 'solidity'
test = 'solidity/test'
out = 'out'
diff --git a/package.json b/package.json
index 8765fdc3..7b8f0ad7 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"coverage": "forge coverage --match-contract Unit",
- "deploy:goerli": "bash -c 'source .env && forge script DeployGoerli --rpc-url $GOERLI_RPC --broadcast --private-key $GOERLI_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
+ "deploy:sepolia": "bash -c 'source .env && forge script DeploySepolia --rpc-url $SEPOLIA_RPC --broadcast --private-key $SEPOLIA_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"deploy:mainnet": "bash -c 'source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC --broadcast --private-key $MAINNET_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"lint:check": "yarn lint:sol-tests && yarn lint:sol-logic && forge fmt --check",
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol-tests --fix && yarn lint:sol-logic --fix",
diff --git a/solidity/contracts/Greeter.sol b/solidity/contracts/Greeter.sol
index 3c517ae1..d2a8137c 100644
--- a/solidity/contracts/Greeter.sol
+++ b/solidity/contracts/Greeter.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {IGreeter} from 'interfaces/IGreeter.sol';
import {IERC20} from 'isolmate/interfaces/tokens/IERC20.sol';
diff --git a/solidity/interfaces/IGreeter.sol b/solidity/interfaces/IGreeter.sol
index 10877023..50565cc3 100644
--- a/solidity/interfaces/IGreeter.sol
+++ b/solidity/interfaces/IGreeter.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {IERC20} from 'isolmate/interfaces/tokens/IERC20.sol';
diff --git a/solidity/scripts/Deploy.sol b/solidity/scripts/Deploy.sol
index 629ac029..a9b697d5 100644
--- a/solidity/scripts/Deploy.sol
+++ b/solidity/scripts/Deploy.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {Greeter} from 'contracts/Greeter.sol';
import {Script} from 'forge-std/Script.sol';
@@ -21,7 +21,7 @@ contract DeployMainnet is Deploy {
}
}
-contract DeployGoerli is Deploy {
+contract DeploySepolia is Deploy {
function run() external {
IERC20 weth = IERC20(0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6);
diff --git a/solidity/test/integration/Greeter.t.sol b/solidity/test/integration/Greeter.t.sol
index 674b07d1..6793c8aa 100644
--- a/solidity/test/integration/Greeter.t.sol
+++ b/solidity/test/integration/Greeter.t.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {IntegrationBase} from 'test/integration/IntegrationBase.sol';
diff --git a/solidity/test/integration/IntegrationBase.sol b/solidity/test/integration/IntegrationBase.sol
index 656d1e0b..e5c26e87 100644
--- a/solidity/test/integration/IntegrationBase.sol
+++ b/solidity/test/integration/IntegrationBase.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {Greeter, IGreeter} from 'contracts/Greeter.sol';
import {Test} from 'forge-std/Test.sol';
diff --git a/solidity/test/unit/Greeter.t.sol b/solidity/test/unit/Greeter.t.sol
index c2f51b29..7714bf4d 100644
--- a/solidity/test/unit/Greeter.t.sol
+++ b/solidity/test/unit/Greeter.t.sol
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
-pragma solidity =0.8.19;
+pragma solidity =0.8.23;
import {Greeter, IGreeter} from 'contracts/Greeter.sol';
import {Test} from 'forge-std/Test.sol';