Skip to content

sui-sdk-types, sui-rpc: add EndOfEpochTransactionKind::ForwardingAddressRegistryCreate#288

Open
lxfind wants to merge 2 commits into
MystenLabs:masterfrom
lxfind:xun/forwarding-address-registry-create
Open

sui-sdk-types, sui-rpc: add EndOfEpochTransactionKind::ForwardingAddressRegistryCreate#288
lxfind wants to merge 2 commits into
MystenLabs:masterfrom
lxfind:xun/forwarding-address-registry-create

Conversation

@lxfind

@lxfind lxfind commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Description

Sui is adding a ForwardingAddressRegistry system object, created by a new end-of-epoch transaction kind at protocol version 131 (MystenLabs/sui#26891). That PR currently carries temporary todo!() stubs in its proto and SDK-type conversions because this repo's EndOfEpochTransactionKind has no matching variant; those stubs would panic once the transaction executes on devnet, so this needs to land and be picked up via a rev bump in the sui repo before protocol 131 activates.

Adds ForwardingAddressRegistryCreate (a data-less kind, like AddressAliasStateCreate) to:

  • sui_sdk_types::EndOfEpochTransactionKind (appended last for BCS compatibility)
  • the sui.rpc.v2 proto enum (FORWARDING_ADDRESS_REGISTRY_CREATE = 14), regenerated with make proto, plus the proto<->sdk-type conversions
  • the vendored GraphQL schema (union member + empty type), matching the schema change in the sui PR

lxfind added 2 commits July 17, 2026 21:25
…essRegistryCreate

Sui is adding a ForwardingAddressRegistry system object, created by a new
end-of-epoch transaction kind at protocol version 131 (MystenLabs/sui#26891).
Add the variant to sui_sdk_types::EndOfEpochTransactionKind, the sui-rpc proto
enum and conversions, and the vendored GraphQL schema, so the sui repo can
replace its temporary todo!() conversion stubs by bumping its pinned rev.
Rust 1.97's useless_borrows_in_formatting flags the &FIELDS borrows that
pbjson-build emits in serde expecting() impls (252 instances across the
generated files) plus a few hand-written sites, and question_mark flags a
manual if-let in FieldMaskTree. Fix the generator and regenerate, so the
lint job passes again; unrelated to the new transaction kind but blocking
this PR's CI.
@lxfind
lxfind marked this pull request as ready for review July 18, 2026 04:50
@lxfind
lxfind requested a review from bmwill as a code owner July 18, 2026 04:50
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