Skip to content

fix: bump eval branch quota for BeaconStateView#32

Open
spiral-ladder wants to merge 1 commit into
mainfrom
bing/ebq
Open

fix: bump eval branch quota for BeaconStateView#32
spiral-ladder wants to merge 1 commit into
mainfrom
bing/ebq

Conversation

@spiral-ladder
Copy link
Copy Markdown
Contributor

We're introducing a lot of new properties in the BeaconStateView PR which is heavy on comptime evaluation.

Required for ChainSafe/lodestar-z#347

We're introducing a lot of new properties in the `BeaconStateView` PR
which is heavy on comptime evaluation.
@spiral-ladder spiral-ladder self-assigned this May 14, 2026
Comment thread src/js/wrap_class.zig
if (descriptor_count == 0) return &[0]napi.c.napi_property_descriptor{};

const descriptors = comptime blk: {
@setEvalBranchQuota(100_000);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be scaled based on descriptor_count, not just set to magic number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants