feat: eigenda-nitro nodeConfig and ChainConfig types #1
build-test.yml
on: pull_request
Audit
41s
Check Formatting
40s
Test (Unit)
1m 10s
Test (Integration)
24m 6s
Annotations
21 errors and 3 warnings
Check Formatting
Process completed with exit code 1.
|
Audit
Process completed with exit code 1.
|
src/getBatchPosters.unit.test.ts > getBatchPosters returns all batch posters (Xai):
src/getBatchPosters.unit.test.ts#L151
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x7F68dba68E72a250004812fe04F1123Fca89aBa9",
- ]
+ Array []
❯ src/getBatchPosters.unit.test.ts:151:24
|
src/getBatchPosters.unit.test.ts > createRollupFunctionSelector > getBatchPosters returns all batch posters with isAccurate flag set to true:
src/getBatchPosters.unit.test.ts#L183
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x725D217057e509Dd284eE0e13aC846Cfea0B7BB1",
- ]
+ Array []
❯ src/getBatchPosters.unit.test.ts:183:26
|
src/getBatchPosters.unit.test.ts > createRollupFunctionSelector > getBatchPosters returns batch posters with isAccurate flag set to false when there are non-parsable calldata from event logs:
src/getBatchPosters.unit.test.ts#L214
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x725D217057e509Dd284eE0e13aC846Cfea0B7BB1",
- ]
+ Array []
❯ src/getBatchPosters.unit.test.ts:214:26
|
src/getValidators.unit.test.ts > getValidators return all validators (Xai):
src/getValidators.unit.test.ts#L148
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x25EA41f0bDa921a0eBf48291961B1F10b59BC6b8",
- ]
+ Array []
❯ src/getValidators.unit.test.ts:148:22
|
src/getValidators.unit.test.ts > createRollupFunctionSelector > getValidators return all validators with isAccurate flag set to true:
src/getValidators.unit.test.ts#L179
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x6a23CcC1c36D2aaA98AeF2a4471cf807DD22e45b",
- ]
+ Array []
❯ src/getValidators.unit.test.ts:179:24
|
src/getValidators.unit.test.ts > createRollupFunctionSelector > getValidators return all validators with isAccurate flag set to false:
src/getValidators.unit.test.ts#L210
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- Array [
- "0x6a23CcC1c36D2aaA98AeF2a4471cf807DD22e45b",
- ]
+ Array []
❯ src/getValidators.unit.test.ts:210:24
|
src/isAnyTrust.unit.test.ts > should return true for AnyTrust chain:
src/isAnyTrust.ts#L23
AbiFunctionSignatureNotFoundError: Encoded function signature "0xcb73d6e2" not found on ABI.
Make sure you are using the correct ABI and that the function exists on it.
You can look up the signature here: https://openchain.xyz/signatures?query=0xcb73d6e2.
Docs: https://viem.sh/docs/contract/decodeFunctionData.html
Version: [email protected]
❯ Module.decodeFunctionData node_modules/viem/utils/abi/decodeFunctionData.ts:59:11
❯ Module.isAnyTrust src/isAnyTrust.ts:23:7
❯ src/isAnyTrust.unit.test.ts:12:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/decodeFunctionData', metaMessages: undefined, shortMessage: 'Encoded function signature "0xcb73d6e2" not found on ABI.\nMake sure you are using the correct ABI and that the function exists on it.\nYou can look up the signature here: https://openchain.xyz/signatures?query=0xcb73d6e2.', version: '[email protected]', walk: 'Function<walk>' }
|
src/isAnyTrust.unit.test.ts > should return false for non AnyTrust chain:
src/isAnyTrust.ts#L23
AbiFunctionSignatureNotFoundError: Encoded function signature "0xcb73d6e2" not found on ABI.
Make sure you are using the correct ABI and that the function exists on it.
You can look up the signature here: https://openchain.xyz/signatures?query=0xcb73d6e2.
Docs: https://viem.sh/docs/contract/decodeFunctionData.html
Version: [email protected]
❯ Module.decodeFunctionData node_modules/viem/utils/abi/decodeFunctionData.ts:59:11
❯ Module.isAnyTrust src/isAnyTrust.ts:23:7
❯ src/isAnyTrust.unit.test.ts:25:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/decodeFunctionData', metaMessages: undefined, shortMessage: 'Encoded function signature "0xcb73d6e2" not found on ABI.\nMake sure you are using the correct ABI and that the function exists on it.\nYou can look up the signature here: https://openchain.xyz/signatures?query=0xcb73d6e2.', version: '[email protected]', walk: 'Function<walk>' }
|
Test (Unit)
Process completed with exit code 1.
|
src/createRollup.integration.test.ts:
src/createRollupPrepareTransactionRequest.ts#L81
EstimateGasExecutionError: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x3EaCb30f025630857aDffac9B2366F953eFE4F98
to: 0x3BaF9f08bAD68869eEdEa90F2Cc546Bd80F1A651
value: 0.125 ETH
data: 0xd1e1d36a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000005800000000000000000000000000000000000000000000000000000000000019999000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000005c00000000000000000000000003eacb30f025630857adffac9b2366f953efe4f980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d8a00008b104a2e80ac6165dc58b9048de12f301d70b02a0ab51396c22b4b4b802a16a40000000000000000000000003eacb30f025630857adffac9b2366f953efe4f98000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016fb6a40d500000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007080000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000546000000000000000000000000000000000000000000000000000000000000000e1000000000000000000000000000000000000000000000000000000000000002757b22686f6d657374656164426c6f636b223a302c2264616f466f726b426c6f636b223a6e756c6c2c2264616f466f726b537570706f7274223a747275652c22656970313530426c6f636b223a302c2265697031353048617368223a22307830303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030222c22656970313535426c6f636b223a302c22656970313538426c6f636b223a302c2262797a616e7469756d426c6f636b223a302c22636f6e7374616e74696e6f706c65426c6f636b223a302c2270657465727362757267426c6f636b223a302c22697374616e62756c426c6f636b223a302c226d756972476c6163696572426c6f636b223a302c226265726c696e426c6f636b223a302c226c6f6e646f6e426c6f636b223a302c22636c69717565223a7b22706572696f64223a302c2265706f6368223a307d2c22617262697472756d223a7b22456e61626c654172624f53223a747275652c22416c6c6f774465627567507265636f6d70696c6573223a66616c73652c2244617461417661696c6162696c697479436f6d6d6974746565223a747275652c22496e697469616c4172624f5356657273696f6e223a32302c2247656e65736973426c6f636b4e756d223a302c224d6178436f646553697a65223a32343537362c224d6178496e6974436f646553697a65223a34393135322c22496e697469616c436861696e4f776e6572223a22307833456143623330663032353633303835376144666661633942323336364639353365464534463938227d2c22636861696e4964223a39383730373332353134317d000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e
maxFeePerGas: 0.12 gwei
maxPriorityFeePerGas: 0 gwei
nonce: 41
Details: execution reverted
Version: [email protected]
❯ getEstimateGasError node_modules/viem/utils/errors/getEstimateGasError.ts:42:10
❯ estimateGas node_modules/viem/actions/public/estimateGas.ts:163:11
❯ prepareTransactionRequest node_modules/viem/actions/wallet/prepareTransactionRequest.ts:201:19
❯ Module.createRollupPrepareTransactionRequest src/createRollupPrepareTransactionRequest.ts:81:19
❯ Module.createRollup src/createRollup.ts:173:21
❯ Module.createRollupHelper src/testHelpers.ts:165:35
❯ src/createRollup.integration.test.ts:20:59
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
|
src/getBatchPosters.integration.test.ts > successfully get batch posters > when disabling the same batch posters multiple time:
src/getBatchPosters.integration.test.ts#L52
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/getBatchPosters.integration.test.ts:52:33
|
src/getBatchPosters.integration.test.ts > successfully get batch posters > when enabling the same batch poster multiple time:
src/getBatchPosters.integration.test.ts#L100
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/getBatchPosters.integration.test.ts:100:33
|
src/getBatchPosters.integration.test.ts > successfully get batch posters > when adding an existing batch poster:
src/getBatchPosters.integration.test.ts#L129
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/getBatchPosters.integration.test.ts:129:33
|
src/getBatchPosters.integration.test.ts > successfully get batch posters > when removing an existing batch poster:
src/getBatchPosters.integration.test.ts#L146
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/getBatchPosters.integration.test.ts:146:33
|
src/getKeysets.integration.test.ts > successfully get valid keysets > when disabling the same keyset multiple time:
src/createRollupPrepareTransactionRequest.ts#L81
EstimateGasExecutionError: Execution reverted for an unknown reason.
Estimate Gas Arguments:
from: 0x3EaCb30f025630857aDffac9B2366F953eFE4F98
to: 0x3BaF9f08bAD68869eEdEa90F2Cc546Bd80F1A651
value: 0.125 ETH
data: 0xd1e1d36a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000005800000000000000000000000000000000000000000000000000000000000019999000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000005c00000000000000000000000003eacb30f025630857adffac9b2366f953efe4f980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d8a00008b104a2e80ac6165dc58b9048de12f301d70b02a0ab51396c22b4b4b802a16a40000000000000000000000003eacb30f025630857adffac9b2366f953efe4f98000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c1f0345100000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007080000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000546000000000000000000000000000000000000000000000000000000000000000e1000000000000000000000000000000000000000000000000000000000000002757b22686f6d657374656164426c6f636b223a302c2264616f466f726b426c6f636b223a6e756c6c2c2264616f466f726b537570706f7274223a747275652c22656970313530426c6f636b223a302c2265697031353048617368223a22307830303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030222c22656970313535426c6f636b223a302c22656970313538426c6f636b223a302c2262797a616e7469756d426c6f636b223a302c22636f6e7374616e74696e6f706c65426c6f636b223a302c2270657465727362757267426c6f636b223a302c22697374616e62756c426c6f636b223a302c226d756972476c6163696572426c6f636b223a302c226265726c696e426c6f636b223a302c226c6f6e646f6e426c6f636b223a302c22636c69717565223a7b22706572696f64223a302c2265706f6368223a307d2c22617262697472756d223a7b22456e61626c654172624f53223a747275652c22416c6c6f774465627567507265636f6d70696c6573223a66616c73652c2244617461417661696c6162696c697479436f6d6d6974746565223a747275652c22496e697469616c4172624f5356657273696f6e223a32302c2247656e65736973426c6f636b4e756d223a302c224d6178436f646553697a65223a32343537362c224d6178496e6974436f646553697a65223a34393135322c22496e697469616c436861696e4f776e6572223a22307833456143623330663032353633303835376144666661633942323336364639353365464534463938227d2c22636861696e4964223a31313834333637393331337d000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e
maxFeePerGas: 0.12 gwei
maxPriorityFeePerGas: 0 gwei
nonce: 41
Details: execution reverted
Version: [email protected]
❯ getEstimateGasError node_modules/viem/utils/errors/getEstimateGasError.ts:42:10
❯ estimateGas node_modules/viem/actions/public/estimateGas.ts:163:11
❯ prepareTransactionRequest node_modules/viem/actions/wallet/prepareTransactionRequest.ts:201:19
❯ Module.createRollupPrepareTransactionRequest src/createRollupPrepareTransactionRequest.ts:81:19
❯ Module.createRollup src/createRollup.ts:173:21
❯ Module.createRollupHelper src/testHelpers.ts:165:35
❯ src/getKeysets.integration.test.ts:113:41
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
|
src/getValidators.integration.test.ts > successfully get validators > when disabling the same validator multiple time:
src/getValidators.integration.test.ts#L52
AssertionError: expected [] to have a length of 10 but got +0
- Expected
+ Received
- 10
+ 0
❯ src/getValidators.integration.test.ts:52:31
|
src/getValidators.integration.test.ts > successfully get validators > when enabling the same validators multiple time:
src/getValidators.integration.test.ts#L92
AssertionError: expected [] to have a length of 10 but got +0
- Expected
+ Received
- 10
+ 0
❯ src/getValidators.integration.test.ts:92:31
|
src/getValidators.integration.test.ts > successfully get validators > when adding an existing validator:
src/getValidators.integration.test.ts#L116
AssertionError: expected [] to have a length of 10 but got +0
- Expected
+ Received
- 10
+ 0
❯ src/getValidators.integration.test.ts:116:31
|
src/getValidators.integration.test.ts > successfully get validators > when removing an existing validator:
src/getValidators.integration.test.ts#L132
AssertionError: expected [] to have a length of 10 but got +0
- Expected
+ Received
- 10
+ 0
❯ src/getValidators.integration.test.ts:132:31
|
Check Formatting
Cache save failed.
|
Test (Unit)
Cache save failed.
|
Test (Integration)
Cache save failed.
|