Skip to content

Commit

Permalink
Fix subgraph address
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcorbalan committed Apr 6, 2020
1 parent efa8101 commit 4b00d4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
status = 200

[context.production.environment]
REACT_APP_GRAPH_HTTP = "https://api.thegraph.com/subgraphs/name/protofire/makerdao-governance-v1_5"
REACT_APP_GRAPH_WS = "wss://api.thegraph.com/subgraphs/name/protofire/makerdao-governance-v1_5"
REACT_APP_GRAPH_HTTP = "https://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_GRAPH_WS = "wss://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_MKR_GRAPH_HTTP='https://api.thegraph.com/subgraphs/name/protofire/mkr-registry'
REACT_APP_ETHERSCAN_API_KEY='XQ2QTEM7H4KX7AQTE9JWXD3HWTTZ46TTU9'

Expand Down
5 changes: 5 additions & 0 deletions src/components/PollDetails/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ export const getPollDataWithoutBalances = async poll => {
{},
)

console.log(
'mkrVoter',
Object.keys(mkrVoter).map(e => [e, mkrVoter[e].toString()]),
)

const votersPerOption = getPollVotersPerOption(poll)
const mkrOptions = Object.keys(votersPerOption).reduce((acc, op) => {
const voters = votersPerOption[op]
Expand Down

0 comments on commit 4b00d4c

Please sign in to comment.