fix: update deploy scripts to load env with env-cmd #72
Annotations
2 errors and 4 warnings
src/tests/bridge.spec.ts > bridge token from L2 to L2 > should bridge tokens from 901 to 902:
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":"1732045614","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc00000000000000000000000000201e751029fd2aec3059e1c09124c94236008b000000000000000000000000292706eb627ee8c81308cfa2885f4bb99e90a02f000000000000000000000000292706eb627ee8c81308cfa2885f4bb99e90a02f0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)
sender: 0x292706eb627eE8C81308CFa2885F4bB99E90a02f
Docs: https://viem.sh/docs/contract/decodeErrorResult
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ estimateContractGas ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/public/estimateContractGas.ts:125:11
❯ baseWriteAction ../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected][email protected]_/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":"1732045614","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc00000000000000000000000000201e751029fd2aec3059e1c09124c94236008b000000000000000000000000292706eb627ee8c81308cfa2885f4bb99e90a02f000000000000000000000000292706eb627ee8c81308cfa2885f4bb99e90a02f0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)\n sender: 0x292706eb627eE8C81308CFa2885F4bB99E90a02f' ], shortMessage: 'The contract function "relayMessage" reverted with the following signature:\n0xb7d09497', version: '2.21.37', abi: [ { type: 'function', name: 'crossDomainMessageContext', inputs: [], outputs: [ { name: 'sender_
|
e2e-test
Process completed with exit code 1.
|
test
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/
|
typecheck
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/
|
lint
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/
|
e2e-test
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/
|