Skip to content

Commit

Permalink
Merge pull request #1 from edgeandnode/juanmardefago/billing-improvem…
Browse files Browse the repository at this point in the history
…ents

Add DailyData entities to the subgraph and other improvements
  • Loading branch information
juanmardefago authored Apr 19, 2022
2 parents d3093cd + 7b597c6 commit 1bcf429
Show file tree
Hide file tree
Showing 13 changed files with 5,055 additions and 10,805 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Matchstick unit tests

on: push

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
# Install commands
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: https://registry.npmjs.org
- name: yarn add ts-node
run: yarn add ts-node
- name: yarn
run: yarn
# Run tests
- name: Run Graph unit tests
run: yarn test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
build/

generated/
.bin/
node_modules/
src/types/
.DS_STORE
yarn-error.log
subgraph.yaml
config/addresses.ts
config/generatedAddresses.json
config/generatedAddresses.json
9 changes: 6 additions & 3 deletions config/mainnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"network": "matic",
"blockNumber": 16375500,
"addressBilling": "0xa382f75b375d6a07bfd1af99d4383c6e1d1c4004",
"addressGRT": "0x5fe2B58c013d7601147DcdD68C143A77499f5531"
"blockNumber": 17803962,
"addressBilling": "0x10829DB618E6F520Fa3A01c75bC6dDf8722fA9fE",
"addressGRT": "0x5fe2B58c013d7601147DcdD68C143A77499f5531",
"blockNumberOld": 16375500,
"addressBillingOld": "0xa382f75b375d6a07bfd1af99d4383c6e1d1c4004",
"useOld": true
}
5 changes: 3 additions & 2 deletions config/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"network": "mumbai",
"blockNumber": 14933000,
"addressBilling": "0xccbCD50214832EA50C426631187b0b646615E92f",
"addressGRT": "0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1"
}
"addressGRT": "0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1",
"useOld": false
}
Loading

0 comments on commit 1bcf429

Please sign in to comment.