-
Notifications
You must be signed in to change notification settings - Fork 826
Add Granite to the upgrade.Config
#3964
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
Conversation
There was a problem hiding this 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 |
maru-ava
left a comment
There was a problem hiding this 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
Why this should be merged
Allows us to start developing code targeting the G-upgrade.
How this works
Graniteto theupgrade.ConfigHow this was tested
CI
Need to be documented in RELEASES.md?