feat(VaultUtils): add accruedInterest util #493
Annotations
2 errors and 2 warnings
Run pnpm run test --coverage:
packages/migration-sdk-viem/test/e2e/compoundV3/supply.test.ts#L284
TransactionExecutionError: Execution reverted with reason: Execution reverted for an unknown reason.
Details:
0 ↳ FROM 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
0 ↳ CALL (0x1f8076e2eb6f10b12e6886f30d4909a91969f7da).multicall([
0x1643ff92000000000000000000000000b125e6687d4313864e53df431d5425969c15eb2f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006799f8e4000000000000000000000000000000000000000000000000000000000000001c3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c17abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad0000000000000000000000000000000000000000000000000000000000000001,
0xee217cda000000000000000000000000b125e6687d4313864e53df431d5425969c15eb2f000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff,
0x6ef5eeae000000000000000000000000c1256ae5ff1cf2719d4937adb3bbccab2e00a2ca00000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266,
])
1 ↳ DELEGATECALL self.compoundV3AllowBySig(0xb125E6…0xb1, true, 0, 1738143972, 28, 0x3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c1, 0x7abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad, true)
2 ↳ CALL (0xb125e6687d4313864e53df431d5425969c15eb2f).allowBySig(0xf39Fd6…0xf3, 0x1f8076…0x1f, true, 0, 1738143972, 28, 0x3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c1, 0x7abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad)
3 ↳ DELEGATECALL (0x775324ff8ae86b86e32a60c5fc9474ba303d005b).allowBySig(0xf39Fd6…0xf3, 0x1f8076…0x1f, true, 0, 1738143972, 28, 0x3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c1, 0x7abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad)
4 ↳ DELEGATECALL (0x3bac64185786922292266aa92a58cf870d694e2a).allowBySig(0xf39Fd6…0xf3, 0x1f8076…0x1f, true, 0, 1738143972, 28, 0x3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c1, 0x7abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad)
5 ↳ LOG Approval(0xf39Fd6…0xf3, 0x1f8076…0x1f, 115792089237316195423570985008687907853269984665640564039457584007913129639935)
5 ↳ STATICCALL (0x0000000000000000000000000000000000000001).0xdb57e5f563f6b95a4ea222c28f2f6eef06a16e79d5e9109539fde449db8b365f000000000000000000000000000000000000000000000000000000000000001c3f3ccccf0c40c8bcc2572344689ace589b08f03116ae622e42f626d72c8948c17abc7f614e418e042bc1930075dde8a2611b92777178c8062a513c91886fa0ad -> 0x000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266
1 ↳ DELEGATECALL self.compoundV3WithdrawFrom(0xb125E6…0xb1, 0x833589…0x83, 115792089237316195423570985008687907853269984665640564039457584007913129639935)
2 ↳ STATICCALL (0xb125e6687d4313864e53df431d5425969c15eb2f).baseToken() -> 0x000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
3 ↳ DELEGATECALL (0x775324ff8ae86b86e32a60c5fc9474ba303d005b).baseToken() -> 0x000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
2 ↳ STATICCALL (0xb125e6687d4313864e53df431d5425969c15eb2f).balanceOf(0xf39Fd6…0xf3) -> 0x00000000000000000000000000000000000000000000000000000000004c4b47
3 ↳ DELEGATECALL (0x775324ff8ae86b86e32a60c5fc9474ba303d005b).balanceOf(0xf39Fd6…0xf3) -> 0x00000000000000000000000000000000000000000000000000000000004c4b47
2 ↳ CALL (0xb125e6687d4313864e53df431d5425969c15eb2f).withdrawFrom(0xf39Fd6…0xf3, 0x1f8076…0x1f, 0x833589…0x83, 5000007)
3 ↳ DELEGATECALL (0x775324ff8ae86b86e32a60c5fc9474ba303d005b).withdrawFrom(0xf39Fd6…0xf3, 0x1f8076…0x1f, 0x833589…0x83, 5000007)
4 ↳ LOG Withdraw(0xf39Fd6…0xf3, 0x1f8076…0x1f, 5000007), 4 ↳ LOG Transfer(0xf39Fd6…0xf3, 0x000000…0x00, 5000007)
4 ↳ CALL (0x833589fcd6edb6e08f4c7c32d4f71b54bda02913).transfer(0x1f8076…0x1f, 5000007) -> 0x00000000000000
|
Run pnpm run test --coverage
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Save Foundry cache
Cache save failed.
|
Loading