-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run local sepolia subgraph with dev:full (#69)
* chore: run local goerli subgraph with dev:full We have to run it on goerli as sepolia is not supported by graph-node. Commited goerli changes to subgraph.yaml as it will be set to goerli during development so it could be annoying during development to avoid those changes (and this should help prevent commiting those by mistake). * chore: use sepolia instead of goerli Initially I thought that sepolia is not supported here, but it looks like it works.
- Loading branch information
Showing
9 changed files
with
166 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,13 @@ | |
"url": "[email protected]:snapshot-labs/sx-monorepo.git" | ||
}, | ||
"scripts": { | ||
"dev": "turbo run dev --filter=!mana --filter=!api", | ||
"dev:full": "yarn prepare-services && VITE_MANA_URL=http://localhost:3001 VITE_STARKNET_SEPOLIA_API=http://localhost:3000 NETWORK=SN_SEPOLIA NETWORK_NODE_URL=https://starknet-sepolia.infura.io/v3/46a5dd9727bf48d4a132672d3f376146 turbo run dev", | ||
"dev": "turbo run dev --filter=!mana --filter=!api --filter=!subgraph-api", | ||
"dev:full": "./scripts/dev-full.sh", | ||
"build": "turbo run build", | ||
"test": "turbo run test", | ||
"lint": "turbo run lint", | ||
"typecheck": "turbo run typecheck", | ||
"release": "yarn build && changeset publish", | ||
"prepare-services": "./scripts/prepare-services.sh" | ||
"release": "yarn build && changeset publish" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
echo "Running docker services" | ||
|
||
docker-compose -f `dirname "$0"`/docker-compose.yml up -d | ||
|
||
VITE_MANA_URL=http://localhost:3001 \ | ||
VITE_STARKNET_SEPOLIA_API=http://localhost:3000 \ | ||
VITE_EVM_SEPOLIA_API=http://localhost:8000/subgraphs/name/snapshot-labs/sx-subgraph \ | ||
NETWORK=SN_SEPOLIA \ | ||
NETWORK_NODE_URL=https://starknet-sepolia.infura.io/v3/46a5dd9727bf48d4a132672d3f376146 \ | ||
turbo run dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1249,13 +1249,15 @@ | |
"@floating-ui/utils" "^0.2.1" | ||
vue-demi ">=0.13.0" | ||
|
||
"@graphprotocol/graph-cli@0.50.1": | ||
version "0.50.1" | ||
resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.50.1.tgz#ca44138761e4d111e27c3645dd6bb6ea6e07753e" | ||
integrity sha512-tk3e5NYBwXRuRD1y5+UKTRDv+Hwf3a78qmcpGOpIMjMgIpvDnepApRbqMqxt3Ma/RCRkACp0Kmkt3O5Ey4xlkQ== | ||
"@graphprotocol/graph-cli@0.68.0": | ||
version "0.68.0" | ||
resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.68.0.tgz#30464a75b7341d6c468f7ff3dba01259efff6b78" | ||
integrity sha512-F3l1t+0qfGAGbD3i/3/qDnwZp8z37OE2PmdQdQkbImq1h34Cy8mjRKvc3ZJ4E2G16JkIevqK2rWwTRHcIGMTNA== | ||
dependencies: | ||
"@float-capital/float-subgraph-uncrashable" "^0.0.0-alpha.4" | ||
"@oclif/core" "2.8.4" | ||
"@oclif/core" "2.8.6" | ||
"@oclif/plugin-autocomplete" "^2.3.6" | ||
"@oclif/plugin-not-found" "^2.4.0" | ||
"@whatwg-node/fetch" "^0.8.4" | ||
assemblyscript "0.19.23" | ||
binary-install-raw "0.0.13" | ||
|
@@ -1266,25 +1268,24 @@ | |
dockerode "2.5.8" | ||
fs-extra "9.1.0" | ||
glob "9.3.5" | ||
gluegun "5.1.2" | ||
gluegun "5.1.6" | ||
graphql "15.5.0" | ||
immutable "4.2.1" | ||
ipfs-http-client "55.0.0" | ||
jayson "4.0.0" | ||
js-yaml "3.14.1" | ||
prettier "1.19.1" | ||
request "2.88.2" | ||
prettier "3.0.3" | ||
semver "7.4.0" | ||
sync-request "6.1.0" | ||
tmp-promise "3.0.3" | ||
web3-eth-abi "1.7.0" | ||
which "2.0.2" | ||
yaml "1.10.2" | ||
|
||
"@graphprotocol/graph-ts@0.29.1": | ||
version "0.29.1" | ||
resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.29.1.tgz#8f8fb6815fc4a7470bb8aff8004f032a2639300b" | ||
integrity sha512-GhAP2ijk3cTM0xBjoAFxEmdZbYl1BueCYqAGw5G7UyBX3EV8FWkvD5DMam6IkLGqXasBmelCFrROK3B5t6zVdg== | ||
"@graphprotocol/graph-ts@0.33.0": | ||
version "0.33.0" | ||
resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.33.0.tgz#b918e698f31b31eb1f419f97a595bb60c61e01fc" | ||
integrity sha512-HBUVblHUdjQZ/MEjjYPzVgmh+SiuF9VV0D8KubYfFAtzkqpVJlvdyk+RZTAJUiu8hpyYy0EVIcAnLEPtKlwMGQ== | ||
dependencies: | ||
assemblyscript "0.19.10" | ||
|
||
|
@@ -1910,10 +1911,10 @@ | |
"@nodelib/fs.scandir" "2.1.5" | ||
fastq "^1.6.0" | ||
|
||
"@oclif/[email protected].4": | ||
version "2.8.4" | ||
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.8.4.tgz#7b453be6d4cd060ff4990bc8e31824a1de308354" | ||
integrity sha512-VlFDhoAJ1RDwcpDF46wAlciWTIryapMUViACttY9GwX6Ci6Lud1awe/pC3k4jad5472XshnPQV4bHAl4a/yxpA== | ||
"@oclif/[email protected].6": | ||
version "2.8.6" | ||
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.8.6.tgz#7eb6984108f471ad0d719d3c07cde14c47ab17c5" | ||
integrity sha512-1QlPaHMhOORySCXkQyzjsIsy2GYTilOw3LkjeHkCgsPJQjAT4IclVytJusWktPbYNys9O+O4V23J44yomQvnBQ== | ||
dependencies: | ||
"@types/cli-progress" "^3.11.0" | ||
ansi-escapes "^4.3.2" | ||
|
@@ -1945,6 +1946,58 @@ | |
wordwrap "^1.0.0" | ||
wrap-ansi "^7.0.0" | ||
|
||
"@oclif/core@^2.15.0": | ||
version "2.15.0" | ||
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.15.0.tgz#f27797b30a77d13279fba88c1698fc34a0bd0d2a" | ||
integrity sha512-fNEMG5DzJHhYmI3MgpByTvltBOMyFcnRIUMxbiz2ai8rhaYgaTHMG3Q38HcosfIvtw9nCjxpcQtC8MN8QtVCcA== | ||
dependencies: | ||
"@types/cli-progress" "^3.11.0" | ||
ansi-escapes "^4.3.2" | ||
ansi-styles "^4.3.0" | ||
cardinal "^2.1.1" | ||
chalk "^4.1.2" | ||
clean-stack "^3.0.1" | ||
cli-progress "^3.12.0" | ||
debug "^4.3.4" | ||
ejs "^3.1.8" | ||
get-package-type "^0.1.0" | ||
globby "^11.1.0" | ||
hyperlinker "^1.0.0" | ||
indent-string "^4.0.0" | ||
is-wsl "^2.2.0" | ||
js-yaml "^3.14.1" | ||
natural-orderby "^2.0.3" | ||
object-treeify "^1.1.33" | ||
password-prompt "^1.1.2" | ||
slice-ansi "^4.0.0" | ||
string-width "^4.2.3" | ||
strip-ansi "^6.0.1" | ||
supports-color "^8.1.1" | ||
supports-hyperlinks "^2.2.0" | ||
ts-node "^10.9.1" | ||
tslib "^2.5.0" | ||
widest-line "^3.1.0" | ||
wordwrap "^1.0.0" | ||
wrap-ansi "^7.0.0" | ||
|
||
"@oclif/plugin-autocomplete@^2.3.6": | ||
version "2.3.10" | ||
resolved "https://registry.yarnpkg.com/@oclif/plugin-autocomplete/-/plugin-autocomplete-2.3.10.tgz#787f6208cdfe10ffc68ad89e9e7f1a7ad0e8987f" | ||
integrity sha512-Ow1AR8WtjzlyCtiWWPgzMyT8SbcDJFr47009riLioHa+MHX2BCDtVn2DVnN/E6b9JlPV5ptQpjefoRSNWBesmg== | ||
dependencies: | ||
"@oclif/core" "^2.15.0" | ||
chalk "^4.1.0" | ||
debug "^4.3.4" | ||
|
||
"@oclif/plugin-not-found@^2.4.0": | ||
version "2.4.3" | ||
resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.4.3.tgz#3d24095adb0f3876cb4bcfdfdcb775086cf6d4b5" | ||
integrity sha512-nIyaR4y692frwh7wIHZ3fb+2L6XEecQwRDIb4zbEam0TvaVmBQWZoColQyWA84ljFBPZ8XWiQyTz+ixSwdRkqg== | ||
dependencies: | ||
"@oclif/core" "^2.15.0" | ||
chalk "^4" | ||
fast-levenshtein "^3.0.0" | ||
|
||
"@openzeppelin/merkle-tree@^1.0.5": | ||
version "1.0.6" | ||
resolved "https://registry.yarnpkg.com/@openzeppelin/merkle-tree/-/merkle-tree-1.0.6.tgz#e0e104a187876113a15a1e814b79cdadf0fe7b27" | ||
|
@@ -4153,6 +4206,11 @@ assertion-error@^1.1.0: | |
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" | ||
integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== | ||
|
||
astral-regex@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" | ||
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== | ||
|
||
async-eventemitter@^0.2.2: | ||
version "0.2.4" | ||
resolved "https://registry.yarnpkg.com/async-eventemitter/-/async-eventemitter-0.2.4.tgz#f5e7c8ca7d3e46aab9ec40a292baf686a0bafaca" | ||
|
@@ -4780,7 +4838,7 @@ chalk@^2.1.0, chalk@^2.4.2: | |
escape-string-regexp "^1.0.5" | ||
supports-color "^5.3.0" | ||
|
||
chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.2: | ||
chalk@^4, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2: | ||
version "4.1.2" | ||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" | ||
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== | ||
|
@@ -5679,12 +5737,12 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" | ||
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== | ||
|
||
[email protected].6: | ||
version "3.1.6" | ||
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.6.tgz#5bfd0a0689743bb5268b3550cceeebbc1702822a" | ||
integrity sha512-9lt9Zse4hPucPkoP7FHDF0LQAlGyF9JVpnClFLFH3aSSbxmyoqINRpp/9wePWJTUl4KOQwRL72Iw3InHPDkoGw== | ||
[email protected].8: | ||
version "3.1.8" | ||
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" | ||
integrity sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ== | ||
dependencies: | ||
jake "^10.6.1" | ||
jake "^10.8.5" | ||
|
||
ejs@^3.1.8: | ||
version "3.1.9" | ||
|
@@ -6704,6 +6762,13 @@ fast-levenshtein@^2.0.6: | |
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" | ||
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== | ||
|
||
fast-levenshtein@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-3.0.0.tgz#37b899ae47e1090e40e3fd2318e4d5f0142ca912" | ||
integrity sha512-hKKNajm46uNmTlhHSyZkmToAc56uZJwYq7yrciZjqOxnlfQwERDQJmHPUp7m1m9wx8vgOe8IaCKZ5Kv2k1DdCQ== | ||
dependencies: | ||
fastest-levenshtein "^1.0.7" | ||
|
||
fast-querystring@^1.1.1: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.2.tgz#a6d24937b4fc6f791b4ee31dcb6f53aeafb89f53" | ||
|
@@ -6733,6 +6798,11 @@ fast-url-parser@^1.1.3: | |
dependencies: | ||
punycode "^1.3.2" | ||
|
||
fastest-levenshtein@^1.0.7: | ||
version "1.0.16" | ||
resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" | ||
integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== | ||
|
||
fastq@^1.6.0: | ||
version "1.17.1" | ||
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" | ||
|
@@ -7216,18 +7286,18 @@ globby@^13.2.2: | |
merge2 "^1.4.1" | ||
slash "^4.0.0" | ||
|
||
[email protected].2: | ||
version "5.1.2" | ||
resolved "https://registry.yarnpkg.com/gluegun/-/gluegun-5.1.2.tgz#ffa0beda0fb6bbc089a867157b08602beae2c8cf" | ||
integrity sha512-Cwx/8S8Z4YQg07a6AFsaGnnnmd8mN17414NcPS3OoDtZRwxgsvwRNJNg69niD6fDa8oNwslCG0xH7rEpRNNE/g== | ||
[email protected].6: | ||
version "5.1.6" | ||
resolved "https://registry.yarnpkg.com/gluegun/-/gluegun-5.1.6.tgz#74ec13193913dc610f5c1a4039972c70c96a7bad" | ||
integrity sha512-9zbi4EQWIVvSOftJWquWzr9gLX2kaDgPkNR5dYWbM53eVvCI3iKuxLlnKoHC0v4uPoq+Kr/+F569tjoFbA4DSA== | ||
dependencies: | ||
apisauce "^2.1.5" | ||
app-module-path "^2.2.0" | ||
cli-table3 "0.6.0" | ||
colors "1.4.0" | ||
cosmiconfig "7.0.1" | ||
cross-spawn "7.0.3" | ||
ejs "3.1.6" | ||
ejs "3.1.8" | ||
enquirer "2.3.6" | ||
execa "5.1.1" | ||
fs-jetpack "4.3.1" | ||
|
@@ -8403,7 +8473,7 @@ jackspeak@^2.3.5: | |
optionalDependencies: | ||
"@pkgjs/parseargs" "^0.11.0" | ||
|
||
jake@^10.6.1, jake@^10.8.5: | ||
jake@^10.8.5: | ||
version "10.8.7" | ||
resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" | ||
integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== | ||
|
@@ -10568,10 +10638,10 @@ prettier-linter-helpers@^1.0.0: | |
dependencies: | ||
fast-diff "^1.1.2" | ||
|
||
prettier@1.19.1: | ||
version "1.19.1" | ||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" | ||
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== | ||
prettier@3.0.3: | ||
version "3.0.3" | ||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" | ||
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== | ||
|
||
prettier@^2.7.1: | ||
version "2.8.8" | ||
|
@@ -11059,7 +11129,7 @@ remarkable@^2.0.1: | |
argparse "^1.0.10" | ||
autolinker "^3.11.0" | ||
|
||
request@2.88.2, request@^2.85.0: | ||
request@^2.85.0: | ||
version "2.88.2" | ||
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" | ||
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== | ||
|
@@ -11629,6 +11699,15 @@ slash@^4.0.0: | |
resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" | ||
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== | ||
|
||
slice-ansi@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" | ||
integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== | ||
dependencies: | ||
ansi-styles "^4.0.0" | ||
astral-regex "^2.0.0" | ||
is-fullwidth-code-point "^3.0.0" | ||
|
||
smartwrap@^2.0.2: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/smartwrap/-/smartwrap-2.0.2.tgz#7e25d3dd58b51c6ca4aba3a9e391650ea62698a4" | ||
|