-
-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc changes from eip-4844 branch #4924
Conversation
return this.produceBlockWrapper<BlockType.Full>(BlockType.Full, blockAttributes); | ||
} | ||
|
||
async produceBlindedBlock(blockAttributes: BlockAttributes): Promise<allForks.BlindedBeaconBlock> { | ||
produceBlindedBlock(blockAttributes: BlockAttributes): Promise<allForks.BlindedBeaconBlock> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary async function
@@ -14,7 +14,7 @@ import {IBeaconClock} from "./interface.js"; | |||
export class LocalClock implements IBeaconClock { | |||
private readonly config: IChainForkConfig; | |||
private readonly genesisTime: number; | |||
private timeoutId: NodeJS.Timeout; | |||
private timeoutId: number | NodeJS.Timeout; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows to compile with any recent @types/node version. Has caused issues when installing individual local packages like c-kzg
describe("utils / params / assertEqualParams", () => { | ||
it("default == default", () => { | ||
const chainConfigJson = chainConfigToJson(chainConfig); | ||
assertEqualParams(chainConfig, chainConfigJson); | ||
}); | ||
|
||
it("default != other", () => { | ||
const chainConfigJson = chainConfigToJson(chainConfig); | ||
const ALTAIR_FORK_EPOCH = 10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make test deterministic test independent of current values of the default chain spec
Performance Report✔️ no performance regression detected Full benchmark results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Motivation
They are valuable but barely deserve individual PRs. Feel free to 👎 if the scope of this PR is too wide and should be split or re-done
Description
Misc changes from eip-4844 branch