Skip to content

feat: update api spec #447

feat: update api spec

feat: update api spec #447

Triggered via pull request October 23, 2024 07:08
Status Failure
Total duration 6h 0m 23s
Artifacts

ci.yaml

on: pull_request
Matrix: Check TS
Matrix: NPM Test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
NPM Test (18.10)
The job running on runner GitHub Actions 28 has exceeded the maximum execution time of 360 minutes.
open.test.ts > try open pool: src/apis/pool.ts#L79
ContractFunctionExecutionError: Position `320` is out of bounds (`0 < position < 320`). Contract Call: address: 0xCF556d850277BC579c99C0729F4E72e62C57D811 function: getPool(bytes32 key) args: (0x6cf422b2bb53aafd274d55740e6c8437055eba392cb2f69633c35462ab920bb7) Docs: https://viem.sh/docs/contract/multicall Version: [email protected] ❯ getContractError ../node_modules/viem/utils/errors/getContractError.ts:72:10 ❯ multicall ../node_modules/viem/actions/public/multicall.ts:271:23 ❯ Module.fetchPool ../src/apis/pool.ts:79:7 ❯ Module.getPool ../src/view.ts:190:16 ❯ open.test.ts:140:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/docs/contract/multicall', metaMessages: [ 'Contract Call:', ' address: 0xCF556d850277BC579c99C0729F4E72e62C57D811\n function: getPool(bytes32 key)\n args: (0x6cf422b2bb53aafd274d55740e6c8437055eba392cb2f69633c35462ab920bb7)' ], shortMessage: 'Position `320` is out of bounds (`0 < position < 320`).', version: '[email protected]', abi: [ { inputs: [ { internalType: 'contract IBookManager', name: 'bookManager_', type: 'address' }, { internalType: 'address', name: 'initialOwner_', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [ { internalType: 'address', name: 'target', type: 'address' } ], name: 'AddressEmptyCode', type: 'error' }, { inputs: [], name: 'AlreadyOpened', type: 'error' }, { inputs: [], name: 'ERC20TransferFailed', type: 'error' }, { inputs: [], name: 'FailedCall', type: 'error' }, { inputs: [ { internalType: 'uint256', name: 'balance', type: 'uint256' }, { internalType: 'uint256', name: 'needed', type: 'uint256' } ], name: 'InsufficientBalance', type: 'error' }, { inputs: [], name: 'InvalidAmount', type: 'error' }, { inputs: [], name: 'InvalidBookPair', type: 'error' }, { inputs: [], name: 'InvalidHook', type: 'error' }, { inputs: [], name: 'InvalidLockAcquiredSender', type: 'error' }, { inputs: [], name: 'InvalidLockCaller', type: 'error' }, { inputs: [], name: 'InvalidMaker', type: 'error' }, { inputs: [], name: 'InvalidStrategy', type: 'error' }, { inputs: [], name: 'InvalidTick', type: 'error' }, { inputs: [], name: 'InvalidValue', type: 'error' }, { inputs: [], name: 'LockFailure', type: 'error' }, { inputs: [], name: 'NativeTransferFailed', type: 'error' }, { inputs: [], name: 'NotSelf', type: 'error' }, { inputs: [ { internalType: 'address', name: 'owner', type: 'address' } ], name: 'OwnableInvalidOwner', type: 'error' }, { inputs: [ { internalType: 'address', name: 'account', type: 'address' } ], name: 'OwnableUnauthorizedAccount', type: 'error' }, { inputs: [], name: 'Paused', type: 'error' }, { inputs: [ { internalType: 'uint8', name: 'bits', type: 'uint8' }, { internalType: 'uint256', name: 'value', type: 'uint256' } ], name: 'SafeCastOverflowedUintDowncast', type: 'error' }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' } ], name: 'SafeERC20FailedOperation', type: 'error' }, { inputs: [], name: 'Slippage', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'address', name: 'spender', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256' }, { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' } ], name: 'Approval', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'user', type: 'address' }, { indexed: true, internalType: 'bytes32', name: 'key', type: 'bytes32' }, { indexed: false, internalType: 'uint256', name: 'amountA', type: 'uint256' }, { indexed: false, internalType: 'uint256', name: 'amountB', type: 'uint256' }, { indexed: false, internalType: 'uint256', name: 'lpAmount', type: 'uint256' } ], name: 'Burn', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'key', type: 'bytes32' }, { indexed: false, internalType: 'uint256', name: 'canceledAmountA', type: 'uint256' }, { indexed: false, internalType:
NPM Test (18.10)
The operation was canceled.
Check TS (18.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/