Skip to content

Commit

Permalink
potential fix for ethereumDIDRegistry bug
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmardefago committed Jan 5, 2023
1 parent e62d6a1 commit 61cab6b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions config/addresses.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class Addresses {
subgraphNFT: string
l1GraphTokenGateway: string
l2GraphTokenGateway: string
ethereumDIDRegistry: string
}

// AS compiler does not like const
Expand All @@ -40,4 +41,5 @@ export let addresses: Addresses = {
subgraphNFT: '{{subgraphNFT}}',
l1GraphTokenGateway: '{{l1GraphTokenGateway}}',
l2GraphTokenGateway: '{{l2GraphTokenGateway}}',
ethereumDIDRegistry: '{{ethereumDIDRegistry}}',
}
1 change: 1 addition & 0 deletions config/arbitrumGoerliAddressScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export let addresses: Addresses = {
subgraphNFT: '{{arbgor.SubgraphNFT.address}}',
l1GraphTokenGateway: '',
l2GraphTokenGateway: '{{arbgor.L2GraphTokenGateway.address}}',
ethereumDIDRegistry: '{{arbgor.IEthereumDIDRegistry.address}}',
}

const main = (): void => {
Expand Down
1 change: 1 addition & 0 deletions config/goerliAddressScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export let addresses: Addresses = {
subgraphNFT: '{{goerli.SubgraphNFT.address}}',
l1GraphTokenGateway: '{{goerli.L1GraphTokenGateway.address}}',
l2GraphTokenGateway: '',
ethereumDIDRegistry: '{{goerli.IEthereumDIDRegistry.address}}',
}

const main = (): void => {
Expand Down
1 change: 1 addition & 0 deletions config/mainnetAddressScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export let addresses: Addresses = {
subgraphNFT: '{{mainnet.SubgraphNFT.address}}',
l1GraphTokenGateway: '{{mainnet.L1GraphTokenGateway.address}}',
l2GraphTokenGateway: '',
ethereumDIDRegistry: '{{mainnet.IEthereumDIDRegistry.address}}',
}

const main = (): void => {
Expand Down
1 change: 1 addition & 0 deletions config/mainnetArbitrumAddressScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export let addresses: Addresses = {
subgraphNFT: '{{arbitrum.SubgraphNFT.address}}',
l1GraphTokenGateway: '',
l2GraphTokenGateway: '{{arbitrum.L2GraphTokenGateway.address}}',
ethereumDIDRegistry: '{{arbitrum.IEthereumDIDRegistry.address}}',
}

const main = (): void => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"test": "graph test -v 0.2.0"
},
"devDependencies": {
"@graphprotocol/contracts": "2.1.0",
"@graphprotocol/contracts": "2.2.0",
"@graphprotocol/graph-cli": "^0.25.1",
"@graphprotocol/graph-ts": "^0.24.1",
"@types/node": "^14.0.13",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"

"@graphprotocol/contracts@2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-2.1.0.tgz#c2e9131973af231e3f6f84ada31baebccc77ed48"
integrity sha512-SeymJCUxBp488K/KNi77EKvrkPT0t/7rERGp8zFkmf5KByerjihhE9Ty9oXJAU9RzbUpxsU0JkPBSmiw9/2DYQ==
"@graphprotocol/contracts@2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-2.2.0.tgz#19353a59237bd0769b73770da1fe15d4015ba9e3"
integrity sha512-jC//c6fYjKoUzAVsagUnrBe4rWdMv+FSxu0FMoyNB3wPVrI7qzly1LFB785wteEtHQzWnJPE6+EUMOlxXGMgsA==
dependencies:
console-table-printer "^2.11.1"
ethers "^5.6.0"
Expand Down

0 comments on commit 61cab6b

Please sign in to comment.