Skip to content
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

explicitly scope AttesterSlashing and IndexedAttestation types to phase0 #6224

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Apr 21, 2024

No semantic changes, deliberately so since it spams lots of single-line changes across 23 files.

Follow-up to #6223

Without this PR, introducing the Electra AttesterSlashing/TrustedAttesterSlashing and IndexedAttestation/TrustedIndexedAttestation types would trigger ambiguous identifier cascades, which this rather triggers in a safe, controlled way first, before making any nontrivial changes.

For example, because of nim-lang/Nim#23510 it's possible in general for such ambiguities in generic functions not to be detected, but to be automatically resolved to an essentially arbitrary type determined by import order. Diagnosing this on top of, and potentially reverting/reapplying a PR of this sort, would be disruptive and risky.

Therefore, split out this no-op of a PR, and build on top of it.

@tersec tersec enabled auto-merge (squash) April 21, 2024 03:35
@tersec tersec merged commit d139c92 into unstable Apr 21, 2024
12 checks passed
@tersec tersec deleted the y9U branch April 21, 2024 05:49
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.

1 participant