Run Aave V4 Spec #184
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 using a valid permit signature > Then the repayment is processed without requiring prior ERC20 approval:
packages/spec/repay/business.spec.ts#L79
InvariantError: Expected result to be Ok: Transaction failed: 0x9b720b85ea3e750cea6065acbb562ce7921b44756da7f51b9aff6a3c241a2237
→ View on explorer: https://dashboard.tenderly.co/tx/0x9b720b85ea3e750cea6065acbb562ce7921b44756da7f51b9aff6a3c241a2237
❯ $ packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/repay/business.spec.ts:79:7
|
|
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 > When the user repays completely the borrow position:
packages/spec/positions/business.spec.ts#L296
InvariantError: Expected result to be Ok: InsufficientBalanceError
❯ $ packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/positions/business.spec.ts:296:11
|
|
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 > When the user supplies more collateral > Then the health factor should be greater than before supplying more collateral:
packages/spec/positions/business.spec.ts#L146
Error: expected "10.086187460744229062" to be greater than 10.086187552954388953, but got 10.08618746074423
❯ packages/spec/positions/business.spec.ts:146:52
|
|
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 borrows a native asset from the reserve > Then the user's borrow position is updated to reflect the native asset loan:
packages/spec/borrow/business.spec.ts#L145
Error: expected "0" to be greater than 0, but got 0
❯ packages/spec/borrow/business.spec.ts:145:32
|
|
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
|