Skip to content

Block: extract static Header constructors #13218

Block: extract static Header constructors

Block: extract static Header constructors #13218

Triggered via pull request July 27, 2024 18:38
Status Failure
Total duration 2m 59s
Artifacts

block-build.yml

on: pull_request
Matrix: test-block
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/eip7685block.spec.ts > 7685 tests > should instantiate block with defaults: packages/block/src/block.ts#L104
TypeError: createHeader is not a function ❯ new Block src/block.ts:104:29 ❯ test/eip7685block.spec.ts:51:20
test/eip7685block.spec.ts > fromRPC tests > should construct a block from a JSON object: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ Module.createBlockFromRPC src/constructors.ts:330:10 ❯ test/eip7685block.spec.ts:155:33
test/from-rpc.spec.ts > [fromRPC]: block #2924874 > should create a block with transactions with valid signatures: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:30:19
test/from-rpc.spec.ts > [fromRPC]: block #2924874 > should create a block header with the correct hash: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ test/from-rpc.spec.ts:36:19
test/from-rpc.spec.ts > [fromRPC]: > Should create a block with json data that includes a transaction with value parameter as integer string: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:48:54
test/from-rpc.spec.ts > [fromRPC]: > Should create a block with json data that includes a transaction with defaults with gasPrice parameter as integer string: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:64:57
test/from-rpc.spec.ts > [fromRPC]: > should create a block given json data that includes a difficulty parameter of type integer string: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:79:38
test/from-rpc.spec.ts > [fromRPC]: > should create a block from london hardfork: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:94:19
test/from-rpc.spec.ts > [fromRPC]: > should create a block with uncles: packages/block/src/header-from-rpc.ts#L38
TypeError: createHeader is not a function ❯ Module.blockHeaderFromRpc src/header-from-rpc.ts:38:23 ❯ Module.createBlockFromRpc src/from-rpc.ts:51:18 ❯ test/from-rpc.spec.ts:104:19