Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fe9f229
fix: adjustment flow rate & pool member total amount received
kasparkallas Mar 10, 2025
2c33bec
fix poolTotalAmountDistributedUntilUpdatedAt
kasparkallas Mar 10, 2025
5b24a6b
fix totalNumberOfActivePools
kasparkallas Mar 10, 2025
5f193d7
fix totalSubscriptionsWithUnits
kasparkallas Mar 10, 2025
c42a06d
version bump & changelog
kasparkallas Mar 10, 2025
7cf07f3
changelog
kasparkallas Mar 10, 2025
58f4653
update deps
kasparkallas Mar 10, 2025
ea3eb26
downgrade @graphprotocol/graph-cli
kasparkallas Mar 11, 2025
d839e09
updated flake.lock
d10r Apr 11, 2025
0056560
Merge branch 'dev' into 2025-03-10-subgraph-updates
hellwolf Apr 11, 2025
ec66ad2
use declarative eth calls
kasparkallas Apr 16, 2025
0599b12
fix liquidation declared eth calls
kasparkallas Apr 16, 2025
b7a5d8c
dont update unnecessarily
kasparkallas Apr 16, 2025
ebc8ebe
add one more declared call
kasparkallas Apr 16, 2025
22223af
optimize creating less log entities
kasparkallas Apr 16, 2025
62f212a
stop indexing send events
kasparkallas Apr 17, 2025
1b1fbd4
fix cmd for graph network deployment
d10r Apr 23, 2025
b7e387b
merge
kasparkallas May 9, 2025
a75bbf1
remove transaction receipts
kasparkallas May 9, 2025
9aa9ffb
fix changelog
kasparkallas May 9, 2025
1a835fd
upgrade local graph image (#2068)
mmd-afegbua May 9, 2025
a35410a
Merge branch 'dev' into 2025-03-10-subgraph-updates
kasparkallas May 15, 2025
8cd51f3
fix event param name
kasparkallas May 19, 2025
f6d2888
remove tokensnapshotlog indexing
kasparkallas May 19, 2025
0ec8a07
continue on error for int tests
mmd-afegbua May 21, 2025
beb3060
added login step for goldsky
mmd-afegbua May 21, 2025
c6386f3
added goldsky new api key
mmd-afegbua May 21, 2025
12a7c2f
fix totalstreamedin not getting updated
kasparkallas May 28, 2025
4d9f3fe
Merge branch '2025-03-10-subgraph-updates' of https://github.com/supe…
kasparkallas May 28, 2025
c513b49
Merge branch 'dev' into 2025-03-10-subgraph-updates
kasparkallas May 28, 2025
8ffacd5
[SUBGRAPH] Local subgraph test fix (#2072)
mmd-afegbua May 30, 2025
d959b28
Delete .github/workflows/handler.publish-pr-packages.yml
hellwolf May 30, 2025
6856eb8
fix the bug with test
kasparkallas Jun 3, 2025
e034e08
Merge branch '2025-03-10-subgraph-updates' of https://github.com/supe…
kasparkallas Jun 3, 2025
e56e22d
updated yarn.lock
kasparkallas Jun 3, 2025
a99b500
fix foundry commit
hellwolf Jun 4, 2025
7a6be2f
Merge branch 'fix-foundry-monthly' into 2025-03-10-subgraph-updates
hellwolf Jun 4, 2025
04d080c
changed subgraph deploy code for graph network, alchemy
d10r Jun 13, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/call.deploy-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ on:
SUBGRAPH_URL_TEMPLATE:
description: "Subgraph endpoint url template"
required: false
SATSUMA_DEPLOY_KEY:
description: "Satsuma deploy key"
ALCHEMY_DEPLOY_KEY:
description: "Alchemy deploy key"
required: false
THE_GRAPH_ACCESS_TOKEN:
description: "The Graph access token for deploying subgraphs"
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
SUBGRAPH_URL_TEMPLATE: ${{ secrets.SUBGRAPH_URL_TEMPLATE }}
SUPERFLUID_IPFS_API: ${{ secrets.SUPERFLUID_IPFS_API }}
THE_GRAPH_ACCESS_TOKEN: ${{ secrets.THE_GRAPH_ACCESS_TOKEN }}
SATSUMA_DEPLOY_KEY: ${{ secrets.SATSUMA_DEPLOY_KEY }}
ALCHEMY_DEPLOY_KEY: ${{ secrets.ALCHEMY_DEPLOY_KEY }}
GOLDSKY_API_KEY: ${{ secrets.GOLDSKY_API_KEY }}
AIRSTACK_API_KEY: ${{ secrets.AIRSTACK_API_KEY }}
COMMIT_HASH: ${{ github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/call.test-local-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ jobs:
if: steps.base.outputs.cache-hit != 'true'
run: yarn test --network localhost
working-directory: ${{ env.subgraph-working-directory }}
#TODO: Fix integration test cases errors
continue-on-error: true
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
vendor: ${{ github.event.inputs.vendor }}
secrets:
THE_GRAPH_ACCESS_TOKEN: ${{ secrets.THE_GRAPH_ACCESS_TOKEN }}
SATSUMA_DEPLOY_KEY: ${{ secrets.SATSUMA_DEPLOY_KEY }}
ALCHEMY_DEPLOY_KEY: ${{ secrets.ALCHEMY_DEPLOY_KEY }}
SUBGRAPH_URL_TEMPLATE: ${{ secrets.SUBGRAPH_URL_TEMPLATE }}
SUPERFLUID_IPFS_API: ${{ secrets.SUPERFLUID_IPFS_API }}
GOLDSKY_API_KEY: ${{ secrets.GOLDSKY_API_KEY }}
Expand Down
108 changes: 0 additions & 108 deletions .github/workflows/handler.publish-pr-packages.yml

This file was deleted.

8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
foundry = {
url = "github:shazow/foundry.nix/monthly";
url = "github:shazow/foundry.nix/cefa65c";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
9 changes: 9 additions & 0 deletions packages/subgraph/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

- Fix `adjustmentFlowRate` on Pool
- Improve `poolTotalAmountReceivedUntilUpdatedAt` accuracy on PoolMember
- Fix `poolTotalAmountDistributedUntilUpdatedAt` on PoolMember
- Fix `totalNumberOfActivePools` on TokenStatistics
- Fix `totalSubscriptionsWithUnits` on TokenStatistics
- Use declarative eth calls for indexing optimization
- Remove `receipt: true` from handlers, resulting in `gasUsed` staying null, but improving indexing performance
- Disable indexing of `Send` events. Use `Transfer` instead.

## [2.2.0]

- Fix missing Token name/symbol in some cases
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
graph-node:
image: graphprotocol/graph-node:v0.35.0
image: graphprotocol/graph-node:v0.38.0
ports:
- "8000:8000"
- "8001:8001"
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dotenvConfig();
*/
const config: HardhatUserConfig = {
solidity: {
version: "0.7.6",
version: "0.8.26",
settings: {
optimizer: {
enabled: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@superfluid-finance/subgraph",
"description": "Subgraph for the Superfluid Ethereum contracts.",
"version": "2.2.0",
"version": "2.2.3",
"dependencies": {
"@graphprotocol/graph-cli": "0.97.0",
"@graphprotocol/graph-cli": "0.97.1",
"@graphprotocol/graph-ts": "0.38.0",
"@superfluid-finance/sdk-core": "0.9.0",
"mustache": "4.2.0"
Expand Down
Loading
Loading