Run Aave V4 Spec #183
Annotations
10 errors
|
packages/spec/repay/business.spec.ts > Repaying Loans on Aave V4 > Given a user and a reserve with an active borrow position > When the user repays a partial amount of the loan > Then the borrow position is updated to reflect the reduced outstanding balance:
packages/spec/repay/business.spec.ts#L206
InvariantError: Expected result to be Ok: Transaction failed: 0x360ed321bf7ec065a2da6cb28424a0b150c9d8d668d7f670cf59c60470b9c595
→ View on explorer: https://dashboard.tenderly.co/tx/0x360ed321bf7ec065a2da6cb28424a0b150c9d8d668d7f670cf59c60470b9c595
❯ $ packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/repay/business.spec.ts:206:9
|
|
packages/spec/positions/userSupplies.spec.ts > Querying User Supply Positions on Aave V4 > Given a user with multiple active supply positions > When the user fetches supply positions ordered by amount > Then the supply positions are returned in order of amount:
packages/spec/positions/userSupplies.spec.ts#L145
Error: expected array to be ordered ascending, but got: 0.100000000198934193,0.1,0.1,0.1
❯ packages/spec/positions/userSupplies.spec.ts:145:33
|
|
packages/spec/positions/userBorrows.spec.ts > Querying User Borrow Positions on Aave V4 > Given a user with multiple active borrow positions > When the user fetches borrow positions ordered by amount > Then the borrow positions are returned in order of amount:
packages/spec/positions/userBorrows.spec.ts#L131
Error: expected array to be ordered descending, but got: 14.32360709160329266,14.311344,14.319572283397770437
❯ packages/spec/positions/userBorrows.spec.ts:131:33
|
|
packages/spec/positions/business.spec.ts > Aave V4 Health Factor Positions Scenarios > Given a user with a one supply position as collateral > And the user has a one borrow position:
packages/spec/positions/business.spec.ts#L76
InvariantError: Expected a value, got: [GraphQL] Invalid value for argument "request", field "query" of type "ReserveRequestQuery!" is required but not provided
❯ invariant packages/types/src/helpers/invariant.ts:20:11
❯ A packages/core/src/utils.ts:20:3
❯ ResultAsync.<anonymous> node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:133:33
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:43:71
❯ __awaiter node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:39:12
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:129:60
❯ packages/spec/positions/business.spec.ts:76:23
|
|
packages/spec/liquidity/spokes.spec.ts > Aave V4 Spokes Scenario > Given a user who wants to fetch spokes by hub id > Then it should return the spokes:
packages/spec/liquidity/spokes.spec.ts#L47
Error: Snapshot `Aave V4 Spokes Scenario > Given a user who wants to fetch spokes by hub id > Then it should return the spokes 1` mismatched
- Expected
+ Received
@@ -6,11 +6,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -30,11 +30,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -54,11 +54,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -78,11 +78,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
❯ packages/spec/liquidity/spokes.spec.ts:47:34
|
|
packages/spec/liquidity/spokes.spec.ts > Aave V4 Spokes Scenario > Given a user who wants to fetch spokes in a hub > Then it should return the spokes:
packages/spec/liquidity/spokes.spec.ts#L35
Error: Snapshot `Aave V4 Spokes Scenario > Given a user who wants to fetch spokes in a hub > Then it should return the spokes 1` mismatched
- Expected
+ Received
@@ -6,11 +6,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -30,11 +30,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -54,11 +54,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -78,11 +78,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
❯ packages/spec/liquidity/spokes.spec.ts:35:34
|
|
packages/spec/liquidity/spokes.spec.ts > Aave V4 Spokes Scenario > Given a user who wants to fetch spokes by chain ID > Then it should return the spokes:
packages/spec/liquidity/spokes.spec.ts#L20
Error: Snapshot `Aave V4 Spokes Scenario > Given a user who wants to fetch spokes by chain ID > Then it should return the spokes 1` mismatched
- Expected
+ Received
@@ -6,11 +6,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -30,11 +30,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -54,11 +54,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
@@ -78,11 +78,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
❯ packages/spec/liquidity/spokes.spec.ts:20:34
|
|
packages/spec/liquidity/hub.spec.ts > Aave V4 Hub Scenarios > Given a user who wants to know assets in a hub > When fetching assets in a hub > Then it should return the expected data for assets in a hub:
packages/spec/liquidity/hub.spec.ts#L96
Error: Snapshot `Aave V4 Hub Scenarios > Given a user who wants to know assets in a hub > When fetching assets in a hub > Then it should return the expected data for assets in a hub 1` mismatched
- Expected
+ Received
@@ -24,11 +24,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
❯ packages/spec/liquidity/hub.spec.ts:96:25
❯ packages/spec/liquidity/hub.spec.ts:95:22
|
|
packages/spec/liquidity/hub.spec.ts > Aave V4 Hub Scenarios > Given a user who wants to list available hubs > When fetching hubs by chain ID(s) > Then it should return the expected data for each hub:
packages/spec/liquidity/hub.spec.ts#L21
Error: Snapshot `Aave V4 Hub Scenarios > Given a user who wants to list available hubs > When fetching hubs by chain ID(s) > Then it should return the expected data for each hub 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
"__typename": "Chain",
"chainId": 123456789,
"explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"isTestnet": true,
- "name": "ForkedEthereum",
+ "name": "Devnet",
"nativeGateway": "0x10568906206cfa2604489ABDB5E469021f5FCAa7",
"nativeInfo": {
"__typename": "TokenInfo",
"decimals": 18,
"icon": "https://statics.aave.com/ethereum.svg",
❯ packages/spec/liquidity/hub.spec.ts:21:23
❯ packages/spec/liquidity/hub.spec.ts:20:22
|
|
packages/spec/borrow/business.spec.ts > Feature: Borrowing Assets on Aave V4 > Given a user and a reserve with an active supply position used as collateral > When the user wants to preview the borrow action before performing it > Then the user can review the borrow details before proceeding:
packages/spec/borrow/business.spec.ts#L43
InvariantError: Expected a value, got: [GraphQL] Server error - Invalid action: Cannot borrow with no supply position
❯ invariant packages/types/src/helpers/invariant.ts:20:11
❯ A packages/core/src/utils.ts:20:3
❯ ResultAsync.<anonymous> node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:133:33
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:43:71
❯ __awaiter node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:39:12
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:129:60
❯ packages/spec/borrow/business.spec.ts:43:37
|