Repository navigation
Proposal: RPC v2 account and synchronization API - #2869
Open
Mirko-von-Leipzig wants to merge 3 commits into
Open
Mirko-von-Leipzig wants to merge 3 commits into
Mirko-von-Leipzig wants to merge 3 commits into
Conversation
Mirko-von-Leipzig
requested review from
SantiagoPittella,
igamigo and
kkovaacs
November 2, 2026 09:16
Comment on lines
+55
to
+56
| // Immutable code addressed by its commitment. | ||
| rpc GetAccountCode(GetAccountCodeRequest) returns (GetAccountCodeResponse) {} |
Collaborator
Author
There was a problem hiding this comment.
This will change based on how the code registry plays out.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a proposed v2 service definition and usage proposal.
For discussion of API coverage before implementation. See the accompanying markdown file for more specifics.
Proposal summary
SyncAccountlets you sync an account's storage if it is small enough. Large accounts (defined by the server, some amount of map/vault entries) must use streamingSyncXxxmethods. The idea is that 99% of accounts can just useSyncAccount.Paginated methods are replaced by streaming equivalents.
GetAccountis broken up into more specific methods. Clients can request concurrently to maintain lower latency.More explicit/obvious support for lazy loading / FPI for data store usage e.g.
GetAccountWitness.Changelog