MCPcopy Create free account

hub / github.com/AztecProtocol/aztec-packages / functions

Functions24,401 in github.com/AztecProtocol/aztec-packages

↓ 93 callersMethodroot
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/merkle_tree.hpp:147
↓ 93 callersFunctiontoForeignCallResult
(obj: (ForeignCallSingle | ForeignCallArray)[])
yarn-project/txe/src/util/encoding.ts:152
↓ 90 callersMethodcreateHistogram
* Creates a new histogram instrument. A histogram is a metric that samples observations (usually things like request durations or response sizes) and
yarn-project/telemetry-client/src/telemetry.ts:109
↓ 90 callersMethodevaluate
barretenberg/cpp/src/barretenberg/polynomials/polynomial.cpp:187
↓ 90 callersFunctionmakeInputsUri
()
yarn-project/prover-client/src/proving_broker/fixtures.ts:14
↓ 90 callersMethodput
(key: Key, val: Uint8Array)
yarn-project/p2p/src/services/data_store.ts:62
↓ 90 callersFunctionsetup
()
docs/examples/ts/aztecjs_testing/index.ts:18
↓ 89 callersMethodassert_equal
barretenberg/cpp/src/barretenberg/stdlib/primitives/bool/bool.cpp:433
↓ 89 callersMethodgetTxByHash
Gets a transaction by its hash
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:190
↓ 89 callersMethodget_num_rows
barretenberg/cpp/src/barretenberg/vm2/tracegen/trace_container.cpp:94
↓ 89 callersFunctionmsgHashes
(numMsgs: number)
yarn-project/stdlib/src/messaging/l2_to_l1_membership.test.ts:19
↓ 89 callersMethodrandom
()
yarn-project/blob-lib/src/circuit_types/blob_accumulator.ts:86
↓ 88 callersMethodget_hash_inputs
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/written_slots_tree.cpp:33
↓ 88 callersMethodsignal_level
* @brief Signals that the given level has been passed * @param level The level to be signalled * */
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/signal.hpp:54
↓ 87 callersFunctionjsonStringify
(obj: unknown, prettify?: boolean)
yarn-project/foundation/src/json-rpc/convert.ts:20
↓ 86 callersFunctionexpectAddedTxs
(...txs: Tx[])
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:86
↓ 85 callersFunctioncheck_circuit_and_gate_count
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/test_utils.hpp:21
↓ 84 callersFunctionbufferToHex
(buffer: Buffer)
yarn-project/foundation/src/string/index.ts:24
↓ 84 callersFunctionend
* Once ended, no further items are added to queue. Consumers will consume remaining items within the queue. * The queue is not reusable after calli
yarn-project/foundation/src/queue/base_memory_queue.ts:100
↓ 84 callersMethodenqueueProvingJob
* Enqueues a proving job * @param job - The job to enqueue
yarn-project/stdlib/src/interfaces/prover-broker.ts:14
↓ 84 callersMethodset_if_valid_index
* @brief Like setting with at(), but allows zeroes to result in no set. */
barretenberg/cpp/src/barretenberg/polynomials/polynomial.hpp:377
↓ 83 callersMethodgetCheckpointNumber
* Method to fetch the latest checkpoint number synchronized by the node. * @returns The checkpoint number.
yarn-project/stdlib/src/interfaces/aztec-node.ts:246
↓ 83 callersFunctiontoArray
( iterator: Iterable<T> | AsyncIterableIterator<T> | AsyncIterable<T> | IterableIterator<T>, )
yarn-project/foundation/src/iterable/toArray.ts:1
↓ 82 callersMethodfromPlainObject
* Creates an instance from a plain object without Zod validation. * This method is optimized for performance and skips validation, making it suit
yarn-project/stdlib/src/avm/avm.ts:358
↓ 82 callersFunctionmake_thread_pool
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/fixtures.hpp:60
↓ 81 callersFunctiongetContract
( address: AztecAddress, maybeTimestamp?: UInt64, )
yarn-project/archiver/src/modules/data_source_base.ts:196
↓ 81 callersFunctiongetTelemetryClient
()
yarn-project/telemetry-client/src/start.ts:35
↓ 81 callersMethodisOK
()
yarn-project/stdlib/src/avm/revert_code.ts:46
↓ 81 callersFunctionmakeCost
(l2Gas: number, daGas: number)
yarn-project/simulator/src/public/avm/avm_gas.ts:50
↓ 81 callersMethodstorePendingIndexes
* Stores pending index ranges. * @remarks If the same (secret, txHash) pair already exists in the db with an equal range, it's a no-op. This is
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.ts:143
↓ 80 callersMethodis_point_at_infinity
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.hpp:96
↓ 80 callersFunctionmakeBlockHeader
( seed = 0, overrides: Partial<FieldsOf<Omit<BlockHeader, 'globalVariables'>>> & Partial<FieldsOf<GlobalVa
yarn-project/stdlib/src/tests/factories.ts:899
↓ 80 callersMethodprocess_cfg_instruction
barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/control_flow.cpp:210
↓ 79 callersMethodaddCheckpoints
* Append new cheskpoints to the store's list. * @param checkpoints - The L2 checkpoints to be added to the store. * @returns True if the operati
yarn-project/archiver/src/store/block_store.ts:227
↓ 79 callersMethodbuild
barretenberg/cpp/src/barretenberg/api/json_output.hpp:97
↓ 79 callersFunctionmakePublishedCheckpoint
( checkpoint: Checkpoint, l1BlockNumber: number, attestationCount = 3, )
yarn-project/archiver/src/test/mock_structs.ts:150
↓ 79 callersMethodpop
* Pops a value from the end of the array. * @returns The value that was popped, or undefined if the array was empty
yarn-project/kv-store/src/interfaces/array.ts:18
↓ 79 callersMethodself_set_infinity
barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp:511
↓ 79 callersMethodstop
()
yarn-project/ethereum/src/test/start_anvil.ts:14
↓ 79 callersMethodvalidateTx
(tx: T)
yarn-project/stdlib/src/tx/validator/tx_validator.ts:24
↓ 78 callersFunctioncheck_size
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:78
↓ 78 callersMethodclose
Stops the database
yarn-project/world-state/src/world-state-db/merkle_tree_db.ts:83
↓ 78 callersMethodfailed
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base_impl.hpp:162
↓ 78 callersMethoditer
()
barretenberg/cpp/scripts/llvm_xray_stack_flame_corrector.js:118
↓ 78 callersFunctionpromiseWithResolvers
()
yarn-project/foundation/src/promise/utils.ts:12
↓ 77 callersMethodget_precomputed
barretenberg/cpp/src/barretenberg/ultra_honk/prover_instance.hpp:90
↓ 76 callersMethoddescription
()
yarn-project/end-to-end/src/e2e_synching.test.ts:141
↓ 74 callersFunctionget_msb
barretenberg/cpp/src/barretenberg/numeric/bitop/get_msb.hpp:47
↓ 74 callersFunctionrandom_string
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/fixtures.hpp:30
↓ 74 callersFunctionrange
Helper to create a single-index range (lowestIndex === highestIndex).
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.test.ts:13
↓ 74 callersMethodrange
barretenberg/cpp/src/barretenberg/common/thread.hpp:152
↓ 74 callersFunctionupdateInlineTestData
(targetFileFromRepoRoot: string, itemName: string, value: string)
yarn-project/foundation/src/testing/files/index.ts:31
↓ 73 callersMethodadd_challenge
* @brief Add a single challenge label to the manifest for the given round * @details This appends to any existing challenges in the round */
barretenberg/cpp/src/barretenberg/transcript/transcript_manifest.hpp:45
↓ 73 callersFunctioncreateUpDownCounterWithDefault
( meter: Meter, metric: MetricDefinition, attributes: AttributeValuesMap | MetricAttributesType[] | unde
yarn-project/telemetry-client/src/metric-utils.ts:56
↓ 73 callersMethodcreate_add_gate
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:241
↓ 73 callersMethodhandleBlockStreamEvent
(event: L2BlockStreamEvent)
yarn-project/stdlib/src/block/l2_block_stream/interfaces.ts:17
↓ 73 callersFunctionmakeBlock
(txs: Tx[], header: BlockHeader)
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:189
↓ 73 callersMethodreject
(error: Error)
yarn-project/foundation/src/transport/transport_client.ts:24
↓ 72 callersMethodaddTxs
* Adds a list of transactions to the pool. Duplicates are ignored. * @param txs - An array of txs to be added to the pool. * @returns The number
yarn-project/p2p/src/mem_pools/tx_pool/tx_pool.ts:23
↓ 72 callersFunctionbooleanConfigHelper
( defaultVal = false, )
yarn-project/foundation/src/config/index.ts:241
↓ 72 callersFunctionget_tag_bits
barretenberg/cpp/src/barretenberg/vm2/common/tagged_value.cpp:162
↓ 72 callersFunctionprint_fr
(pointer:int , name: str)
barretenberg/sol/src/honk/optimised/generate_offsets.py:150
↓ 72 callersMethodstop
* Stops the service. * @returns An empty promise.
yarn-project/p2p/src/services/service.ts:93
↓ 72 callersFunctionteardown
()
yarn-project/end-to-end/src/fixtures/setup.ts:632
↓ 72 callersMethodzero
()
yarn-project/stdlib/src/tx/tx_hash.ts:61
↓ 71 callersMethoddirect_operand
(mut self, address: &MemoryAddress)
avm-transpiler/src/instructions.rs:166
↓ 71 callersMethodgetNotes
( owner: AztecAddress | undefined, storageSlot: Fr, numSelects: number, selectByIndexes: numbe
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:93
↓ 71 callersFunctioninitContext
(overrides?: { persistableState?: PublicPersistableStateManager; env?: AvmExecutionEnvironment; machineS
yarn-project/simulator/src/public/avm/fixtures/initializers.ts:28
↓ 71 callersFunctionmapFieldFromNoir
(field: NoirField)
yarn-project/noir-protocol-circuits-types/src/conversion/common.ts:116
↓ 71 callersFunctiontrackSpan
( spanName: string | ((this: T, ...args: Parameters<F>) => string), attributes?: AttributesType | ((this:
yarn-project/telemetry-client/src/telemetry.ts:201
↓ 70 callersMethodcommit
* Commits staged data to main storage. * Should be called within a transaction for atomicity. * * @param jobId - The job identifier
yarn-project/pxe/src/job_coordinator/job_coordinator.ts:18
↓ 70 callersMethodcreateAuthWit
* Computes an authentication witness from either a message hash * @param messageHash - The message hash to approve * @returns The authentication
yarn-project/entrypoints/src/interfaces.ts:69
↓ 70 callersMethoddecrease_container_depth
barretenberg/cpp/src/barretenberg/dsl/acir_format/serde/binary.hpp:205
↓ 70 callersMethodexecuteBytecode
(bytecode: Buffer)
yarn-project/simulator/src/public/avm/avm_simulator_interface.ts:6
↓ 70 callersMethodgetPendingTxHashes
Gets pending transaction hashes sorted by priority (highest first)
yarn-project/p2p/src/mem_pools/tx_pool_v2/interfaces.ts:202
↓ 70 callersMethodincrease_container_depth
barretenberg/cpp/src/barretenberg/dsl/acir_format/serde/binary.hpp:197
↓ 70 callersMethodupdate_element
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/nullifier_tree/nullifier_tree.cpp:60
↓ 68 callersMethodensureContractSynced
* Ensures a contract's private state is synchronized and that the PXE holds the current class artifact. * Uses a cache to avoid redundant sync oper
yarn-project/pxe/src/contract_sync/contract_sync_service.ts:65
↓ 68 callersMethodgetRoot
* Returns the current root of the tree. * @param includeUncommitted - Set to true to include uncommitted updates in the calculated root.
yarn-project/merkle-tree/src/interfaces/merkle_tree.ts:24
↓ 68 callersMethodget_hash_path
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/merkle_tree.hpp:165
↓ 68 callersFunctionhexToBuffer
(str: string)
yarn-project/foundation/src/string/index.ts:20
↓ 68 callersMethodopen
()
yarn-project/foundation/src/transport/interface/listener.ts:10
↓ 68 callersMethodread
(idx: number)
yarn-project/simulator/src/public/avm/calldata.ts:11
↓ 68 callersMethodsetL1BlockNumber
* Sets the current L1 block number. * Auto-updates pending checkpoint number based on visible checkpoints.
yarn-project/archiver/src/test/fake_l1_state.ts:285
↓ 68 callersMethodset_variable_name
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base_impl.hpp:58
↓ 68 callersMethodtryInsertOrGetExisting
* Atomically try to insert a new duty record, or get the existing one if present. * * @returns { isNew: true, record } if we successfully insert
yarn-project/validator-ha-signer/src/types.ts:166
↓ 67 callersFunctionexpectCheckpointed
(checkpointNumber?: number)
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:66
↓ 67 callersFunctionrange
(n: number, offset = 0)
yarn-project/foundation/src/array/array.ts:11
↓ 67 callersMethodwork
()
yarn-project/stdlib/src/block/l2_block_stream/l2_block_stream.test.ts:1730
↓ 66 callersMethodget_name
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:5977
↓ 66 callersMethodget_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp:705
↓ 66 callersFunctionmakeBlockProposal
(options?: MakeBlockProposalOptions)
yarn-project/stdlib/src/tests/mocks.ts:581
↓ 66 callersMethodsend_to_verifier
barretenberg/cpp/src/barretenberg/transcript/transcript.hpp:344
↓ 65 callersFunctionexpectNoCallbacks
()
yarn-project/p2p/src/mem_pools/tx_pool_v2/tx_pool_v2.test.ts:101
↓ 65 callersFunctionfn
(value: number)
yarn-project/foundation/src/collection/object.test.ts:6
↓ 65 callersMethodgetTreeInfo
* Returns information about the given tree. * @param treeId - The tree to be queried.
yarn-project/stdlib/src/interfaces/merkle_tree_operations.ts:125
↓ 65 callersMethodgroup
Changes the group membership
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:7170
↓ 65 callersMethodis_constant
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_scalar.cpp:210
↓ 65 callersMethodset_origin_tag
* @brief Set the origin tag for x, y and _is_infinity members of cycle_group * * @param tag */
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.hpp:144
↓ 64 callersMethodgetCapsule
(contractAddress: AztecAddress, key: Fr, scope: AztecAddress)
yarn-project/pxe/src/contract_function_simulator/oracle/interfaces.ts:155
← previousnext →201–300 of 24,401, ranked by callers