Merge pull request #56 from omahs/patch-1 #71
Annotations
2 errors and 1 warning
Run Tests:
packages/e2e-test/src/tests/bridge.spec.ts#L106
ContractFunctionExecutionError: The contract function "relayMessage" reverted with the following signature:
0xb7d09497
Unable to decode signature "0xb7d09497" as it was not found on the provided ABI.
Make sure you are using the correct ABI and that the error exists on it.
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xb7d09497.
Contract Call:
address: 0x4200000000000000000000000000000000000023
function: relayMessage((address origin, uint256 blockNumber, uint256 logIndex, uint256 timestamp, uint256 chainId), bytes _sentMessage)
args: ({"origin":"0x4200000000000000000000000000000000000023","logIndex":"2","blockNumber":"6","timestamp":"1731691984","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000040fc8e3cb47245baae006286e8ec177ff676c1c00000000000000000000000018cd08f1708b3fad57ebff174c242e97d3513db300000000000000000000000018cd08f1708b3fad57ebff174c242e97d3513db30000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)
sender: 0x18Cd08f1708b3FaD57EbFF174C242E97d3513Db3
Docs: https://viem.sh/docs/contract/decodeErrorResult
Version: viem@2.21.37
❯ getContractError ../../node_modules/.pnpm/viem@2.21.37_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ estimateContractGas ../../node_modules/.pnpm/viem@2.21.37_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/actions/public/estimateContractGas.ts:125:11
❯ baseWriteAction ../../node_modules/.pnpm/@eth-optimism+viem@0.0.11_viem@2.21.37_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@5.0.10_zod@3.23.8_/node_modules/@eth-optimism/viem/src/core/baseWriteAction.ts:89:9
❯ src/tests/bridge.spec.ts:106:34
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/decodeErrorResult', metaMessages: [ 'Unable to decode signature "0xb7d09497" as it was not found on the provided ABI.', 'Make sure you are using the correct ABI and that the error exists on it.', 'You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xb7d09497.', ' ', 'Contract Call:', ' address: 0x4200000000000000000000000000000000000023\n function: relayMessage((address origin, uint256 blockNumber, uint256 logIndex, uint256 timestamp, uint256 chainId), bytes _sentMessage)\n args: ({"origin":"0x4200000000000000000000000000000000000023","logIndex":"2","blockNumber":"6","timestamp":"1731691984","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000040fc8e3cb47245baae006286e8ec177ff676c1c00000000000000000000000018cd08f1708b3fad57ebff174c242e97d3513db300000000000000000000000018cd08f1708b3fad57ebff174c242e97d3513db30000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)\n sender: 0x18Cd08f1708b3FaD57EbFF174C242E97d3513Db3' ], shortMessage: 'The contract function "relayMessage" reverted with the following signature:\n0xb7d09497', version: '2.21.37', abi: [ { type: 'function', name: 'crossDomainMessageContext', inputs: [], outputs: [ { name: 'sender_
|
Run Tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading