Skip to content

Commit

Permalink
Add chain 7672 (#988)
Browse files Browse the repository at this point in the history
* Update chains

* Add chain 7672

* Test contracts for chain 7672

* Redeploy immutable contract with correct compiler

* Revert "Update chains"

This reverts commit 77ea8de.

* Redeploy Immutable contract
  • Loading branch information
aidan-starke authored Apr 27, 2023
1 parent 3cf5a86 commit 70e13de
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
contractFetchAddress: "https://explorer.rootnet.live/" + ETHERSCAN_SUFFIX,
txRegex: ETHERSCAN_REGEX,
},
"7672": {
// The Root Network Porcini (Testnet)
supported: true,
monitored: false,
contractFetchAddress: "https://explorer.rootnet.cloud/" + ETHERSCAN_SUFFIX,
txRegex: ETHERSCAN_REGEX,
},
"421611": {
// Arbitrum Rinkeby Testnet
supported: false,
Expand Down
19 changes: 18 additions & 1 deletion test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,6 @@ describe("Test Supported Chains", function () {
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);

verifyContractWithImmutables(
"0x0E23Ac3B13094CDe8667C7B2aAC3900781d7b2c1",
"999",
Expand Down Expand Up @@ -1408,6 +1407,24 @@ describe("Test Supported Chains", function () {
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

// The Root Network Porcini (Testnet)
verifyContract(
"0x225F2cD344c61152F8E7200E62e03dEfD683f2c4",
"7672",
"The Root Network Porcini",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0x02d491918df0dC0BDB9974b61e2CDBDaB81d1e48",
"7672",
"The Root Network Porcini",
["uint256"],
[7672],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

//////////////////////
// Helper functions //
Expand Down

0 comments on commit 70e13de

Please sign in to comment.