Run Aave V4 Spec #232
Annotations
10 errors
|
packages/spec/withdraw/business.spec.ts > Withdrawing Assets on Aave V4 > Given a user and a reserve that supports withdrawals in native tokens > When the user withdraws all of their supplied native tokens > Then the user receives the full amount in native tokens and their supply position is closed:
packages/spec/withdraw/business.spec.ts#L226
Error: Test timed out in 30000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ packages/spec/withdraw/business.spec.ts:226:7
|
|
packages/spec/supply/business.spec.ts > Supplying Assets on Aave V4 > Given a user and a reserve > When the user supplies tokens to a reserve, that support collateral > Then the supply position is updated and the tokens are enabled as collateral by default:
packages/spec/supply/business.spec.ts#L82
AssertionError: expected false to deeply equal true
- Expected
+ Received
- true
+ false
❯ packages/spec/supply/business.spec.ts:82:45
|
|
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#L223
Error: Test timed out in 30000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ packages/spec/repay/business.spec.ts:223:7
|
|
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#L156
Error: Test timed out in 30000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ packages/spec/repay/business.spec.ts:156: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#L366
InvariantError: Expected result to be Ok: InsufficientBalanceError
❯ R packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/positions/business.spec.ts:366: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 borrows more money:
packages/spec/positions/business.spec.ts#L247
InvariantError: Expected a value, got: [GraphQL] Failed to parse "BigDecimal": Amount must be greater than 0 (occurred while parsing "ReserveErc20AmountInput") (occurred while parsing "ReserveAmountInput") (occurred while parsing "BorrowRequest")
❯ 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:247:25
|
|
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 partially the borrow position:
packages/spec/positions/business.spec.ts#L186
InvariantError: Expected a value, got: [GraphQL] Failed to parse "BigDecimal": Amount must be greater than 0 (occurred while parsing "AmountInput") (occurred while parsing "RepayErc20AmountInputWithPermit") (occurred while parsing "RepayAmountInputWithPermit") (occurred while parsing "RepayRequest")
❯ 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:186:25
|
|
packages/spec/positions/business.spec.ts > Aave V4 Health Factor Positions Scenarios > Given a user with a one supply position as collateral > When the user checks the health factor:
packages/spec/positions/business.spec.ts#L40
Error: Hook timed out in 30000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ packages/spec/positions/business.spec.ts:40:7
|
|
packages/spec/liquidity/reserve.spec.ts > Aave V4 Reserve Scenario > Given a user who wants to fetch reserves > When fetching reserves ordered by > Then it should return reserves ordered by assetName:
packages/spec/liquidity/reserve.spec.ts#L174
AssertionError: expected [ 'Wrapped LS Eth', …(27) ] to deeply equal [ 'Wrapped LS Eth', …(27) ]
- Expected
+ Received
@@ -16,15 +16,15 @@
"Tether USD",
"Tether USD",
"Tether USD",
"Tether USD",
"Staked USDe",
+ "Ethena USD",
"Lido DAO Token",
"Gho Token",
"Gho Token",
"Gho Token",
"Gho Token",
- "Ethena USD",
"Coinbase WBTC",
"Aave Token",
"1INCH Token",
]
❯ packages/spec/liquidity/reserve.spec.ts:174:31
|
|
packages/spec/borrow/multipleBorrows.spec.ts > Borrowing from Multiple Reserves on Aave V4 > Given a user with collateral supplied to a reserve > When the user borrows from two different reserves > Then the user has two active borrow positions with correct amounts:
packages/spec/borrow/multipleBorrows.spec.ts#L47
InvariantError: Expected a value, got: [GraphQL] Failed to parse "BigDecimal": Amount must be greater than 0 (occurred while parsing "ReserveErc20AmountInput") (occurred while parsing "ReserveAmountInput") (occurred while parsing "BorrowRequest")
❯ 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/multipleBorrows.spec.ts:47:29
|