Skip to content

Commit

Permalink
add testnet light
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed May 6, 2024
1 parent b86a10d commit 7de463e
Show file tree
Hide file tree
Showing 14 changed files with 146 additions and 458 deletions.
2 changes: 1 addition & 1 deletion deploy/test/009_deploy_local_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const func: DeployFunction = async function ({ deployments, network, config }) {

if (fileName.length == 0 || !fs.existsSync(fileName)) {
fileName = network.name + '_deployed.json';
if (network.name == 'pretestnet' || network.name == 'testnet') {
if (network.name == 'testnetlight' || network.name == 'testnet') {
fileName = 'testnet_deployed.json';
}
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const config: HardhatUserConfig = {
chainId: 12345,
deploy: ['deploy/local/'],
},
pretestnet: {
testnetlight: {
url: PRIVATE_RPC_TESTNET ? PRIVATE_RPC_TESTNET : 'https://1rpc.io/sepolia',
accounts,
chainId: 11155111,
Expand Down Expand Up @@ -193,7 +193,7 @@ const config: HardhatUserConfig = {
mainnet: mainnetEtherscanKey || '',
sepolia: mainnetEtherscanKey || '',
testnet: testnetEtherscanKey || '',
pretestnet: testnetEtherscanKey || '',
testnetlight: testnetEtherscanKey || '',
},
customChains: [
{
Expand All @@ -205,7 +205,7 @@ const config: HardhatUserConfig = {
},
},
{
network: 'pretestnet',
network: 'testnetlight',
chainId: 11155111,
urls: {
apiURL: 'https://api-sepolia.etherscan.io/api',
Expand Down
2 changes: 1 addition & 1 deletion helper-hardhat-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const networkConfig: networkConfigInfo = {
localhost: { swarmNetworkId: 0, multisig: '0x62cab2b3b55f341f10348720ca18063cdb779ad5' },
hardhat: { swarmNetworkId: 0, multisig: '0x62cab2b3b55f341f10348720ca18063cdb779ad5' },
localcluster: { swarmNetworkId: 0, multisig: '0x62cab2b3b55f341f10348720ca18063cdb779ad5' },
pretestnet: {
testnetlight: {
blockConfirmations: 6,
swarmNetworkId: 333,
multisig: '0xb1C7F17Ed88189Abf269Bf68A3B2Ed83C5276aAe',
Expand Down
32 changes: 16 additions & 16 deletions testnet_deployed.json

Large diffs are not rendered by default.

0 comments on commit 7de463e

Please sign in to comment.