Run Aave V4 Spec #56
Annotations
7 errors and 2 notices
|
All Tests
Process completed with exit code 1.
|
|
packages/spec/withdraw/business.spec.ts > Aave V4 Withdraw Scenario > Given a user with a supply position > When the user withdraws part of their supply > Then it should be reflected in the user supply positions:
packages/spec/withdraw/business.spec.ts#L31
InvariantError: Expected result to be Ok: Transaction failed: 0x5f76aa84234ca54eefc42da7693d2219cd964f328d19ec4e6143621c42434e44
❯ v packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/withdraw/business.spec.ts:31:7
|
|
packages/spec/supply/business.spec.ts > Aave V4 Supply Scenarios > Given a user and a Reserve > When the user supplies tokens with collateral disabled > Then the user's supply positions are updated without collateral:
packages/spec/supply/business.spec.ts#L137
InvariantError: Expected result to be Ok: InsufficientBalanceError
❯ v packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/supply/business.spec.ts:137:9
|
|
packages/spec/supply/business.spec.ts > Aave V4 Supply Scenarios > Given a user and a Reserve > When the user supplies tokens > Then the user's supply positions are updated > And the supplied tokens are set as collateral by default:
packages/spec/supply/business.spec.ts#L83
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ packages/spec/supply/business.spec.ts:83:48
|
|
packages/spec/repay/business.spec.ts > Aave V4 Repay Scenario > Given a user with a borrow position > When the user repays a loan with a permit signature:
packages/spec/repay/business.spec.ts#L129
InvariantError: Expected a value, got: [GraphQL] Bad user input - Trying to borrow more than you are allowed to borrow
❯ 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/repay/business.spec.ts:129:23
|
|
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#L269
InvariantError: Expected a value, got: [GraphQL] Bad user input - Trying to repay more debt than exists
❯ 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:269:25
|
|
packages/spec/borrow/business.spec.ts > Aave V4 Borrow Scenarios > Given a user with a supply position as collateral > When the user borrows an ERC20 asset > Then the user's borrow positions are updated:
packages/spec/borrow/business.spec.ts#L79
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Request Arguments:
chain: Ethereum Fork (id: 1)
from: 0x292d0D12a4e8A1222034079dF1c408ce78389B84
to: 0x89914a22E30CDf88A06e801E407ca82520210a79
value: 0 ETH
data: 0xd6bda0c000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000292d0d12a4e8a1222034079df1c408ce78389b84
Details: execution reverted
Version: [email protected] due to Execution reverted for an unknown reason.
Details: execution reverted
Version: [email protected] due to Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x292d0D12a4e8A1222034079dF1c408ce78389B84
to: 0x89914a22E30CDf88A06e801E407ca82520210a79
value: 0 ETH
data: 0xd6bda0c000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000292d0d12a4e8a1222034079df1c408ce78389b84
maxFeePerGas: 0.000000002 gwei
maxPriorityFeePerGas: 0.000000001 gwei
nonce: 2
Details: execution reverted
Version: [email protected] due to Execution reverted for an unknown reason.
Details: execution reverted
Version: [email protected] due to RPC Request failed.
URL: ***
Request body: {"method":"eth_estimateGas","params":[{"data":"0xd6bda0c000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000292d0d12a4e8a1222034079df1c408ce78389b84","from":"0x292d0D12a4e8A1222034079dF1c408ce78389B84","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0x2","to":"0x89914a22E30CDf88A06e801E407ca82520210a79","value":"0x0"}]}
Details: execution reverted
Version: [email protected]
❯ v packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/borrow/business.spec.ts:79:9
|
|
All Tests:
packages/spec/withdraw/business.spec.ts#L92
reserve id: 4
|
|
All Tests:
packages/spec/withdraw/business.spec.ts#L91
account address: 0xC7e2096A8adb42D7cE4FCD816d25af77dE9aeA41
|