feat(blue-api-sdk): rename errors file #146
push.yml
on: push
Matrix: build / build
Matrix: publish / publish
Waiting for pending jobs
Annotations
2 errors
packages/blue-sdk/test/e2e/Market.test.ts > Market > should borrow borrowable assets:
packages/blue-sdk/test/e2e/Market.test.ts#L101
AssertionError: expected [Function] to throw error including 'insufficient collateral' but got 'The contract function "borrow" revert…'
- Expected
+ Received
- insufficient collateral
+ The contract function "borrow" reverted with the following reason:
+
+ 0 ↳ FROM 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
+ 0 ↳ CALL (0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb).borrow([
+ 0xA0b869…0xA0,
+ 0x7f39C5…0x7f,
+ 0x48F7E3…0x48,
+ 0x870aC1…0x87,
+ 860000000000000000,
+ ], 3461590871, 0, 0xf39Fd6…0xf3, 0xf39Fd6…0xf3) -> 0x00000000000000000000000000000000000000000000000000000000ce53af57000000000000000000000000000000000000000000000000000c1468c779b472
+ 0x570954540bed6b1304a87dfe815a5eda4a648f7097a16240dcd85c9b5fd42a43b323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266
+ 1 ↳ STATICCALL (0x48f7e36eb6b826b2df4b2e630b62cd25e89e40e2).price() -> 0x00000000000000000000000000000000000000000d0275e5bedf5563a17281f2
+ 2 ↳ STATICCALL (0x4f67e4d9bd67efa28236013288737d39aef48e79).latestRoundData() -> 0x00000000000000000000000000000000000000000000000100000000000003c50000000000000000000000000000000000000000000000000000000006ea2a1f0000000000000000000000000000000000000000000000000000000066047873000000000000000000000000000000000000000000000000000000006604787300000000000000000000000000000000000000000000000100000000000003c5
+ 3 ↳ STATICCALL (0x86392dc19c0b719886221c78ab11eb8cf5c52812).latestRoundData() -> 0x00000000000000000000000000000000000000000000000100000000000003c50000000000000000000000000000000000000000000000000ddbd0e10203a67c0000000000000000000000000000000000000000000000000000000066047873000000000000000000000000000000000000000000000000000000006604787300000000000000000000000000000000000000000000000100000000000003c5
+ 4 ↳ STATICCALL (0x716bb759a5f6facdff91f0afb613133d510e1573).latestRoundData() -> 0x00000000000000000000000000000000000000000000000000000000000003c50000000000000000000000000000000000000000000000000ddbd0e10203a67c0000000000000000000000000000000000000000000000000000000066047873000000000000000000000000000000000000000000000000000000006604787300000000000000000000000000000000000000000000000000000000000003c5
+
+ 3 ↳ STATICCALL (0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0).tokensPerStEth() -> 0x0000000000000000000000000000000000000000000000000bf236220d247eab
+ 4 ↳ STATICCALL (0xae7ab96520de3a18e5e111b5eaab095312d7fe84).getSharesByPooledEth(1000000000000000000) -> 0x0000000000000000000000000000000000000000000000000bf236220d247eab
+ 5 ↳ CALL (0xb8ffc3cd6e7cf5a098a1c92f48009765b24088dc).getApp(0xf1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f, 0x3ca7c3e38968823ccb4c78ea688df41356f182ae1d159e4ee608d30d68cef320) -> 0x00000000000000000000000017144556fd3424edc8fc8a4c940b2d04936d17eb
+ 6 ↳ DELEGATECALL (0x2b33cf282f867a7ff693a66e11b0fcc5552e4425).getApp(0xf1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f, 0x3ca7c3e38968823ccb4c78ea688df41356f182ae1d159e4ee608d30d68cef320) -> 0x00000000000000000000000017144556fd3424edc8fc8a4c940b2d04936d17eb
+
+ 5 ↳ DELEGATECALL (0x17144556fd3424edc8fc8a4c940b2d04936d17eb).getSharesByPooledEth(1000000000000000000) -> 0x0000000000000000000000000000000000000000000000000bf236220d247eab
+
+ 2 ↳ STATICCALL (0x986b5e1e1755e3c2440e960477f25201b0a8bbd4).latestRoundData() -> 0x0000000000000000000000000000000000000000000000040000000000002b300000000000000000000000000000000000000000000000000001060dab741b36000000000000000000000000000000000000000000000000000000006604d9e7000000000000000000000000000000000000000000000000000000006604d9e70000000000000000000000000000000000000000000000040000000000002b30
+ 3 ↳ STATICCALL (0xe5bbbdb2bb953371841318e1edfbf727447cef2e).latestRoundData() -> 0x0000000000000000000000000000000000000000000000000000000000002b300000000000000000000000000000000000000000000000000001060dab741b3600000000000000000000000000000000000000000000000
|
test / vitest
Process completed with exit code 1.
|