Skip to content

Conversation

@StephenButtolph
Copy link
Contributor

Why this should be merged

Allows us to start developing code targeting the G-upgrade.

How this works

  • Adds Granite to the upgrade.Config
  • Converts the "post-fortuna" e2e run to a "post-granite" e2e run

How this was tested

CI

Need to be documented in RELEASES.md?

@StephenButtolph StephenButtolph requested review from a team and rrazvan1 and removed request for a team May 15, 2025 15:35
@StephenButtolph StephenButtolph marked this pull request as ready for review May 15, 2025 15:35
Copilot AI review requested due to automatic review settings May 15, 2025 15:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the Granite network upgrade, enabling the system to target and trigger Granite-specific logic during upgrades and testing.

  • Adds GraniteTime field conversion in the RPC server and client
  • Updates configuration, test fixtures, and workflows to replace "Fortuna" with "Granite" where applicable
  • Updates proto and API documentation to include GraniteTime

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vms/rpcchainvm/vm_server.go Converts and assigns GraniteTime from the protobuf upgrades
vms/rpcchainvm/vm_client.go Includes GraniteTime in the initialization request
upgrade/upgradetest/fork.go Adds Granite to the network upgrade enum and updates Latest accordingly
upgrade/upgradetest/config.go Sets GraniteTime in configuration with fallthrough to Fortuna case
upgrade/upgrade.go Adds GraniteTime defaults in various upgrade configurations
tests/fixture/e2e/flags.go Replaces activateFortuna flag with activateGranite flag
tests/e2e/e2e_test.go Updates logic to activate Granite upgrade timing in e2e tests
proto/vm/vm.proto Adds granite_time field to the NetworkUpgrades message
api/info/service.md Updates API response examples to include graniteTime
.github/workflows/ci.yml Updates workflow and artifacts for Granite e2e tests

Copy link
Contributor

@maru-ava maru-ava left a comment

Choose a reason for hiding this comment

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

Testing/CI changes LGTM

@joshua-kim joshua-kim moved this to In Progress 🏗️ in avalanchego May 15, 2025
@StephenButtolph StephenButtolph enabled auto-merge May 15, 2025 20:46
@StephenButtolph StephenButtolph disabled auto-merge May 15, 2025 20:59
@StephenButtolph StephenButtolph merged commit ec5fe0c into master May 15, 2025
25 checks passed
@StephenButtolph StephenButtolph deleted the start-granite-release branch May 15, 2025 20:59
@github-project-automation github-project-automation bot moved this from In Progress 🏗️ to Done 🎉 in avalanchego May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants