Skip to content

feat: add getExpectedOutput function #4

feat: add getExpectedOutput function

feat: add getExpectedOutput function #4

Triggered via push April 2, 2024 08:03
Status Failure
Total duration 39s
Artifacts

ci.yaml

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

Annotations

2 errors and 2 warnings
get-expected-output.test.ts > get expected output ask: test/get-expected-output.test.ts#L90
ContractFunctionExecutionError: Missing or invalid parameters. Double check you have provided the correct parameters. URL: https://sepolia-rollup.arbitrum.io/rpc Request body: {"method":"eth_call","params":[{"data":"0xb2912644000000000000000000000000000000000000000000000000000000000000002000000000000000007046d726568c7d808692dc2c3261d788af06bb07bd47a6db000000000000000000000002540be3fffffff9e33fc1174d40100bcf5d0a51bd000000000000000000000000000000000000000000000000000000003b9caa78000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000","to":"0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76"},"0x1c17a41"]} Raw Call Arguments: to: 0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76 data: 0xb2912644000000000000000000000000000000000000000000000000000000000000002000000000000000007046d726568c7d808692dc2c3261d788af06bb07bd47a6db000000000000000000000002540be3fffffff9e33fc1174d40100bcf5d0a51bd000000000000000000000000000000000000000000000000000000003b9caa78000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000 Contract Call: address: 0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76 function: getExpectedOutput((uint192 id, uint256 limitPrice, uint256 baseAmount, bytes hookData)) args: ({"id":"2753017174304248252793812478093441832431186343406437115611","limitPrice":"3402823669209384510661402727835368745704874463677","baseAmount":"1000123000","hookData":"0x0000000000000000000000000000000000000000000000000000000000000000"}) Docs: https://viem.sh/docs/contract/readContract Details: missing trie node 14ac05e2c10db447c7bb073c98b3f7e622a4b703bf6aa196a46cfe9b23f573d5 (path ) state 0x14ac05e2c10db447c7bb073c98b3f7e622a4b703bf6aa196a46cfe9b23f573d5 is not available, not found Version: [email protected] ❯ getContractError ../node_modules/viem/utils/errors/getContractError.ts:72:10 ❯ readContract ../node_modules/viem/actions/public/readContract.ts:128:11 ❯ isSpendResultEqual get-expected-output.test.ts:90:47 ❯ get-expected-output.test.ts:144:40 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'missing trie node 14ac05e2c10db447c7bb073c98b3f7e622a4b703bf6aa196a46cfe9b23f573d5 (path ) state 0x14ac05e2c10db447c7bb073c98b3f7e622a4b703bf6aa196a46cfe9b23f573d5 is not available, not found', docsPath: '/docs/contract/readContract', metaMessages: [ 'URL: https://sepolia-rollup.arbitrum.io/rpc', 'Request body: {"method":"eth_call","params":[{"data":"0xb2912644000000000000000000000000000000000000000000000000000000000000002000000000000000007046d726568c7d808692dc2c3261d788af06bb07bd47a6db000000000000000000000002540be3fffffff9e33fc1174d40100bcf5d0a51bd000000000000000000000000000000000000000000000000000000003b9caa78000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000","to":"0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76"},"0x1c17a41"]}', ' ', 'Raw Call Arguments:', ' to: 0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76\n data: 0xb2912644000000000000000000000000000000000000000000000000000000000000002000000000000000007046d726568c7d808692dc2c3261d788af06bb07bd47a6db000000000000000000000002540be3fffffff9e33fc1174d40100bcf5d0a51bd000000000000000000000000000000000000000000000000000000003b9caa78000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000', ' ', 'Contract Call:', ' address: 0x8676558Af8D8a4A7fd7fC6A7b435D231393a2A76\n function: getExpectedOutput((uint192 id, uint256 limitPrice, uint256 baseAmount, bytes hookData))\n args: ({"id":"2753017174304248252793812478093441832431186343406437115611","limitPrice":"3402823669209384510661402727835368745704874463677","baseAm
NPM Test (18.10)
Process completed with exit code 1.
Check TS (18.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
NPM Test (18.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.