Open
Conversation
This was referenced Feb 26, 2024
AllFi
reviewed
Feb 27, 2024
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.
To support decentralized relayer architecture the transaction calldata format should be changed to support new fields such as
proxy addressandprover fee. The following major changes were introduced:TxOperatorentity to describe proxy and prover fees and proxy address.TxOperatoris a substitution forfeefield (libzkbob-rs)create_txto creating universal transaction calldata for both versions (libzkbob-rs)is_obsolete_poolto theUserAccountinitializers to support old memo format (libzkbob-rs,libzkbob-rs-wasm)ExtraItemstruct to describe additional user artefacts for the transaction.ExtraItemisn't implemented for now completely: it's a part of input transaction but will not be included in the output calldata (libzkbob-rs)libzkbob-rs-wasm)The following libraries versions will produced after the merging of this PR:
1.4.01.2.01.7.0New calldata format described here as a draft
libzkbob-rs-wasmlibrary was published as a beta (single-thread, multi-theread) and using in the following chain: