Skip to content

Conversation

@ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Feb 4, 2025

Motivation:

Upgrade script for Prooftra. Based on #1053, has to follow the following process:

  1. Pause checkpoint starting & credential proofs
  2. Upgrade after fork is hit
  3. Run script to detect the first timestamp at or after the pectra hard fork for which there is a non missed slot
  4. Set pectra fork timestamp to the first timestamp at which there is a pectra block header
  5. Unpause

Modifications:

v1.2.0 upgrade script. Key part is the offchain script

Result:

Prooftra upgrade.

@ypatil12 ypatil12 marked this pull request as ready for review February 4, 2025 23:39
@bowenli86
Copy link
Contributor

QQs: who will run the script and decide when to broadcast vs just dryrun it locally? or it it triggered via a CICD job?

@ypatil12
Copy link
Collaborator Author

ypatil12 commented Feb 6, 2025

QQs: who will run the script and decide when to broadcast vs just dryrun it locally? or it it triggered via a CICD job?

We do deployments in warroom call. It is not run in CI, run locally.

@ypatil12 ypatil12 marked this pull request as draft February 7, 2025 05:27
@ypatil12 ypatil12 added the 📜 Script Script-related changes (automation, tooling). label Feb 13, 2025
@ypatil12 ypatil12 force-pushed the yash/pectra-compatibility branch from b4852c7 to d3fac6a Compare February 16, 2025 18:18
@ypatil12 ypatil12 force-pushed the yash/prooftra-upgrade-script branch from 2119315 to 15302b2 Compare February 18, 2025 15:08
@ypatil12 ypatil12 marked this pull request as ready for review February 19, 2025 01:32
@ypatil12 ypatil12 force-pushed the yash/prooftra-upgrade-script branch from c050dee to 8f42c54 Compare February 22, 2025 02:56
@ypatil12 ypatil12 force-pushed the yash/prooftra-upgrade-script branch from cf01a19 to 19db583 Compare February 24, 2025 15:24
}

timestamp := blockResponse.Data.Message.Body.ExecutionPayload.Timestamp
fmt.Printf("Slot timestamp: %s\n", timestamp)
Copy link
Contributor

Choose a reason for hiding this comment

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

Good sanity test could be to assert this parsed out timestamp is >= to the fork timestamp based on the respective forkSlot

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will add post testnet :)

Base automatically changed from yash/pectra-compatibility to feat/prooftra February 24, 2025 16:46
@ypatil12 ypatil12 merged commit 0e006f2 into feat/prooftra Feb 24, 2025
10 checks passed
@ypatil12 ypatil12 deleted the yash/prooftra-upgrade-script branch February 24, 2025 16:47
ypatil12 added a commit that referenced this pull request Feb 24, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.
ypatil12 added a commit that referenced this pull request Feb 24, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.
ypatil12 added a commit that referenced this pull request Feb 24, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.
ypatil12 added a commit that referenced this pull request Mar 6, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.

feat: write phase 6 script timestamp to file
ypatil12 added a commit that referenced this pull request Mar 7, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.

feat: write phase 6 script timestamp to file
ypatil12 added a commit that referenced this pull request Mar 9, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.

feat: write phase 6 script timestamp to file
ypatil12 added a commit that referenced this pull request Mar 12, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.

feat: write phase 6 script timestamp to file
ypatil12 added a commit that referenced this pull request Mar 13, 2025
**Motivation:**

Updates the EigenPod proof system to be pectra compatible. This includes
updating container heights and support 0x02 withdrawal credentials. All
other Pectra updates will be addressed in a post-slashing upgrade.

**Modifications:**

- Functionality:
#1053
- Upgrade Script:
#1067

**Result:**

`v1.4.0`. _Note: The commits for the the `v1.4.0` deployment are
cherry-picked onto `v1.1.1` for testnet due to audit fixes not being
deployed yet. See:
#1156 for the
diff`
ypatil12 added a commit that referenced this pull request Apr 9, 2025
**Motivation:**

Upgrade script for Prooftra. Based on #1053, has to follow the following
process:

1. Pause checkpoint starting & credential proofs
2. Upgrade after fork is hit
3. Run script to detect the first timestamp at or after the pectra hard
fork for which there is a non missed slot
4. Set pectra fork timestamp to the first timestamp at which there is a
pectra block header
5. Unpause

**Modifications:**

`v1.2.0` upgrade script. Key part is the offchain script

**Result:**

Prooftra upgrade.

feat: write phase 6 script timestamp to file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📜 Script Script-related changes (automation, tooling).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants