Skip to content

Commit

Permalink
Merge pull request #107 from ethereum-attestation-service/polygon-mumbai
Browse files Browse the repository at this point in the history
Deploy to Polygon Mumbai
  • Loading branch information
lbeder authored Oct 21, 2023
2 parents fe32780 + 9cdb1a1 commit 9df0f78
Show file tree
Hide file tree
Showing 20 changed files with 6,499 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ETHEREUM_SEPOLIA_PROVIDER_URL=
ETHEREUM_OPTIMISM_GOERLI_PROVIDER_URL=
ETHEREUM_BASE_GOERLI_PROVIDER_URL=
ETHEREUM_ARBITRUM_GOERLI_PROVIDER_URL=
ETHEREUM_POLYGON_MUMBAI_PROVIDER_URL=
ETHEREUM_LINEA_GOERLI_PROVIDER_URL=
ETHERSCAN_API_KEY=
MAX_FEE=
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ deployments/sepolia/solcInputs/*
deployments/optimism-goerli/solcInputs/*
deployments/base-goerli/solcInputs/*
deployments/arbitrum-goerli/solcInputs/*
deployments/polygon-mumbai/solcInputs/*
deployments/linea-goerli/solcInputs/*
deployments/hardhat/*

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ Version v1.1.0:
* Contract: [0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797](https:/goerli.arbiscan.io/address/0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797)
* Deployment and ABI: [SchemaRegistry.json](./deployments/arbitrum-goerli/SchemaRegistry.json)

#### Polygon Mumbai

Version v1.2.0:

* **EAS**:
* Contract: [0xaEF4103A04090071165F78D45D83A0C0782c2B2a](https://mumbai.polygonscan.com/address/0xaEF4103A04090071165F78D45D83A0C0782c2B2a)
* Deployment and ABI: [EAS.json](./deployments/polygon-mumbai/EAS.json)
* **SchemaRegistry**:
* Contract: [0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797](https://mumbai.polygonscan.com/address/0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797)
* Deployment and ABI: [SchemaRegistry.json](./deployments/polygon-mumbai/SchemaRegistry.json)

#### Linea Goerli

Version v1.2.0:
Expand Down
5 changes: 5 additions & 0 deletions data/NamedAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ const arbitrumGoerli = (address: string) => ({
[DeploymentNetwork.ArbitrumGoerli]: address
});

const polygonMumbai = (address: string) => ({
[DeploymentNetwork.PolygonMumbai]: address
});

const lineaGoerli = (address: string) => ({
[DeploymentNetwork.LineaGoerli]: address
});
Expand All @@ -59,6 +63,7 @@ export const NamedAccounts = {
...optimismGoerli(deployer),
...baseGoerli(deployer),
...arbitrumGoerli(deployer),
...polygonMumbai(deployer),
...lineaGoerli(deployer)
}
};
2 changes: 1 addition & 1 deletion deploy/scripts/000003-register-initial-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { DeployFunction } from 'hardhat-deploy/types';
import { HardhatRuntimeEnvironment } from 'hardhat/types';
import { ZERO_ADDRESS } from '../../utils/Constants';
import { execute, InstanceName, setDeploymentMetadata } from '../../utils/Deploy';
import Logger from '../../utils/Logger';
import { getSchemaUID } from '../../utils/EAS';
import Logger from '../../utils/Logger';

export const SCHEMAS = [
{ schema: 'bytes32 schemaId,string name', name: 'Name a Schema' },
Expand Down
1 change: 1 addition & 0 deletions deployments/polygon-mumbai/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
80001
8 changes: 8 additions & 0 deletions deployments/polygon-mumbai/.migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"000001-registry": 1697837753,
"000002-eas": 1697837767,
"000003-register-initial-schemas": 1697838116,
"000004-name-initial-schemas": 1697839724,
"000005-eip712-proxy": 1697839733,
"000100-test-seed": 1697839830
}
Loading

0 comments on commit 9df0f78

Please sign in to comment.