feat(ci): add ci checks #27
Annotations
4 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.
Error: MessageAlreadyRelayed()
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":"1730831981","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000e20d8c366ae0716ca88384fecbcbf8179581157d00000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b700000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)
sender: 0x09711FCd64BF8ADAAc7d9FeDC6C4fCD6cBcC85B7
Docs: https://viem.sh/docs/contract/estimateContractGas
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/estimateContractGas', metaMessages: [ 'Error: MessageAlreadyRelayed()', ' ', '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":"1730831981","chainId":"901"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000386000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000e20d8c366ae0716ca88384fecbcbf8179581157d00000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b700000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)\n sender: 0x09711FCd64BF8ADAAc7d9FeDC6C4fCD6cBcC85B7' ], shortMessage: 'The contract function "relayMessage" reverted.', version: '2.21.37', abi: [ { type: 'function', name: 'crossDomainMessageContext', inputs: [], outputs: [ { name: 'sender_', type: 'address', internalType: 'address' }, { name: 'source_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'crossDomainMessageSender', inputs: [], outputs: [ { name: 'sender_', type: 'address', internalType: 'address' } ], stateMutability: 'view' }, { type: 'function', name: 'crossDomainMessageSource', inputs: [], outputs: [ { name: 'source_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'messageNonce',
|
src/tests/bridge.spec.ts > bridge token from L2 to L2 > should bridge tokens from 902 to 901:
packages/e2e-test/src/tests/bridge.spec.ts#L106
ContractFunctionExecutionError: The contract function "relayMessage" reverted.
Error: MessageAlreadyRelayed()
Contract Call:
address: 0x4200000000000000000000000000000000000023
function: relayMessage((address origin, uint256 blockNumber, uint256 logIndex, uint256 timestamp, uint256 chainId), bytes _sentMessage)
args: ({"origin":"0x4200000000000000000000000000000000000023","logIndex":"7","blockNumber":"7","timestamp":"1730831983","chainId":"902"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000385000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000e20d8c366ae0716ca88384fecbcbf8179581157d00000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b700000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)
sender: 0x09711FCd64BF8ADAAc7d9FeDC6C4fCD6cBcC85B7
Docs: https://viem.sh/docs/contract/estimateContractGas
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/estimateContractGas', metaMessages: [ 'Error: MessageAlreadyRelayed()', ' ', 'Contract Call:', ' address: 0x4200000000000000000000000000000000000023\n function: relayMessage((address origin, uint256 blockNumber, uint256 logIndex, uint256 timestamp, uint256 chainId), bytes _sentMessage)\n args: ({"origin":"0x4200000000000000000000000000000000000023","logIndex":"7","blockNumber":"7","timestamp":"1730831983","chainId":"902"}, 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f3200000000000000000000000000000000000000000000000000000000000000385000000000000000000000000420000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000847cfd6dbc000000000000000000000000e20d8c366ae0716ca88384fecbcbf8179581157d00000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b700000000000000000000000009711fcd64bf8adaac7d9fedc6c4fcd6cbcc85b70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000)\n sender: 0x09711FCd64BF8ADAAc7d9FeDC6C4fCD6cBcC85B7' ], shortMessage: 'The contract function "relayMessage" reverted.', version: '2.21.37', abi: [ { type: 'function', name: 'crossDomainMessageContext', inputs: [], outputs: [ { name: 'sender_', type: 'address', internalType: 'address' }, { name: 'source_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'crossDomainMessageSender', inputs: [], outputs: [ { name: 'sender_', type: 'address', internalType: 'address' } ], stateMutability: 'view' }, { type: 'function', name: 'crossDomainMessageSource', inputs: [], outputs: [ { name: 'source_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'messageNonce',
|
src/tests/bridge.spec.ts > bridge token from L2 to L2 > should fail when trying to bridge more tokens than available balance:
packages/e2e-test/src/tests/bridge.spec.ts#L159
AssertionError: promise resolved "'0x3ee7602f193f9342fa7b7023c5c75a5ef6b…'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"0x3ee7602f193f9342fa7b7023c5c75a5ef6b837e3c24973e881502bc22fd7a81d"
❯ src/tests/bridge.spec.ts:159:7
|
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, jaxxstorm/[email protected]. 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, jaxxstorm/[email protected]. 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/
|