From 9826fe04a4f6fdf1b79f4bc3567074d2cd9711e3 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Thu, 12 Dec 2024 15:06:54 -0300 Subject: [PATCH 1/2] fix: update prerelease version name --- subgraphs/isolated-pools/package.json | 2 +- subgraphs/protocol-reserve/package.json | 2 +- subgraphs/venus-governance/package.json | 2 +- subgraphs/venus/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/subgraphs/isolated-pools/package.json b/subgraphs/isolated-pools/package.json index fa9558b0..2618b35c 100644 --- a/subgraphs/isolated-pools/package.json +++ b/subgraphs/isolated-pools/package.json @@ -1,6 +1,6 @@ { "name": "@venusprotocol/isolated-pools-subgraph", - "version": "1.4.0-pre-add-ci-deployments.1", + "version": "1.4.0-testnet.1", "license": "MIT", "repository": { "url": "https://github.com/VenusProtocol/subgraphs", diff --git a/subgraphs/protocol-reserve/package.json b/subgraphs/protocol-reserve/package.json index 9db836c6..820ff783 100644 --- a/subgraphs/protocol-reserve/package.json +++ b/subgraphs/protocol-reserve/package.json @@ -1,6 +1,6 @@ { "name": "@venusprotocol/protocol-reserve-subgraph", - "version": "1.1.1-0", + "version": "1.2.1-testnet.1", "license": "MIT", "repository": { "url": "https://github.com/VenusProtocol/subgraphs", diff --git a/subgraphs/venus-governance/package.json b/subgraphs/venus-governance/package.json index 620df2a8..718bdc04 100644 --- a/subgraphs/venus-governance/package.json +++ b/subgraphs/venus-governance/package.json @@ -1,6 +1,6 @@ { "name": "@venusprotocol/governance-subgraph", - "version": "1.1.0-pre-add-ci-deployments.1", + "version": "1.1.0-testnet.1", "license": "MIT", "repository": { "url": "https://github.com/VenusProtocol/subgraphs", diff --git a/subgraphs/venus/package.json b/subgraphs/venus/package.json index d328f54b..204c8fc3 100644 --- a/subgraphs/venus/package.json +++ b/subgraphs/venus/package.json @@ -1,6 +1,6 @@ { "name": "@venusprotocol/core-pool-subgraph", - "version": "1.2.0-pre-add-ci-deployments.1", + "version": "1.2.0-testnet.1", "license": "MIT", "repository": { "url": "https://github.com/VenusProtocol/subgraphs", From e1e5409abb07c484a92bbf0fb2efef72ce33cc77 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Thu, 12 Dec 2024 15:10:38 -0300 Subject: [PATCH 2/2] fix: event handler after block handler --- subgraphs/protocol-reserve/template-eth.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subgraphs/protocol-reserve/template-eth.yaml b/subgraphs/protocol-reserve/template-eth.yaml index e8a74322..804ff2da 100644 --- a/subgraphs/protocol-reserve/template-eth.yaml +++ b/subgraphs/protocol-reserve/template-eth.yaml @@ -226,12 +226,12 @@ dataSources: handler: handleDestinationAddressUpdated - event: BaseAssetUpdated(indexed address,indexed address) handler: handleBaseAssetUpdated + - event: PriceOracleUpdated(indexed address,indexed address) + handler: handlePriceOracleUpdated blockHandlers: - handler: handleInitializationXvsVaultConverter filter: kind: once - - event: PriceOracleUpdated(indexed address,indexed address) - handler: handlePriceOracleUpdated templates: - name: ERC20 kind: ethereum/contract