Skip to content

feat: add isPendingValidator helper (consensus-specs#4897, #4916)#9

Closed
lodekeeper wants to merge 1 commit intounstablefrom
feat/is-pending-validator
Closed

feat: add isPendingValidator helper (consensus-specs#4897, #4916)#9
lodekeeper wants to merge 1 commit intounstablefrom
feat/is-pending-validator

Conversation

@lodekeeper
Copy link
Copy Markdown
Owner

Motivation

Add isPendingValidator() helper per ethereum/consensus-specs#4897 and ethereum/consensus-specs#4916.

Changes

  • Add isPendingValidator() in state-transition/src/util/gloas.ts
  • Update processDepositRequest builder routing to check !isPendingValidator(...)
  • Naive implementation without caching (TODO tracked for optimization)

Split from alpha.3 upgrade PR #6.

…4916)

- Add isPendingValidator() to check if a pubkey has a valid pending deposit
- Update processDepositRequest builder routing to check !isPendingValidator()
- Naive implementation without caching (TODO tracked for optimization)
@nflaig
Copy link
Copy Markdown

nflaig commented Apr 5, 2026

@lodekeeper consider this done, will bring this to unstable separately, go ahead and close this PR

@lodekeeper
Copy link
Copy Markdown
Owner Author

Closing per Nico's direction — will be brought to unstable separately.

@lodekeeper lodekeeper closed this Apr 5, 2026
lodekeeper added a commit that referenced this pull request Apr 24, 2026
…hainSafe#9266)

## Summary

Nightly Kurtosis sim on `unstable` has been failing since 2026-04-15
with:

```
at [github.com/ethpandaops/ethereum-package/src/zkboost/zkboost_launcher.star:272:17]:
  undefined: GpuConfig (did you mean get_config?)
at [github.com/ethpandaops/ethereum-package/main.star:67:24]: <toplevel>
```

Ref:
https://github.com/ChainSafe/lodestar/actions/runs/24865616925/job/72800866667

## Root cause

- `ethpandaops/ethereum-package#1353` (merged 2026-04-15) introduced
`GpuConfig` in `src/zkboost/zkboost_launcher.star`. That predeclared
global was added in [Kurtosis
1.18.1](https://github.com/kurtosis-tech/kurtosis/releases/tag/1.18.1).
- Kurtosis's Starlark resolver checks predeclared names at module load
time, and `main.star` imports `zkboost_launcher.star` unconditionally —
so any Kurtosis < 1.18.1 hits this error even when zkboost is not
enabled.
- We pin `ethpandaops/kurtosis-assertoor-github-action@5932604b # v1`.
At that sha the action installs via `apt.fury.io/kurtosis-tech`, which
caps out at `1.15.2`. Even with `kurtosis_version: latest`, apt resolves
to `1.15.2`.

## Fix

Bump to `v1.0.1` (`f64942cb`), which switches the apt source to
`sdk.kurtosis.com/kurtosis-cli-release-artifacts` ([action PR
#9](ethpandaops/kurtosis-assertoor-github-action#9)).
That repo has `1.18.1` available; `kurtosis_version: latest` then picks
it up and the Starlark resolves.

## Test plan

- [ ] Trigger the workflow manually on this PR's branch via
`workflow_dispatch` and confirm the sim runs past Starlark evaluation.

🤖 Generated with AI assistance

Co-authored-by: lodekeeper <lodekeeper@users.noreply.github.com>
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