Skip to content

Commit

Permalink
feat: updated EBO keys with latest rotation (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmardefago authored Jun 2, 2023
1 parent f3207dc commit 9c73f0a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@
{ "entry": "RegisterNetworksMessage" },
{ "entry": "ChangePermissionsMessage", "lastEntry": true }
],
"validThrough": "23200000"
},
{
"address": "0x1e7f07543b873f4c43c03e44b6ded4674079fecb",
"permissions": [
{ "entry": "SetBlockNumbersForEpochMessage" },
{ "entry": "CorrectEpochsMessage" },
{ "entry": "ResetStateMessage" },
{ "entry": "UpdateVersionsMessage" },
{ "entry": "RegisterNetworksMessage" },
{ "entry": "ChangePermissionsMessage", "lastEntry": true }
],
"validThrough": "0"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
{ "entry": "CorrectEpochsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "97000000"
},
{
"address": "0x5f49491e965895ded343af13389ee45ef60ed793",
"permissions": [
{ "entry": "SetBlockNumbersForEpochMessage" },
{ "entry": "CorrectEpochsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "0"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@
{ "entry": "ChangePermissionsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "9092502"
},
{
"address": "0x9aea497c4018029c3391eb85b8bf25b93f7815a6",
"permissions": [
{ "entry": "SetBlockNumbersForEpochMessage" },
{ "entry": "CorrectEpochsMessage" },
{ "entry": "UpdateVersionsMessage" },
{ "entry": "RegisterNetworksMessage" },
{ "entry": "ChangePermissionsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "0"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
{ "entry": "CorrectEpochsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "17372000"
},
{
"address": "0x080a2def232eee37f49f45d68a81e8eea14c2e05",
"permissions": [
{ "entry": "SetBlockNumbersForEpochMessage" },
{ "entry": "CorrectEpochsMessage" },
{ "entry": "ResetStateMessage", "lastEntry": true }
],
"validThrough": "0"
},
{
Expand Down
16 changes: 8 additions & 8 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"codegen": "yarn && graph codegen",
"test": "yarn && yarn prep:test && yarn codegen && graph test",
"build": "yarn && yarn prepare && graph build",
"deploy": "yarn && yarn prep:prod && yarn codegen && graph build --network mainnet && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/mainnet-epoch-block-oracle",
"deploy-l2": "yarn && yarn prep:prod-l2 && yarn codegen && graph build --network arbitrum-one && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/arbitrum-epoch-block-oracle",
"deploy-staging": "yarn && yarn prep:staging && yarn codegen && graph build --network goerli && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/goerli-epoch-block-oracle",
"deploy-staging-l2": "yarn && yarn prep:staging-l2 && yarn codegen && graph build --network arbitrum-goerli && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/arb-goerli-epoch-block-oracle",
"deploy-mainnet": "yarn && yarn prep:mainnet && yarn codegen && graph build --network mainnet && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/mainnet-epoch-block-oracle",
"deploy-arbitrum": "yarn && yarn prep:arbitrum && yarn codegen && graph build --network arbitrum-one && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/arbitrum-epoch-block-oracle",
"deploy-goerli": "yarn && yarn prep:goerli && yarn codegen && graph build --network goerli && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/goerli-epoch-block-oracle",
"deploy-arbitrum-goerli": "yarn && yarn prep:arbitrum-goerli && yarn codegen && graph build --network arbitrum-goerli && graph deploy --node https://api.thegraph.com/deploy/ graphprotocol/arb-goerli-epoch-block-oracle",
"create-local": "graph create --node http://127.0.0.1:8020/ edgeandnode/block-oracle",
"remove-local": "graph remove --node http://127.0.0.1:8020/ edgeandnode/block-oracle",
"deploy-local": "yarn codegen && graph deploy --node http://127.0.0.1:8020/ --ipfs http://localhost:${IPFS_PORT} edgeandnode/block-oracle --version-label 0.1.0",
"prep:local": "mustache ./config/local.json subgraph.template.yaml > subgraph.yaml && mustache ./config/local.json src/constants.template.ts > src/constants.ts",
"prep:test": "mustache ./config/test.json subgraph.template.yaml > subgraph.yaml && mustache ./config/test.json src/constants.template.ts > src/constants.ts",
"prep:prod": "mustache ./config/prod.json subgraph.template.yaml > subgraph.yaml && mustache ./config/prod.json src/constants.template.ts > src/constants.ts",
"prep:prod-l2": "mustache ./config/prod-l2.json subgraph.template.yaml > subgraph.yaml && mustache ./config/prod-l2.json src/constants.template.ts > src/constants.ts",
"prep:staging": "mustache ./config/staging.json subgraph.template.yaml > subgraph.yaml && mustache ./config/staging.json src/constants.template.ts > src/constants.ts",
"prep:staging-l2": "mustache ./config/staging-l2.json subgraph.template.yaml > subgraph.yaml && mustache ./config/staging-l2.json src/constants.template.ts > src/constants.ts"
"prep:mainnet": "mustache ./config/mainnet.json subgraph.template.yaml > subgraph.yaml && mustache ./config/mainnet.json src/constants.template.ts > src/constants.ts",
"prep:arbitrum": "mustache ./config/arbitrum.json subgraph.template.yaml > subgraph.yaml && mustache ./config/arbitrum.json src/constants.template.ts > src/constants.ts",
"prep:goerli": "mustache ./config/goerli.json subgraph.template.yaml > subgraph.yaml && mustache ./config/goerli.json src/constants.template.ts > src/constants.ts",
"prep:arbitrum-goerli": "mustache ./config/arbitrum-goerli.json subgraph.template.yaml > subgraph.yaml && mustache ./config/arbitrum-goerli.json src/constants.template.ts > src/constants.ts"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.37.6",
Expand Down

0 comments on commit 9c73f0a

Please sign in to comment.