Skip to content

chore(deps): bump gravity-aptos api-types to 69008fd0 (drop legacy consensusAlpha)#400

Open
nekomoto911 wants to merge 1 commit into
Galxe:mainfrom
nekomoto911:chore/bump-api-types-drop-consensusalpha
Open

chore(deps): bump gravity-aptos api-types to 69008fd0 (drop legacy consensusAlpha)#400
nekomoto911 wants to merge 1 commit into
Galxe:mainfrom
nekomoto911:chore/bump-api-types-drop-consensusalpha

Conversation

@nekomoto911

Copy link
Copy Markdown
Collaborator

Summary

Re-pin gravity-api-types from b1f68dc8 to 69008fd0 (Galxe/gravity-aptos#77).

gravity-aptos#77 removes the legacy consensusAlpha epoch key from the
consensus-hardfork framework (deletes
ConsensusHardforks::from_genesis_extra_fields), closing the audit
finding Galxe/gravity-audit#925. greth does not reference that reader or
any ConsensusHardfork type, so this is a source-only dependency bump —
no greth code change.

Why greth needs to move

gravity-sdk pins both gaptos and (transitively, through greth)
api-types at the same gravity-aptos rev. To pick up #77 it must bump
gaptos to 69008fd0; cargo refuses to [patch] the same git URL to a
different rev, so greth must re-pin api-types to the matching rev or the
workspace links two incompatible api-types copies. This bump keeps
greth and gaptos in lockstep, as prior bumps did (e.g. #679, #771).

Verification

  • cargo metadata --locked passes — the lockfile is consistent with the new rev (api-types' dependency set is unchanged by [feat] add metric when insert txn #77).
  • Diff is Cargo.toml + Cargo.lock, one rev line each; no code and no other dependency churn.
  • greth builds against the new api-types unchanged (the removed method is unused here); CI confirms.

Ref: Galxe/gravity-audit#925, Galxe/gravity-aptos#77

Re-pin `gravity-api-types` to Galxe/gravity-aptos#77, which removes the
legacy `consensusAlpha` epoch key from the consensus-hardfork framework
(Galxe/gravity-audit#925). greth does not use the removed reader
(`ConsensusHardforks::from_genesis_extra_fields`), so this is a
source-only dependency bump.

Lets gravity-sdk link a single `api-types` (this rev == its `gaptos` rev)
instead of two incompatible copies when it bumps both together.
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