Skip to content

Commit

Permalink
Merge pull request #127 from protofire/add_linea_goerli
Browse files Browse the repository at this point in the history
Add linea goerli
  • Loading branch information
auryn-macmillan committed Jul 21, 2023
2 parents 077e773 + 6ad36f8 commit 99beaac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ export default {
...sharedNetworkConfig,
url: "https://bsc-dataseed.binance.org",
},
lineaGoerli: {
...sharedNetworkConfig,
url: `https://linea-goerli.infura.io/v3/${INFURA_KEY}`,
},
},
namedAccounts: {
deployer: 0,
Expand Down
2 changes: 2 additions & 0 deletions sdk/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export enum SupportedNetworks {
Avalanche = 43114,
BinanceSmartChain = 56,
HardhatNetwork = 31337,
LineaGoerli = 59140,
}

// const canonicalMasterCopyAddress = (contract: KnownContracts) => {
Expand Down Expand Up @@ -215,6 +216,7 @@ export const ContractVersions: Record<
"1.2.0": "0xEF8b46765ae805537053C59f826C3aD61924Db45",
},
},
[SupportedNetworks.LineaGoerli]: CanonicalAddresses,
};

/** Addresses of the head versions of all contracts */
Expand Down

0 comments on commit 99beaac

Please sign in to comment.