diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 983c24a1..f0b78ac3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,7 +71,7 @@ jobs: sleep 5s docker exec -i subgraph-hardhat-node yarn workspace isolated-pools-subgraph run generate-subgraph-types - - name: Run Isolated Pools integration integration tests + - name: Run Isolated Pools integration tests run: | docker exec -i subgraph-hardhat-node yarn workspace isolated-pools-subgraph run test:integration --bail diff --git a/subgraphs/isolated-pools/tests/integration/constants.ts b/subgraphs/isolated-pools/tests/integration/constants.ts index 962a5e26..6c2b2278 100644 --- a/subgraphs/isolated-pools/tests/integration/constants.ts +++ b/subgraphs/isolated-pools/tests/integration/constants.ts @@ -8,7 +8,7 @@ export const defaultMarkets = [ { id: '0xb9beecd1a582768711de1ee7b0a1d582d9d72a6c', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -16,7 +16,7 @@ export const defaultMarkets = [ cashMantissa: '10000000000000000000', collateralFactorMantissa: '700000000000000000', exchangeRateMantissa: '10000000000000000000000000000', - interestRateModelAddress: '0xb82008565fdc7e44609fa118a4a681e92581e680', + interestRateModelAddress: '0x8a93d247134d91e0de6f96547cb0204e5be8e5d8', name: 'Venus ANKR', reservesMantissa: '0', supplyRateMantissa: '0', @@ -41,7 +41,7 @@ export const defaultMarkets = [ { id: '0x5fc748f1feb28d7b76fa1c6b07d8ba2d5535177c', pool: { - id: '0xe3011a37a904ab90c8881a99bd1f6e21401f1522', + id: '0x38a024C0b412B9d1db8BC398140D00F5Af3093D4', __typename: 'Pool', }, badDebtMantissa: '0', @@ -74,7 +74,7 @@ export const defaultMarkets = [ { id: '0xf32d39ff9f6aa7a7a64d7a4f00a54826ef791a55', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -107,7 +107,7 @@ export const defaultMarkets = [ { id: '0x40918ba7f132e0acba2ce4de4c4baf9bd2d7d849', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -115,7 +115,7 @@ export const defaultMarkets = [ cashMantissa: '10000000000000000000', collateralFactorMantissa: '700000000000000000', exchangeRateMantissa: '10000000000000000000000000000', - interestRateModelAddress: '0xb82008565fdc7e44609fa118a4a681e92581e680', + interestRateModelAddress: '0x8a93d247134d91e0de6f96547cb0204e5be8e5d8', name: 'Venus MBOX', reservesMantissa: '0', supplyRateMantissa: '0', @@ -140,7 +140,7 @@ export const defaultMarkets = [ { id: '0x6f6f570f45833e249e27022648a26f4076f48f78', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -148,7 +148,7 @@ export const defaultMarkets = [ cashMantissa: '10000000000000000000', collateralFactorMantissa: '700000000000000000', exchangeRateMantissa: '10000000000000000000000000000', - interestRateModelAddress: '0xb82008565fdc7e44609fa118a4a681e92581e680', + interestRateModelAddress: '0x8a93d247134d91e0de6f96547cb0204e5be8e5d8', name: 'Venus USDD', reservesMantissa: '0', supplyRateMantissa: '0', @@ -173,7 +173,7 @@ export const defaultMarkets = [ { id: '0x2a810409872afc346f9b5b26571fd6ec42ea4849', pool: { - id: '0xe3011a37a904ab90c8881a99bd1f6e21401f1522', + id: '0x38a024C0b412B9d1db8BC398140D00F5Af3093D4', __typename: 'Pool', }, badDebtMantissa: '0', @@ -181,14 +181,14 @@ export const defaultMarkets = [ cashMantissa: '10000000000000000000', collateralFactorMantissa: '700000000000000000', exchangeRateMantissa: '10000000000000000000000000000', - interestRateModelAddress: '0xb82008565fdc7e44609fa118a4a681e92581e680', - name: 'Venus BTCB', + interestRateModelAddress: '0x8a93d247134d91e0de6f96547cb0204e5be8e5d8', + name: 'Venus MBOX', reservesMantissa: '0', supplyRateMantissa: '0', - symbol: 'vBTCB', + symbol: 'vMBOX', underlyingAddress: '0x70e0ba845a1a0f2da3359c97e0285013525ffc49', - underlyingName: 'MockBTCB', - underlyingSymbol: 'MockBTCB', + underlyingName: 'MockMBOX', + underlyingSymbol: 'MockMBOX', borrowCapMantissa: '1000000000000000000000', accrualBlockNumber: 259, blockTimestamp: 1701809546, @@ -206,7 +206,7 @@ export const defaultMarkets = [ { id: '0x8a93d247134d91e0de6f96547cb0204e5be8e5d8', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -239,7 +239,7 @@ export const defaultMarkets = [ { id: '0x99dbe4aea58e518c50a1c04ae9b48c9f6354612f', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -272,7 +272,7 @@ export const defaultMarkets = [ { id: '0xd6e1afe5ca8d00a2efc01b89997abe2de47fdfaf', pool: { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', __typename: 'Pool', }, badDebtMantissa: '0', @@ -306,7 +306,7 @@ export const defaultMarkets = [ export const defaultPools = [ { - id: '0xe3011a37a904ab90c8881a99bd1f6e21401f1522', + id: '0x38a024C0b412B9d1db8BC398140D00F5Af3093D4', name: 'Pool 1', creator: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', blockPosted: '238', @@ -322,7 +322,7 @@ export const defaultPools = [ __typename: 'Pool', }, { - id: '0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82', + id: '0x525c7063e7c20997baae9bda922159152d0e8417', name: 'Pool 2', creator: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', blockPosted: '240',