on-demand-test #246
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 part of their supplied native tokens > Then the user receives the partial amount in native tokens and their supply position is updated:
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:56: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/withdraw/business.spec.ts:177:21
|
|
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 > When the user queries balances by user position ID > Then the balances of assets that can be used on the user position are returned:
packages/spec/test-utils.ts#L16
InvariantError: Expected array to have exactly one item
❯ assertSingleElementArray packages/spec/test-utils.ts:16:11
❯ packages/spec/tools/balances.spec.ts:125:9
|
|
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 > When the user queries balances by spoke > Then the balances of assets that can be used on the spoke are returned:
packages/spec/tools/balances.spec.ts#L96
AssertionError: expected 2 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 2
❯ packages/spec/tools/balances.spec.ts:96:39
|
|
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 > When the user queries balances by hub > Then the balances of assets that can be used on the hub are returned:
packages/spec/tools/balances.spec.ts#L80
AssertionError: expected 2 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 2
❯ packages/spec/tools/balances.spec.ts:80:39
|
|
packages/spec/supply/business.spec.ts > Supplying Assets on Aave V4 > Given a user and a reserve that supports native token deposits > When the user supplies native tokens > Then the supply position is updated and the tokens are enabled as collateral by default:
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:56: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/supply/business.spec.ts:376:31
|
|
packages/spec/supply/business.spec.ts > Supplying Assets on Aave V4 > Given a user and a reserve that supports native token deposits > When the user supplies native tokens with collateral disabled > Then the supply position is updated and the tokens are not enabled 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:56: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/supply/business.spec.ts:339:31
|
|
packages/spec/supply/business.spec.ts > Supplying Assets on Aave V4 > Given a user and a reserve that supports native token deposits > When the user wants to preview the supply action before performing it > Then the user can review the supply details before proceeding:
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:56: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/supply/business.spec.ts:304:31
|
|
packages/spec/repay/business.spec.ts > Repaying Loans on Aave V4 > Given a user and a reserve that supports repayments in native tokens > When the user repays the full loan amount in native tokens > Then the borrow position is closed and the repayment is reflected in the user's positions:
packages/spec/repay/business.spec.ts#L410
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x8444224Cb0211d8878C4da6D075519EE6925F330
to: 0x6f1aE3c0A22B393116Ded7332f465b0973fD1027
value: 0.048047667348704793 ETH
data: 0xf2f61d94000000000000000000000000ba97c5e52cd5bc3d7950ae70779f8ffe92d40cdc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aab319509b0e19
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: https://virtual.mainnet-aave.us-east.rpc.tenderly.co/dbaa58ab-597b-4bcd-ae6a-b8e50f716146
Request body: {"method":"eth_estimateGas","params":[{"data":"0xf2f61d94000000000000000000000000ba97c5e52cd5bc3d7950ae70779f8ffe92d40cdc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aab319509b0e19","from":"0x8444224Cb0211d8878C4da6D075519EE6925F330","gas":"0x55479","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0x13","to":"0x6f1aE3c0A22B393116Ded7332f465b0973fD1027","value":"0xaab319509b0e19"}]}
Details: execution reverted
Version: [email protected]
❯ k packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/repay/business.spec.ts:410:9
|
|
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#L59
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x8444224Cb0211d8878C4da6D075519EE6925F330
to: 0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC
value: 0 ETH
data: 0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000064852a56a500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000011794dd70000000000000000000000008444224cb0211d8878c4da6d075519ee6925f3300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000649e35c533000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000010000000000000000000000008444224cb0211d8878c4da6d075519ee6925f33000000000000000000000000000000000000000000000000000000000
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: https://virtual.mainnet-aave.us-east.rpc.tenderly.co/dbaa58ab-597b-4bcd-ae6a-b8e50f716146
Request body: {"method":"eth_estimateGas","params":[{"data":"0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000064852a56a500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000011794dd70000000000000000000000008444224cb0211d8878c4da6d075519ee6925f3300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000649e35c533000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000010000000000000000000000008444224cb0211d8878c4da6d075519ee6925f33000000000000000000000000000000000000000000000000000000000","from":"0x8444224Cb0211d8878C4da6D075519EE6925F330","gas":"0x35cf5","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0xe","to":"0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC","value":"0x0"}]}
Details: execution reverted
Version: [email protected]
❯ k packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/repay/business.spec.ts:59:7
|
|
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#L218
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x343B8f25AEf4524A94C177A68a2EaAab98db6E96
to: 0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC
value: 0 ETH
data: 0xb1e8f8ef000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000503b4f4fde1022000000000000000000000000343b8f25aef4524a94c177a68a2eaaab98db6e96
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: https://virtual.mainnet-aave.us-east.rpc.tenderly.co/dbaa58ab-597b-4bcd-ae6a-b8e50f716146
Request body: {"method":"eth_estimateGas","params":[{"data":"0xb1e8f8ef000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000503b4f4fde1022000000000000000000000000343b8f25aef4524a94c177a68a2eaaab98db6e96","from":"0x343B8f25AEf4524A94C177A68a2EaAab98db6E96","gas":"0x3a653","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0x8","to":"0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC","value":"0x0"}]}
Details: execution reverted
Version: [email protected]
❯ k packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/positions/business.spec.ts:218:11
|