Run Aave V4 Spec #279
Annotations
10 errors
|
All Tests
Process completed with exit code 1.
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct averageCollateralFactor value:
packages/spec/positions/math/userPositions.spec.ts#L239
Error: expected "0.769702219238941864" to be close to 0.769080343733694104, but got difference of 0.00062187550524776
❯ packages/spec/positions/math/userPositions.spec.ts:239:58
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct health factor:
packages/spec/positions/math/userPositions.spec.ts#L231
Error: expected "6.374685447783699693" to be close to 6.310952384699497071, but got difference of 0.063733063084202622
❯ packages/spec/positions/math/userPositions.spec.ts:231:49
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct netBalance value:
packages/spec/positions/math/userPositions.spec.ts#L223
Error: expected "265.2562" to be close to 268.0113, but got difference of -2.7551
❯ packages/spec/positions/math/userPositions.spec.ts:223:50
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct totalDebt value:
packages/spec/positions/math/userPositions.spec.ts#L197
Error: expected "22.9682" to be close to 22.93458889600535264961, but got difference of 0.03361110399464735039
❯ packages/spec/positions/math/userPositions.spec.ts:197:52
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct netCollateral value:
packages/spec/positions/math/userPositions.spec.ts#L189
Error: expected "165.2598" to be close to 167.2547, but got difference of -1.9949
❯ packages/spec/positions/math/userPositions.spec.ts:189:52
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct totalCollateral value:
packages/spec/positions/math/userPositions.spec.ts#L161
Error: expected "190.2228" to be close to 188.19763066973627493626, but got difference of 2.02516933026372506374
❯ packages/spec/positions/math/userPositions.spec.ts:161:58
|
|
packages/spec/positions/math/userPositions.spec.ts > Given a user with a User Position on a Spoke > With 3 supply positions, 2 of which set as collateral > And 2 borrow positions > When fetching the user positions for the user > Then it should return the correct totalSupplied value:
packages/spec/positions/math/userPositions.spec.ts#L153
Error: expected "288.194" to be close to 290.9794, but got difference of -2.7854
❯ packages/spec/positions/math/userPositions.spec.ts:153:33
|
|
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#L393
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x642CBcC15BE7683C09EC2521cEFEe76EB33324d2
to: 0x6f1aE3c0A22B393116Ded7332f465b0973fD1027
value: 0.01097721593459805 ETH
data: 0xf2f61d94000000000000000000000000ba97c5e52cd5bc3d7950ae70779f8ffe92d40cdc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026ffb840678ba2
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":"0xf2f61d94000000000000000000000000ba97c5e52cd5bc3d7950ae70779f8ffe92d40cdc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026ffb840678ba2","from":"0x642CBcC15BE7683C09EC2521cEFEe76EB33324d2","gas":"0x55479","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0x17","to":"0x6f1aE3c0A22B393116Ded7332f465b0973fD1027","value":"0x26ffb840678ba2"}]}
Details: execution reverted
Version: [email protected]
❯ N packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/repay/business.spec.ts:393:9
|
|
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#L54
InvariantError: Expected result to be Ok: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x432f02ceCF7DF368B70C36b13E1a2C58B84285c6
to: 0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC
value: 0 ETH
data: 0xd6bda0c0000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000a6c00aa1c1c4ae000000000000000000000000432f02cecf7df368b70c36b13e1a2c58b84285c6
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":"0xd6bda0c0000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000a6c00aa1c1c4ae000000000000000000000000432f02cecf7df368b70c36b13e1a2c58b84285c6","from":"0x432f02ceCF7DF368B70C36b13E1a2C58B84285c6","gas":"0x3cd26","maxFeePerGas":"0x2","maxPriorityFeePerGas":"0x1","nonce":"0x2","to":"0xBa97c5E52cd5BC3D7950Ae70779F8FfE92d40CdC","value":"0x0"}]}
Details: execution reverted
Version: [email protected]
❯ N packages/types/src/helpers/assertions.ts:31:11
❯ packages/spec/borrow/multipleBorrows.spec.ts:54:9
|