feat: wind down banner #1631
ci.yml
on: pull_request
Lint & Type Check
43s
Unit Tests
57s
Integration Tests
2m 21s
Build
Annotations
4 errors and 3 warnings
|
Integration Tests
Process completed with exit code 1.
|
|
tests/integration_new/redeem/redeem.spec.ts > redeem integration tests > redeems with LeverageRouter.redeemWithVelora successfully when on-chain debt to repay is greater than off-chain preview (RLP-USDC-6.75x):
tests/integration_new/helpers/mint.ts#L276
MintExecutionSimulationError: Simulation of mint plan failed
❯ executeMintFlow tests/integration_new/helpers/mint.ts:276:5
❯ mintWithRetries tests/integration_new/helpers/mint.ts:130:30
❯ testMint tests/integration_new/helpers/mint.ts:74:22
❯ testRedeem tests/integration_new/helpers/redeem.ts:57:9
❯ tests/integration_new/redeem/redeem.spec.ts:63:13
Caused by: Caused by: ContractFunctionExecutionError: The contract function "deposit" reverted with the following reason:
insufficient collateral
Contract Call:
address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA
function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])
args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3bccf5f6e8a6f54c37b9fe3615778e2d94000000000000000000000000017addf4000000000000000000000000b0764de7eef0ac69855c431334b7bc51a96e6dba000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000000","value":"0"}])
sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Docs: https://viem.sh/docs/contract/simulateContract
Version: viem@2.43.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:81:3
❯ simulateContract node_modules/viem/actions/public/simulateContract.ts:307:5
❯ simulateContract node_modules/@wagmi/core/src/actions/simulateContract.ts:154:31
❯ src/features/leverage-tokens/hooks/mint/useMintWrite.ts:33:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/simulateContract', metaMessages: [ 'Contract Call:', ' address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA\n function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])\n args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3bccf5f6e8a6f54c37b
|
|
tests/integration_new/redeem/redeem.spec.ts > redeem integration tests > redeems RLP-USDC-6.75x shares on chain id 1:
tests/integration_new/helpers/mint.ts#L276
MintExecutionSimulationError: Simulation of mint plan failed
❯ executeMintFlow tests/integration_new/helpers/mint.ts:276:5
❯ mintWithRetries tests/integration_new/helpers/mint.ts:130:30
❯ testMint tests/integration_new/helpers/mint.ts:74:22
❯ testRedeem tests/integration_new/helpers/redeem.ts:57:9
❯ tests/integration_new/redeem/redeem.spec.ts:31:15
Caused by: Caused by: ContractFunctionExecutionError: The contract function "deposit" reverted with the following reason:
insufficient collateral
Contract Call:
address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA
function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])
args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3b0bc90e8c29c44bea9064fbe82a684072000000000000000000000000017addee000000000000000000000000b0764de7eef0ac69855c431334b7bc51a96e6dba000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000000","value":"0"}])
sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Docs: https://viem.sh/docs/contract/simulateContract
Version: viem@2.43.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:81:3
❯ simulateContract node_modules/viem/actions/public/simulateContract.ts:307:5
❯ simulateContract node_modules/@wagmi/core/src/actions/simulateContract.ts:154:31
❯ src/features/leverage-tokens/hooks/mint/useMintWrite.ts:33:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/simulateContract', metaMessages: [ 'Contract Call:', ' address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA\n function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])\n args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3b0bc90e8c29c44bea9
|
|
tests/integration_new/mint/mint.spec.ts > mint integration tests > mints RLP-USDC-6.75x shares on chain id 1:
tests/integration_new/helpers/mint.ts#L276
MintExecutionSimulationError: Simulation of mint plan failed
❯ executeMintFlow tests/integration_new/helpers/mint.ts:276:5
❯ mintWithRetries tests/integration_new/helpers/mint.ts:130:30
❯ testMint tests/integration_new/helpers/mint.ts:74:22
❯ tests/integration_new/mint/mint.spec.ts:18:15
Caused by: Caused by: ContractFunctionExecutionError: The contract function "deposit" reverted with the following reason:
insufficient collateral
Contract Call:
address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA
function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])
args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3b9447ff9b92174e919de2b41333ae2ac9000000000000000000000000017added000000000000000000000000b0764de7eef0ac69855c431334b7bc51a96e6dba000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000000","value":"0"}])
sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Docs: https://viem.sh/docs/contract/simulateContract
Version: viem@2.43.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:81:3
❯ simulateContract node_modules/viem/actions/public/simulateContract.ts:307:5
❯ simulateContract node_modules/@wagmi/core/src/actions/simulateContract.ts:154:31
❯ src/features/leverage-tokens/hooks/mint/useMintWrite.ts:33:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/simulateContract', metaMessages: [ 'Contract Call:', ' address: 0xb0764dE7eeF0aC69855C431334B7BC51A96E6DbA\n function: deposit(address leverageToken, uint256 collateralFromSender, uint256 flashLoanAmount, uint256 minShares, address multicallExecutor, (address target, uint256 value, bytes data)[])\n args: (0x6426811fF283Fa7c78F0BC5D71858c2f79c0Fc3d, 50000000000000000000, 453363605, 58758926296427459918, 0x16D02Ebd89988cAd1Ce945807b963aB7A9Fd22E1, [{"target":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x095ea7b30000000000000000000000006a000f20005980200259b80c5102003040001068000000000000000000000000000000000000000000000000000000001b05c795","value":"0"},{"target":"0x6a000f20005980200259b80c5102003040001068","data":"0xe37ed2560000000000000000000000018e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008e001d4bac0eae1eea348dfc22f9b8bda67dd211000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004956b52ae2ff65d74ca2d61207523288e4528f96000000000000000000000000000000000000000000000000000000001b05c7950000000000000000000000000000000000000000000000296979d87fec44a3ae0000000000000000000000000000000000000000000000296a894547f162fc3b9447ff9b92174e919de2b41333ae2ac9000000000000000000000000017added000000000000000000
|
|
Lint & Type Check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|