Follow the instructions here to deploy a subgraph locally. Make sure to change the Subscriptios periodDuration in the deploy config file to a small value, for instance 1.
Go to aragon-court repo and open a console with truffle console --network rpc, but first make sure you have MiniMe token handy, for instance by doing:
To test this PR:
Follow the instructions here to deploy a subgraph locally. Make sure to change the Subscriptios
periodDuration
in the deploy config file to a small value, for instance1
.Go to aragon-court repo and open a console with
truffle console --network rpc
, but first make sure you have MiniMe token handy, for instance by doing:Also make sure you are in
master
branch, to have the old version, and just in case:In the console run the following commands to feed some data to the old subscriptions module:
Make sure you let some time go by to increase the periods, and keep running the
heartbeat
s. Then you can repeat the donations and claims.Now close the console and get the new Subscriptions module:
Open the console again and run:
Again, you can do several donations and AppFee payments.
Finally, go to the Graph dashboard and check that everything matches with this query: