Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [x] `IexecPoco2Delegate.sol`

### Features
- Fix new testnets chain name (#217)
- Deploy on new testnet chains using CreateX factory (#216)
- Add CreateX factory for new chain deployment (#215)
- Support Arbitrum & Avalanche Fuji testnets (#215)
Expand Down
10 changes: 5 additions & 5 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const config: HardhatUserConfig = {
},
},
// Add Fuji as a network
avalancheFujiTestnet: {
avalancheFuji: {
url: process.env.FUJI_RPC_URL || 'https://api.avax-test.network/ext/bc/C/rpc',
accounts: [
process.env.DEV_PRIVATE_KEY ||
Expand All @@ -184,7 +184,7 @@ const config: HardhatUserConfig = {
...fujiBaseConfig,
},
// Add Arbitrum Sepolia as a network
'arbitrum-sepolia': {
arbitrumSepolia: {
url: process.env.ARBITRUM_SEPOLIA_RPC_URL || 'https://sepolia-rollup.arbitrum.io/rpc',
accounts: [
process.env.DEV_PRIVATE_KEY ||
Expand Down Expand Up @@ -219,7 +219,7 @@ const config: HardhatUserConfig = {
etherscan: {
apiKey: {
mainnet: process.env.ETHERSCAN_API_KEY || '',
avalancheFujiTestnet: 'nothing', // a non-empty string is needed by the plugin.
avalancheFuji: 'nothing', // a non-empty string is needed by the plugin.
arbitrumSepolia: process.env.ARBISCAN_API_KEY || '',
viviani: 'nothing', // a non-empty string is needed by the plugin.
bellecour: 'nothing', // a non-empty string is needed by the plugin.
Expand Down Expand Up @@ -313,10 +313,10 @@ task('test').setAction(async (taskArgs: any, hre, runSuper) => {
let networkName = '';
try {
if (process.env.ARBITRUM_SEPOLIA_FORK === 'true') {
networkName = 'arbitrum-sepolia';
networkName = 'arbitrumSepolia';
deploymentsCopied = await copyDeployments(networkName);
} else if (process.env.FUJI_FORK === 'true') {
networkName = 'avalancheFujiTestnet';
networkName = 'avalancheFuji';
deploymentsCopied = await copyDeployments(networkName);
}
await runSuper(taskArgs);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"check-storage-layout": "npx hardhat run scripts/check-storage.ts",
"clean": "rm -rf deployments/hardhat",
"test": "npm run clean && REPORT_GAS=true npx hardhat test",
"test:arbitrum-sepolia": "npm run clean && ARBITRUM_SEPOLIA_FORK=true npx hardhat test",
"test:fuji": "npm run clean && FUJI_FORK=true npx hardhat test",
"test:arbitrumSepolia": "npm run clean && ARBITRUM_SEPOLIA_FORK=true npx hardhat test",
"test:avalancheFuji": "npm run clean && FUJI_FORK=true npx hardhat test",
"test:native": "npm run clean && TEST__IS_NATIVE_CHAIN=true npx hardhat test test/byContract/IexecEscrow/IexecEscrowNative.test.ts",
"coverage": "npx hardhat coverage",
"verify": "npx hardhat verify",
Expand Down