Skip to content

sui-rpc: vendor ErrorReason NOT_SERVED_HERE and NOT_READY - #346

Draft
nickvikeras wants to merge 1 commit into
masterfrom
nickv/refusal-reasons
Draft

nickvikeras wants to merge 1 commit into
masterfrom
nickv/refusal-reasons

Conversation

@nickvikeras

Copy link
Copy Markdown
Collaborator

Vendor ErrorReason.NOT_SERVED_HERE (8) and NOT_READY (9) from MystenLabs/sui-apis#55 and regenerate the bindings. Servers will refuse requests they are not set up for with UNIMPLEMENTED + NOT_SERVED_HERE and temporary states with UNAVAILABLE + NOT_READY, each with a cause; the generated ErrorReason needs both values to decode them.

#326, #341, #344 and the PRs stacked on them contain this commit.

MystenLabs/sui-apis#55

Vendors sui-apis 84a84d3: NOT_SERVED_HERE (8, with UNIMPLEMENTED) for requests a server is not set up for, NOT_READY (9, with UNAVAILABLE) for temporary states, each with a `cause` in its metadata, and ABOVE_LATEST_AVAILABLE with UNAVAILABLE and bound "min_checkpoint" for an x-sui-min-checkpoint floor not reached in time.
@nickvikeras
nickvikeras force-pushed the nickv/refusal-reasons branch from 91a772a to c20455f Compare November 13, 2026 18:00

This branch has not been deployed

No deployments
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