Skip to content

Commit

Permalink
chore: change abi and start command of the gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
amine-harty committed Apr 12, 2023
1 parent 253465f commit bb42f83
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN yarn build
FROM node:16.14.2-alpine
WORKDIR /gateway
COPY --from=build /gateway .
CMD yarn start --l2_resolver_address 0xf150B1290CD6d4C47BE262083D712d07F5251DB1 --l1_provider_url https://goerli.infura.io/v3/9ed1bd75f3d14307b365c2270d2ea66f --l2_provider_url https://consensys-zkevm-goerli-prealpha.infura.io/v3/16fff764ff2145c2b137fbe8013730c6
CMD yarn start --l2_resolver_address 0x756877316A15944cb5fE548318DaC094B7E216F2 --l1_provider_url https://goerli.infura.io/v3/dd1ad6c018ec409dabc0a2eb345555a5 --l2_provider_url https://consensys-zkevm-goerli-prealpha.infura.io/v3/dd1ad6c018ec409dabc0a2eb345555a5
32 changes: 16 additions & 16 deletions packages/gateway/abi/IResolverService.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,33 @@
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
"internalType": "bytes",
"name": "name",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "addr",
"name": "resolve",
"outputs": [
{
"components": [
{
"internalType": "uint64",
"name": "nodeIndex",
"type": "uint64"
},
{
"internalType": "bytes32",
"name": "blockHash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "sendRoot",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "encodedBlockArray",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "stateTrieWitness",
"name": "accountProof",
"type": "bytes"
},
{
Expand All @@ -47,7 +42,12 @@
},
{
"internalType": "bytes",
"name": "storageTrieWitness",
"name": "tokenIdStorageProof",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "ownerStorageProof",
"type": "bytes"
}
],
Expand Down
1 change: 0 additions & 1 deletion packages/gateway/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Generated by nginxconfig.io
# https://www.digitalocean.com/community/tools/nginx?domains.0.server.domain=skifamily&domains.0.server.path=%2Fvar%2Fwww%2Fhtml&domains.0.server.documentRoot=&domains.0.server.redirectSubdomains=false&domains.0.https.https=false&domains.0.php.php=false&domains.0.reverseProxy.reverseProxy=true&domains.0.reverseProxy.proxyPass=http%3A%2F%2Fapp%3A1337&domains.0.routing.index=index.html&domains.0.routing.fallbackHtml=true&domains.0.routing.fallbackPhp=false&global.nginx.user=nginx&global.nginx.pid=%2Fvar%2Frun%2Fnginx.pid&global.docker.dockerfile=true&global.docker.dockerCompose=true

user nginx;
pid /var/run/nginx.pid;
Expand Down

0 comments on commit bb42f83

Please sign in to comment.