Skip to content

Commit 5ef06ce

Browse files
committed
fix: rename avalancheFuji to avalancheFujiTestnet and update related configurations
1 parent e00141d commit 5ef06ce

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

hardhat.config.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ const config: HardhatUserConfig = {
175175
},
176176
},
177177
// Add Fuji as a network
178-
avalancheFuji: {
178+
avalancheFujiTestnet: {
179179
url: process.env.FUJI_RPC_URL || 'https://api.avax-test.network/ext/bc/C/rpc',
180180
accounts: [
181-
process.env.DEV_PRIVATE_KEY ||
181+
process.env.PRIVATE_KEY ||
182182
'0x0000000000000000000000000000000000000000000000000000000000000000',
183183
],
184184
...fujiBaseConfig,
@@ -187,7 +187,7 @@ const config: HardhatUserConfig = {
187187
arbitrumSepolia: {
188188
url: process.env.ARBITRUM_SEPOLIA_RPC_URL || 'https://sepolia-rollup.arbitrum.io/rpc',
189189
accounts: [
190-
process.env.DEV_PRIVATE_KEY ||
190+
process.env.PRIVATE_KEY ||
191191
'0x0000000000000000000000000000000000000000000000000000000000000000',
192192
],
193193
...arbitrumSepoliaBaseConfig,
@@ -204,7 +204,7 @@ const config: HardhatUserConfig = {
204204
chainId: 134,
205205
url: 'https://bellecour.iex.ec',
206206
accounts: [
207-
process.env.PROD_PRIVATE_KEY ||
207+
process.env.PRIVATE_KEY ||
208208
'0x0000000000000000000000000000000000000000000000000000000000000000',
209209
],
210210
...bellecourBaseConfig,
@@ -219,7 +219,7 @@ const config: HardhatUserConfig = {
219219
etherscan: {
220220
apiKey: {
221221
mainnet: process.env.ETHERSCAN_API_KEY || '',
222-
avalancheFuji: 'nothing', // a non-empty string is needed by the plugin.
222+
avalancheFujiTestnet: 'nothing', // a non-empty string is needed by the plugin.
223223
arbitrumSepolia: process.env.ARBISCAN_API_KEY || '',
224224
viviani: 'nothing', // a non-empty string is needed by the plugin.
225225
bellecour: 'nothing', // a non-empty string is needed by the plugin.
@@ -243,6 +243,9 @@ const config: HardhatUserConfig = {
243243
},
244244
],
245245
},
246+
sourcify: {
247+
enabled: true,
248+
},
246249
typechain: {
247250
outDir: 'typechain',
248251
},
@@ -316,7 +319,7 @@ task('test').setAction(async (taskArgs: any, hre, runSuper) => {
316319
networkName = 'arbitrumSepolia';
317320
deploymentsCopied = await copyDeployments(networkName);
318321
} else if (process.env.FUJI_FORK === 'true') {
319-
networkName = 'avalancheFuji';
322+
networkName = 'avalancheFujiTestnet';
320323
deploymentsCopied = await copyDeployments(networkName);
321324
}
322325
await runSuper(taskArgs);

0 commit comments

Comments
 (0)