Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/sdk/typescript/human-protocol-sdk/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ export const NETWORKS: {
chainId: ChainId.LOCALHOST,
title: 'Localhost',
scanUrl: '',
factoryAddress: '0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9',
factoryAddress: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9',
hmtAddress: '0x5FbDB2315678afecb367f032d93F642f64180aa3',
stakingAddress: '0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512',
kvstoreAddress: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9',
kvstoreAddress: '0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0',
subgraphUrl: 'http://localhost:8000/subgraphs/name/humanprotocol/localhost',
subgraphUrlApiKey: '',
oldSubgraphUrl: '',
Expand Down
4 changes: 2 additions & 2 deletions packages/subgraph/human-protocol/config/localhost.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"network": "localhost",
"description": "Human subgraph on localhost",
"EscrowFactory": {
"address": "0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9",
"address": "0xdc64a140aa3e981100a9beca4e685f962f0cf6c9",
"startBlock": 5,
"abi": "../../../node_modules/@human-protocol/core/abis/EscrowFactory.json"
},
Expand All @@ -18,7 +18,7 @@
"abi": "../../../node_modules/@human-protocol/core/abis/Staking.json"
},
"KVStore": {
"address": "0xdc64a140aa3e981100a9beca4e685f962f0cf6c9",
"address": "0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0",
"startBlock": 6,
"abi": "../../../node_modules/@human-protocol/core/abis/KVStore.json"
}
Expand Down
8 changes: 4 additions & 4 deletions scripts/fortune-all-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ check_core_folders() {
deploy_subgraph() {
echo "Waiting for graph node to be healthy..."
retries=0
while ! yarn workspace @tools/subgraph health-local:node
while ! yarn workspace @tools/subgraph-human-protocol health-local:node
do
((retries++))
if [ "$retries" -ge 10 ]; then
Expand All @@ -26,9 +26,9 @@ deploy_subgraph() {

echo "Deploying subgraph..."

NETWORK=localhost yarn workspace @tools/subgraph generate
yarn workspace @tools/subgraph create-local
yarn workspace @tools/subgraph deploy-local
NETWORK=localhost yarn workspace @tools/subgraph-human-protocol generate
yarn workspace @tools/subgraph-human-protocol create-local
yarn workspace @tools/subgraph-human-protocol deploy-local
}

setup_oracles() {
Expand Down
Loading