19#include "msgpack/adaptor/define_decl.hpp"
59 static std::vector<FF>
columns_to_flat(std::vector<std::vector<FF>>
const& columns);
67 throw std::invalid_argument(
68 "Flattened public inputs vector size does not match the expected combined length.");
74 typename std::vector<FF_>::const_iterator start =
77 typename std::vector<FF_>::const_iterator end =
#define AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH
#define AVM_NUM_PUBLIC_INPUT_COLUMNS
#define AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH
const std::vector< FF > data
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
std::vector< FF > nullifiers
MSGPACK_FIELDS(noteHashes, nullifiers, l2ToL1Messages)
std::vector< FF > noteHashes
bool operator==(const AccumulatedData &other) const =default
std::vector< ScopedL2ToL1Message > l2ToL1Messages
AppendOnlyTreeSnapshot stateAfter
AppendOnlyTreeSnapshot hintKey
bool operator==(const AppendLeavesHint &other) const =default
world_state::MerkleTreeId treeId
MSGPACK_FIELDS(hintKey, stateAfter, treeId, leaves)
bool operator==(const BytecodeCommitmentHint &other) const =default
MSGPACK_FIELDS(classId, commitment)
bool operator==(const CheckpointActionNoStateChangeHint &other) const =default
MSGPACK_FIELDS(actionCounter, oldCheckpointId, newCheckpointId)
MSGPACK_FIELDS(classId, artifactHash, privateFunctionsRoot, packedBytecode)
bool operator==(const ContractClassHint &other) const =default
std::vector< uint8_t > packedBytecode
ContractClassId currentContractClassId
MSGPACK_FIELDS(address, salt, deployer, currentContractClassId, originalContractClassId, initializationHash, publicKeys)
ContractClassId originalContractClassId
bool operator==(const ContractInstanceHint &other) const =default
PublicKeysHint publicKeys
std::vector< RevertCheckpointHint > revertCheckpointHints
std::vector< SequentialInsertHint< crypto::merkle_tree::NullifierLeafValue > > sequentialInsertHintsNullifierTree
GlobalVariables globalVariables
std::vector< ContractClassHint > contractClasses
std::vector< GetPreviousValueIndexHint > getPreviousValueIndexHints
std::vector< AppendLeavesHint > appendLeavesHints
MSGPACK_FIELDS(globalVariables, tx, contractInstances, contractClasses, bytecodeCommitments, startingTreeRoots, getSiblingPathHints, getPreviousValueIndexHints, getLeafPreimageHintsPublicDataTree, getLeafPreimageHintsNullifierTree, getLeafValueHints, sequentialInsertHintsPublicDataTree, sequentialInsertHintsNullifierTree, appendLeavesHints, createCheckpointHints, commitCheckpointHints, revertCheckpointHints)
std::vector< GetLeafPreimageHint< crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::NullifierLeafValue > > > getLeafPreimageHintsNullifierTree
std::vector< CommitCheckpointHint > commitCheckpointHints
std::vector< SequentialInsertHint< crypto::merkle_tree::PublicDataLeafValue > > sequentialInsertHintsPublicDataTree
std::vector< GetSiblingPathHint > getSiblingPathHints
std::vector< GetLeafValueHint > getLeafValueHints
std::vector< GetLeafPreimageHint< crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::PublicDataLeafValue > > > getLeafPreimageHintsPublicDataTree
std::vector< ContractInstanceHint > contractInstances
std::vector< BytecodeCommitmentHint > bytecodeCommitments
std::vector< CreateCheckpointHint > createCheckpointHints
TreeSnapshots startingTreeRoots
bool operator==(const ExecutionHints &other) const =default
LeafPreimage_ leafPreimage
bool operator==(const GetLeafPreimageHint< LeafPreimage_ > &other) const =default
MSGPACK_FIELDS(hintKey, index, leafPreimage)
AppendOnlyTreeSnapshot hintKey
MSGPACK_FIELDS(hintKey, treeId, index, value)
AppendOnlyTreeSnapshot hintKey
bool operator==(const GetLeafValueHint &other) const =default
world_state::MerkleTreeId treeId
world_state::MerkleTreeId treeId
AppendOnlyTreeSnapshot hintKey
MSGPACK_FIELDS(hintKey, treeId, value, index, alreadyPresent)
bool operator==(const GetPreviousValueIndexHint &other) const =default
MSGPACK_FIELDS(hintKey, treeId, index, path)
AppendOnlyTreeSnapshot hintKey
world_state::MerkleTreeId treeId
bool operator==(const GetSiblingPathHint &other) const =default
bool operator==(const PublicCallRequestWithCalldata &other) const =default
std::vector< FF > calldata
MSGPACK_FIELDS(request, calldata)
PublicCallRequest request
AffinePoint masterOutgoingViewingPublicKey
AffinePoint masterIncomingViewingPublicKey
bool operator==(const PublicKeysHint &other) const =default
MSGPACK_FIELDS(masterNullifierPublicKey, masterIncomingViewingPublicKey, masterOutgoingViewingPublicKey, masterTaggingPublicKey)
AffinePoint masterTaggingPublicKey
AffinePoint masterNullifierPublicKey
MSGPACK_FIELDS(actionCounter, oldCheckpointId, newCheckpointId, stateBefore, stateAfter)
TreeSnapshots stateBefore
bool operator==(const RevertCheckpointHint &other) const =default
AppendOnlyTreeSnapshot stateAfter
crypto::merkle_tree::LeafUpdateWitnessData< Leaf > lowLeavesWitnessData
AppendOnlyTreeSnapshot hintKey
bool operator==(const SequentialInsertHint< Leaf > &other) const =default
crypto::merkle_tree::LeafUpdateWitnessData< Leaf > insertionWitnessData
world_state::MerkleTreeId treeId
MSGPACK_FIELDS(hintKey, treeId, leaf, lowLeavesWitnessData, insertionWitnessData, stateAfter)
std::optional< PublicCallRequestWithCalldata > teardownEnqueuedCall
std::vector< PublicCallRequestWithCalldata > appLogicEnqueuedCalls
AccumulatedData revertibleAccumulatedData
AccumulatedData nonRevertibleAccumulatedData
MSGPACK_FIELDS(hash, gasSettings, effectiveGasFees, nonRevertibleAccumulatedData, revertibleAccumulatedData, setupEnqueuedCalls, appLogicEnqueuedCalls, teardownEnqueuedCall, gasUsedByPrivate, feePayer)
std::vector< PublicCallRequestWithCalldata > setupEnqueuedCalls
bool operator==(const Tx &other) const =default