Create the batch collector account during bootstrap - #2566
Closed
Mirko-von-Leipzig wants to merge 14 commits into
Closed
Mirko-von-Leipzig wants to merge 14 commits into
Mirko-von-Leipzig wants to merge 14 commits into
Conversation
…-pass-through-account
…-pass-through-account
…-pass-through-account
…-pass-through-account
…-pass-through-account
…-pass-through-account
…-pass-through-account
Mirko-von-Leipzig
marked this pull request as ready for review
September 16, 2026 13:54
Mirko-von-Leipzig
requested review from
PhilippGackstatter,
igamigo and
kkovaacs
September 16, 2026 13:54
Collaborator
Author
|
Discussed offline, but it turns out this isn't required. The accounts can instead be generated outside of genesis, and given to the sequencer. Both accounts will self-deploy on the first transaction involving them. And the transaction fee for each will be paid by the tx fees collected. I'll amend these PRs. This does mean that there is an additional step for the sequencer to generate these accounts. Perhaps this can be part of bootstrapping - but this needs to be communicated well so that the accounts aren't lost. |
Mirko-von-Leipzig
removed this pull request from stack #2569
September 17, 2026 11:59
Mirko-von-Leipzig
added this pull request to stack #2641
September 17, 2026 12:01
…-pass-through-account
…-pass-through-account
PhilippGackstatter
approved these changes
Sep 18, 2026
Mirko-von-Leipzig
removed this pull request from stack #2641
September 18, 2026 09:45
Collaborator
Author
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.
Node bootstrap creates the batch builder's collection account and saves it with its signing key in
batch_builder_collection_account.macin the node data directory. The file retains the account's creation seed for deployment. Genesis contains neither the collection account nor the wallet account.The collector uses protocol's
AuthTxFeeCollectorto aggregate fee notes into a single P2ID note. Its state remains unchanged after deployment, so batch workers can use it concurrently. Authentication restricts use of the collector to the sequencer.Part of #2501.
Changelog