Skip to content

Run Aave V4 Spec

Run Aave V4 Spec #242

Manually triggered November 24, 2025 13:17
Status Failure
Total duration 7m 10s
Artifacts

on-demand.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 errors
All Tests
Process completed with exit code 1.
packages/spec/tools/balances.spec.ts > Querying User Balances on Aave V4 > Given a user with one supply position and multiple tokens to use on the protocol: packages/spec/test-utils.ts#L8
InvariantError: Expected array to be non-empty ❯ assertNonEmptyArray packages/spec/test-utils.ts:8:11 ❯ packages/spec/helpers/reserves.ts:47:5 ❯ 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/tools/balances.spec.ts:25:21
packages/spec/positions/business.spec.ts > Health Factor Scenarios on Aave V4 > 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 ❯ k packages/types/src/helpers/assertions.ts:31:11 ❯ packages/spec/positions/business.spec.ts:366:11
packages/spec/positions/business.spec.ts > Health Factor Scenarios on Aave V4 > 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 > Health Factor Scenarios on Aave V4 > 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 > Health Factor Scenarios on Aave V4 > Given a user with a one supply position as collateral > When the user checks the health factor: packages/spec/test-utils.ts#L8
InvariantError: Expected array to be non-empty ❯ assertNonEmptyArray packages/spec/test-utils.ts:8:11 ❯ packages/spec/helpers/reserves.ts:47:5 ❯ 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:43:23
packages/spec/liquidity/reserve.spec.ts > Querying Reserves on Aave V4 > Given a user who wants to fetch reserves > When fetching reserves for a specific hub token > Then it should return the reserves for the specific token: packages/spec/liquidity/reserve.spec.ts#L37
Error: Expected all array items to match: ObjectContaining { "asset": ObjectContaining { "hub": ObjectContaining { "address": "0xaD905aD5EA5B98cD50AE40Cfe368344686a21366", }, "underlying": ObjectContaining { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", }, }, } But received: Array [ Object { "__typename": "Reserve", "asset": [Object], "borrowCap": [t], "canBorrow": true, "canSupply": true, "canUseAsCollateral": false, "chain": [Object], "id": "MTIzNDU2Nzg5OjoweDRmNzIwMjM2N2Y3MkFEYWU4NzM5M2MzZTQ5YjNGYmMzNTNhOTExMEQ6OjA=", "onChainId": "0", "settings": [Object], "spoke": [Object], "status": [Object], "summary": [Object], "supplyCap": [t], "userState": null, }, Object { "__typename": "Reserve", "asset": [Object], "borrowCap": [t], "canBorrow": true, "canSupply": false, "canUseAsCollateral": true, "chain": [Object], "id": "MTIzNDU2Nzg5OjoweEJhOTdjNUU1MmNkNUJDM0Q3OTUwQWU3MDc3OUY4RmZFOTJkNDBDZEM6OjA=", "onChainId": "0", "settings": [Object], "spoke": [Object], "status": [Object], "summary": [Object], "supplyCap": [t], "userState": null, }, ] ❯ packages/spec/liquidity/reserve.spec.ts:37:36
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: packages/spec/test-utils.ts#L8
InvariantError: Expected array to be non-empty ❯ assertNonEmptyArray packages/spec/test-utils.ts:8:11 ❯ packages/spec/helpers/reserves.ts:47:5 ❯ 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:24:23
packages/spec/borrow/business.spec.ts > 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: packages/spec/test-utils.ts#L8
InvariantError: Expected array to be non-empty ❯ assertNonEmptyArray packages/spec/test-utils.ts:8:11 ❯ packages/spec/helpers/reserves.ts:47:5 ❯ 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:118:23
packages/spec/borrow/business.spec.ts > Borrowing Assets on Aave V4 > Given a user and a reserve with an active supply position used as collateral: packages/spec/test-utils.ts#L8
InvariantError: Expected array to be non-empty ❯ assertNonEmptyArray packages/spec/test-utils.ts:8:11 ❯ packages/spec/helpers/reserves.ts:47:5 ❯ 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:26:21