MCPcopy Create free account

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

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

↓ 39 callersFunctionhash_leaf
barretenberg/cpp/src/barretenberg/stdlib/merkle_tree/indexed_tree/indexed_tree.test.cpp:134
↓ 39 callersMethodincrement_num_gates
Increment the gate count by the specified amount
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:142
↓ 39 callersMethodput_constant_variable
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/ultra_circuit_builder.cpp:483
↓ 39 callersFunctionreadFile
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.cpp:11
↓ 39 callersMethodregisterContract
( instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr, )
yarn-project/end-to-end/src/test-wallet/worker_wallet.ts:161
↓ 39 callersMethodsaveState
* Saves a single transaction state for a specific account. * Does not save blob data (see saveBlobs). * @param account - The sender account addr
yarn-project/ethereum/src/l1_tx_utils/interfaces.ts:19
↓ 39 callersMethodstartNewCheckpoint
* Starts a new checkpoint. * @param checkpointIndex - The index of the checkpoint in the epoch. * @param constants - The constants for this chec
yarn-project/stdlib/src/interfaces/epoch-prover.ts:36
↓ 39 callersMethodstorePrivateEventLog
* Store a private event log. * @param eventSelector - The event selector of the event. * @param randomness - The randomness used for the event c
yarn-project/pxe/src/storage/private_event_store/private_event_store.ts:75
↓ 38 callersFunctionall
(source: Iterable<T> | AsyncIterable<T>)
yarn-project/foundation/src/iterable/all.ts:10
↓ 38 callersFunctionexpectSiblingPath
(leafValue: Buffer, expectedPath: Buffer[])
yarn-project/foundation/src/trees/unbalanced_merkle_tree_calculator.test.ts:17
↓ 38 callersMethodfromFields
* Create a Blob from an array of fields. * * @dev This method pads 0s to the data, extending it to the size of a full blob. * * @param fie
yarn-project/blob-lib/src/blob.ts:58
↓ 38 callersMethodgetBlobSidecar
Fetches the given blob sidecars by block hash and blob hashes.
yarn-project/blob-client/src/client/interface.ts:20
↓ 38 callersMethodgetLatestBlockNumber
()
yarn-project/archiver/src/store/block_store.ts:624
↓ 38 callersMethodgetProposerActions
* Get the actions the proposer should take for slashing. * @param slotNumber - The current slot number * @returns The actions to take
yarn-project/slasher/src/slasher_client_interface.ts:42
↓ 38 callersFunctionget_random_point
Create a random point based on InputType
barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp:106
↓ 38 callersMethodprocess_tag_parameters
barretenberg/cpp/src/barretenberg/vm2/tracegen/precomputed_trace.cpp:134
↓ 38 callersMethodrandom
()
yarn-project/foundation/src/curves/bls12/field.ts:195
↓ 38 callersMethodreadFieldArray
* Read an array of a fixed size field array. * * @param size - The fixed number of fields in the array. * @returns An array of fields.
yarn-project/foundation/src/serialize/field_reader.ts:154
↓ 37 callersMethodadd_two
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:583
↓ 37 callersFunctioncreateMeta
(txHash: string, priorityFee: bigint, nullifiers?: string[])
yarn-project/p2p/src/mem_pools/tx_pool_v2/eviction/nullifier_conflict_rule.test.ts:10
↓ 37 callersMethodcreate_range_constraint
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:919
↓ 37 callersMethodend_index
barretenberg/cpp/src/barretenberg/polynomials/polynomial.hpp:342
↓ 37 callersMethodenqueue
barretenberg/cpp/src/barretenberg/common/thread_pool.cpp:28
↓ 37 callersFunctionexpectDimensions
( builder: PrivateKernelResetPrivateInputsBuilder, actualDimensions: PrivateKernelResetDimensions,
yarn-project/pxe/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.test.ts:70
↓ 37 callersMethodget_origin_tag
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.hpp:358
↓ 37 callersMethodoff
(event: K, listener: TEventMap[K])
yarn-project/foundation/src/types/index.ts:51
↓ 37 callersFunctionprint_g1
(pointer: int, name: str)
barretenberg/sol/src/honk/optimised/generate_offsets.py:158
↓ 37 callersMethodreverse
barretenberg/cpp/src/barretenberg/polynomials/polynomial.cpp:299
↓ 37 callersMethodtryAddBlockProposal
* Attempts to add a block proposal to the pool. * * This method performs validation and addition in a single call: * - Checks if the proposal
yarn-project/p2p/src/mem_pools/attestation_pool/attestation_pool.ts:178
↓ 36 callersMethodaddPayload
(payload: SlashPayloadRound)
yarn-project/slasher/src/stores/payloads_store.ts:130
↓ 36 callersMethodbf
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.fuzzer.hpp:806
↓ 36 callersFunctioncreateMockState
(nonce: number, status: TxUtilsState = TxUtilsState.SENT)
yarn-project/node-lib/src/stores/l1_tx_store.test.ts:28
↓ 36 callersFunctiondebug_log
barretenberg/cpp/src/barretenberg/common/fuzzer.hpp:127
↓ 36 callersMethodgetCheckpoints
* Retrieves a collection of checkpoints. * @param checkpointNumber The first checkpoint to be retrieved. * @param limit The number of checkpoint
yarn-project/stdlib/src/block/l2_block_source.ts:100
↓ 36 callersMethodgetCommitted
* Gets a handle that allows reading the latest committed state
yarn-project/world-state/src/world-state-db/merkle_tree_db.ts:53
↓ 36 callersMethodgetLastFinalizedIndex
* Returns the last (highest) finalized index for a given secret. * @param secret - The secret to get the last finalized index for. * @returns Th
yarn-project/pxe/src/storage/tagging_store/sender_tagging_store.ts:240
↓ 36 callersMethodgetPendingOffenses
Returns all pending offenses
yarn-project/slasher/src/slasher_client_interface.ts:29
↓ 36 callersMethodgetTrueIndices
* Returns all indices which are set to true *
yarn-project/p2p/src/services/reqresp/protocols/block_txs/bitvector.ts:63
↓ 36 callersFunctionget_random_element
Gets a random bigfield element that may be either circuit-witness or cirucit-constant
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.test.cpp:150
↓ 36 callersFunctionloadContractArtifact
(input: NoirCompiledContract)
yarn-project/stdlib/src/abi/contract_artifact.ts:53
↓ 36 callersFunctionmockHashComputation
* Sets up mocks for the hash computation methods to return specific test hashes. * This allows us to test validation logic without recomputing hash
yarn-project/archiver/src/l1/calldata_retriever.test.ts:153
↓ 36 callersMethodnum_gates
Get the current number of gates in the circuit
barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/circuit_builder_base.hpp:139
↓ 36 callersMethodparse
barretenberg/cpp/src/barretenberg/bb/deps/cli11.hpp:8359
↓ 36 callersFunctionrandom_fields
barretenberg/cpp/src/barretenberg/vm2/testing/fixtures.cpp:23
↓ 36 callersFunctionrunSimulator
({ artifact, functionName, anchorBlockHeader, args = [], /** Notice that we're defaulting
yarn-project/pxe/src/contract_function_simulator/oracle/private_execution.test.ts:182
↓ 36 callersFunctionsave_buggy_witness
* @brief Saves witness data when a bug is found during verification * @param instruction_name Name of the instruction being tested * @param circuit
barretenberg/cpp/src/barretenberg/acir_formal_proofs/acir_loader.test.cpp:32
↓ 36 callersMethodsubspan
barretenberg/cpp/src/barretenberg/common/ref_span.hpp:60
↓ 36 callersMethodupdate_element
barretenberg/cpp/src/barretenberg/vm2/testing/test_tree.hpp:32
↓ 36 callersMethodwrite
* @brief Assert the membership of the current leaf value (same logic as assert_membership()). * Write the new leaf value in the tree, i.e., compute t
barretenberg/cpp/src/barretenberg/vm2/simulation/gadgets/merkle_check.cpp:73
↓ 35 callersFunctionbufferSchemaFor
( klazz: TClass, refinement?: (buf: Buffer) => boolean, )
yarn-project/foundation/src/schemas/utils.ts:101
↓ 35 callersMethodcheckAndRecord
* Check if a duty can be performed and acquire the lock if so. * * This method uses an atomic insert-or-get operation. * It will: * 1. Try
yarn-project/validator-ha-signer/src/slashing_protection_service.ts:73
↓ 35 callersFunctioncompareState
( fork: MerkleTreeWriteOperations, pathsToCheck: SiblingPath<number>[], expectedEqual: boole
yarn-project/world-state/src/native/native_world_state.test.ts:1565
↓ 35 callersFunctioncountAccumulatedItems
(arr: T[])
yarn-project/stdlib/src/kernel/utils/order_and_comparison.ts:8
↓ 35 callersFunctioncreateContext
(calldata: Fr[] = [])
yarn-project/simulator/src/public/avm/avm_simulator.test.ts:621
↓ 35 callersFunctioncreateEthereumChain
(rpcUrls: string[], _chainId: number | string)
yarn-project/ethereum/src/chain.ts:26
↓ 35 callersMethoddbl
barretenberg/cpp/src/barretenberg/stdlib/primitives/group/cycle_group.cpp:299
↓ 35 callersFunctionformat
(fmt, ...args)
yarn-project/kv-store/browser-stubs/util.js:10
↓ 35 callersMethodfromWire
(wireModes: number)
yarn-project/simulator/src/public/avm/opcodes/addressing_mode.ts:29
↓ 35 callersFunctiongetContractInstanceFromInstantiationParams
( artifact: ContractArtifact, opts: ContractInstantiationData, )
yarn-project/stdlib/src/contract/contract_instance.ts:117
↓ 35 callersMethodgetMeter
* Creates a new meter * @param name - The name of the meter.
yarn-project/telemetry-client/src/telemetry.ts:136
↓ 35 callersFunctiongetPrivateKeyFromIndex
(index: number)
yarn-project/end-to-end/src/fixtures/setup.ts:99
↓ 35 callersFunctionmakeArray
(length: number, fn: (i: number) => T, offset = 0)
yarn-project/stdlib/src/tests/factories.ts:1240
↓ 35 callersMethodreadBytes
* Reads a specified number of bytes from the buffer and returns a new Buffer containing those bytes. * Advances the reader's index by the number of
yarn-project/foundation/src/serialize/buffer_reader.ts:198
↓ 35 callersMethodrelease
()
yarn-project/foundation/src/queue/semaphore.ts:5
↓ 35 callersMethodsetTime
(timeMs: number)
yarn-project/foundation/src/timer/date.ts:30
↓ 35 callersMethodstop
()
yarn-project/bot/src/interface.ts:16
↓ 35 callersFunctionto_string
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/raw_data_dbs.cpp:21
↓ 35 callersFunctiontryStop
(service?: any, logger?: Logger)
yarn-project/stdlib/src/interfaces/service.ts:19
↓ 34 callersMethodadd_scaled
barretenberg/cpp/src/barretenberg/polynomials/polynomial.cpp:258
↓ 34 callersMethodequals
(rhs: Field)
yarn-project/simulator/src/public/avm/avm_memory_types.ts:210
↓ 34 callersFunctiongetContractClassFromArtifact
( artifact: ContractArtifact | ContractArtifactWithHash, )
yarn-project/stdlib/src/contract/contract_class.ts:17
↓ 34 callersMethodgetPeerForRequest
* Gets the peer responsible for handling a specific request index. * If the primary peer has previously failed for this index, tries other peers.
yarn-project/p2p/src/services/reqresp/connection-sampler/batch_connection_sampler.ts:56
↓ 34 callersFunctiongetVKTreeRoot
()
yarn-project/noir-protocol-circuits-types/src/artifacts/vks/tree.ts:13
↓ 34 callersMethodget_bit
barretenberg/cpp/src/barretenberg/numeric/uintx/uintx_impl.hpp:118
↓ 34 callersMethodisSoftDeleted
* Checks if a transaction is soft-deleted (either prune-based or slot-based).
yarn-project/p2p/src/mem_pools/tx_pool_v2/deleted_pool.ts:204
↓ 34 callersMethodnew
(fork: MerkleTreeCheckpointOperations)
yarn-project/world-state/src/native/fork_checkpoint.ts:11
↓ 34 callersMethodpow
barretenberg/cpp/src/barretenberg/ecc/fields/field2.hpp:125
↓ 34 callersMethodprocess_decomposition
* @brief Process bytecode decomposition events and populate the relevant columns in the trace. * Corresponds to bc_decomposition.pil. * * This tr
barretenberg/cpp/src/barretenberg/vm2/tracegen/bytecode_trace.cpp:37
↓ 34 callersMethodrequest
* Returns an execution request that represents this operation. * @param options - An optional object containing additional configuration for the re
yarn-project/aztec.js/src/contract/batch_call.ts:31
↓ 34 callersMethodself_reduce
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:2073
↓ 34 callersFunctionsiloNullifier
(contract: AztecAddress, innerNullifier: Fr)
yarn-project/stdlib/src/hash/hash.ts:57
↓ 34 callersMethodto_string
barretenberg/cpp/src/barretenberg/vm2/tooling/stats.cpp:36
↓ 33 callersFunctionadvanceState
(fork: MerkleTreeWriteOperations)
yarn-project/world-state/src/native/native_world_state.test.ts:1542
↓ 33 callersMethodbegin
Iterator support for range-based for (required by Codec)
barretenberg/cpp/src/barretenberg/commitment_schemes/pairing_points.hpp:47
↓ 33 callersMethodcollect
()
yarn-project/telemetry-client/src/prom_otel_adapter.ts:32
↓ 33 callersFunctioncreateSlashPayloadRound
(payload = createSlashPayload(), votes = 5n, round = 10n)
yarn-project/slasher/src/stores/payloads_store.test.ts:43
↓ 33 callersFunctioncreate_store
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_store.test.cpp:53
↓ 33 callersFunctionencodeToBytecode
(instructions: Bufferable[])
yarn-project/simulator/src/public/avm/serialization/bytecode_serialization.ts:159
↓ 33 callersMethodgetEthVersionedBlobHash
()
yarn-project/blob-lib/src/blob.ts:115
↓ 33 callersMethodgetRoot
* Returns the current root of the tree.
yarn-project/merkle-tree/src/snapshots/snapshot_builder.ts:29
↓ 33 callersMethodget_sibling_path
barretenberg/cpp/src/barretenberg/vm2/simulation/lib/hinting_dbs.cpp:198
↓ 33 callersMethodis_zero
barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.cpp:783
↓ 33 callersMethodset_at_key
barretenberg/cpp/src/barretenberg/lmdblib/lmdb_cursor.cpp:42
↓ 33 callersMethodset_gate_selector
* @brief Default implementation does nothing */
barretenberg/cpp/src/barretenberg/honk/execution_trace/mega_execution_trace.hpp:98
↓ 33 callersMethodset_memory_address
barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/memory_manager.cpp:86
↓ 33 callersMethodstop
()
yarn-project/p2p/src/services/reqresp/interface.ts:249
↓ 32 callersFunctionaligned_alloc
barretenberg/cpp/src/barretenberg/common/mem.hpp:42
↓ 32 callersMethodassert_equal
barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield_impl.hpp:1954
↓ 32 callersFunctionassert_failure
barretenberg/cpp/src/barretenberg/common/assert.cpp:11
↓ 32 callersFunctioncommit_tree
barretenberg/cpp/src/barretenberg/crypto/merkle_tree/indexed_tree/content_addressed_indexed_tree.test.cpp:239
← previousnext →501–600 of 24,401, ranked by callers