Skip to content

[WIP] feat: read PDG gindex getters from either contract layout - #300

Open
DiRaiks wants to merge 1 commit into
developfrom
feature/gloas-contracts
Open

[WIP] feat: read PDG gindex getters from either contract layout#300
DiRaiks wants to merge 1 commit into
developfrom
feature/gloas-contracts

Conversation

@DiRaiks

@DiRaiks DiRaiks commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Description

PDG renames GI_FIRST_VALIDATOR_PREV/CURR to GI_FIRST_VALIDATOR_PRE_GLOAS and GI_VALIDATORS when redeployed for Gloas. One vendored ABI serves mainnet and hoodi, which are upgraded at different times, so read whichever pair the deployment exposes and fail with both names listed when neither answers. Make the hoodi gindex pins layout-aware.

Demo

Code review notes

Testing notes

Checklist:

  • Checked the changes locally.
  • Created/updated unit tests.
  • Created/updated README.md.

PDG renames GI_FIRST_VALIDATOR_PREV/CURR to GI_FIRST_VALIDATOR_PRE_GLOAS
and GI_VALIDATORS when redeployed for Gloas. One vendored ABI serves
mainnet and hoodi, which are upgraded at different times, so read
whichever pair the deployment exposes and fail with both names listed
when neither answers. Make the hoodi gindex pins layout-aware.
@DiRaiks
DiRaiks requested a review from a team as a code owner August 14, 2026 12:09
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