Skip to content

Commit 4aad25e

Browse files
committed
➕ Add Sei Test and Main Network Configurations
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 61a36fa commit 4aad25e

5 files changed

Lines changed: 316 additions & 300 deletions

File tree

.github/workflows/test-contracts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ jobs:
135135
- name: Set up LCOV
136136
uses: hrishikesh-kadam/setup-lcov@v1
137137
with:
138-
ref: v2.3
138+
ref: v2.3.1
139139

140140
- name: Run coverage
141141
run: |
142142
echo '```' >> $GITHUB_STEP_SUMMARY
143-
NO_COLOR=1 forge coverage --report summary --report lcov --lcov-version 2.3 >> $GITHUB_STEP_SUMMARY
143+
NO_COLOR=1 forge coverage --report summary --report lcov --lcov-version 2.3.1 >> $GITHUB_STEP_SUMMARY
144144
echo '```' >> $GITHUB_STEP_SUMMARY
145145
env:
146146
FOUNDRY_PROFILE: default
@@ -159,7 +159,7 @@ jobs:
159159
lcov-file: ./lcov.info
160160
github-token: ${{ secrets.GITHUB_TOKEN }}
161161

162-
# The following steps act as a temporary workaround, as LCOV `2.3` is not yet supported
162+
# The following steps act as a temporary workaround, as LCOV `2.3.1` is not yet supported
163163
# in `zgosalvez/github-actions-report-lcov@v4`: https://github.com/zgosalvez/github-actions-report-lcov/issues/168.
164164
- name: Set up LCOV `1.16`
165165
run: |

contracts/lib/forge-std

hardhat.config.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,11 +710,20 @@ const config: HardhatUserConfig = {
710710
accounts,
711711
ledgerAccounts,
712712
},
713-
seiTestnet: {
713+
seiDevnet: {
714714
chainId: 713715,
715-
url: vars.get("SEI_TESTNET_URL", "https://evm-rpc-arctic-1.sei-apis.com"),
715+
url: vars.get("SEI_DEVNET_URL", "https://evm-rpc-arctic-1.sei-apis.com"),
716+
accounts,
717+
},
718+
seiTestnet: {
719+
chainId: 1328,
720+
url: vars.get("SEI_TESTNET_URL", "https://evm-rpc-testnet.sei-apis.com"),
721+
accounts,
722+
},
723+
seiMain: {
724+
chainId: 1329,
725+
url: vars.get("SEI_MAINNET_URL", "https://evm-rpc.sei-apis.com"),
716726
accounts,
717-
ledgerAccounts,
718727
},
719728
xlayerTestnet: {
720729
chainId: 195,

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@
127127
"deploy:metismain": "npx hardhat run --network metisMain scripts/deploy.ts",
128128
"deploy:modetestnet": "npx hardhat run --network modeTestnet scripts/deploy.ts",
129129
"deploy:modemain": "npx hardhat run --network modeMain scripts/deploy.ts",
130-
"deploy:seitestnet": "npx hardhat run --network seiTestnet scripts/deploy.ts",
130+
"deploy:seidevnet": "npx hardhat run --no-compile --network seiDevnet scripts/deploy.ts",
131+
"deploy:seitestnet": "npx hardhat run --no-compile --network seiTestnet scripts/deploy.ts",
132+
"deploy:seimain": "npx hardhat run --no-compile --network seiMain scripts/deploy.ts",
131133
"deploy:xlayertestnet": "npx hardhat run --network xlayerTestnet scripts/deploy.ts",
132134
"deploy:xlayermain": "npx hardhat run --network xlayerMain scripts/deploy.ts",
133135
"deploy:bobtestnet": "npx hardhat run --network bobTestnet scripts/deploy.ts",
@@ -234,17 +236,17 @@
234236
"@typechain/hardhat": "^9.1.0",
235237
"@types/chai": "^4.3.20",
236238
"@types/mocha": "^10.0.10",
237-
"@types/node": "^22.14.1",
239+
"@types/node": "^22.15.2",
238240
"chai": "^4.5.0",
239241
"eslint": "^9.25.1",
240242
"eslint-config-prettier": "^10.1.2",
241-
"ethers": "^6.13.5",
243+
"ethers": "^6.13.7",
242244
"hardhat": "^2.23.0",
243245
"hardhat-abi-exporter": "^2.11.0",
244246
"hardhat-contract-sizer": "^2.10.0",
245247
"hardhat-gas-reporter": "^2.2.3",
246248
"prettier": "^3.5.3",
247-
"prettier-plugin-solidity": "^1.4.2",
249+
"prettier-plugin-solidity": "^1.4.3",
248250
"solhint": "^5.0.5",
249251
"solidity-coverage": "^0.8.15",
250252
"ts-node": "^10.9.2",

0 commit comments

Comments
 (0)