Skip to content

Commit

Permalink
add chain 314, Filecoin mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadorin authored and kuzdogan committed Jul 6, 2023
1 parent a7b349b commit 6c58f9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
"https://blockscout.com/xdai/optimism/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex("/xdai/optimism"),
},
"314": {
supported: true,
monitored: false,
},
"137": {
supported: true,
monitored: true,
Expand Down
9 changes: 9 additions & 0 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,15 @@ describe("Test Supported Chains", function () {
"shared/1_Storage.metadata.json"
);

// Filecoin Mainnet
verifyContract(
"0x23396626F2C9c0b31cC6C2729172103961Ae2A26",
"314",
"Filecoin Mainnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);

// Finally check if all the "supported: true" chains have been tested
it("should have tested all supported chains", function (done) {
if (newAddedChainId) {
Expand Down

0 comments on commit 6c58f9e

Please sign in to comment.