MCPcopy Create free account

hub / github.com/base/base / functions

Functions16,503 in github.com/base/base

↓ 19 callersMethodset
Sets the estimate for the given resource kind.
crates/execution/metering/src/estimator.rs:196
↓ 19 callersFunctionsetup
Helper: spawns an Anvil instance and returns a [`NonceManager`] wired to the first default account.
crates/utilities/tx-manager/tests/nonce.rs:16
↓ 19 callersMethodskip
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:124
↓ 19 callersMethodtry_send
Attempts to queue a transaction if a permit is available. Returns `Ok(())` if a permit was available and the transaction was enqueued. Returns `Err((
crates/utilities/tx-manager/src/queue.rs:113
↓ 19 callersMethodwith_receipt_timeout
Sets the receipt timeout used after sending B-20 transactions.
etc/systems/src/b20.rs:87
↓ 19 callersMethodwith_unsafe_head
Sets the unsafe head
crates/consensus/engine/src/test_utils/engine_state.rs:42
↓ 18 callersMethodas_ref
(&self)
crates/common/rpc-types/src/transaction.rs:194
↓ 18 callersMethodat
Returns a handler for the element at the given index, or `None` if out of bounds.
crates/common/precompile-storage/src/types/vec.rs:218
↓ 18 callersMethodbuild_fill
Build the [`BaseTransaction`] with default values for missing fields. This is useful for testing and debugging where it is not necessary to have full
crates/common/evm/src/transaction/builder.rs:85
↓ 18 callersMethodclaim_next_proof_job
Atomically claim the next eligible worker proof job (`getNextProof`). Expired claims are reclaimable while `attempt < max_attempts`. Rows are locked
crates/proof/prover-service/db/src/repo.rs:574
↓ 18 callersMethodfinish
( self, )
crates/execution/engine-tree/src/cached_execution.rs:225
↓ 18 callersMethodget_block
retrieves a specific block by its number or tag and returns a list of transaction hashes from its body.
crates/builder/core/src/test_utils/driver.rs:292
↓ 18 callersMethodget_latest_block_number
(&self)
crates/execution/trie/tests/lib.rs:124
↓ 18 callersMethodhandle_admin_query
Handles the provided [`SequencerAdminQuery`], sending the response via the provided sender. This function is used to decouple admin API logic from the
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:54
↓ 18 callersMethodid
Returns the identifier of the payload.
crates/execution/payload/src/payload.rs:293
↓ 18 callersFunctionmake_token
()
crates/common/precompiles/src/b20_asset/dispatch.rs:522
↓ 18 callersMethodnext
Advance to the next distinct key from the current MDBX position and return its non-deleted latest version, if any. Next distinct key; if not positione
crates/execution/trie/src/db/cursor.rs:134
↓ 18 callersMethodoutput
(label: &'static str, input: Vec<u8>, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1058
↓ 18 callersMethodprovider
Returns a reference to the RPC provider.
crates/utilities/tx-manager/src/manager.rs:314
↓ 18 callersFunctionrpc_args
(args: &'static [&'static str])
bin/base/src/commands/rpc.rs:180
↓ 18 callersMethodscan
Scans for candidate games that need validation. Every call evaluates every factory index after the current anchor game. If the registry is still at i
crates/proof/challenge/src/scanner.rs:231
↓ 18 callersMethodtransact_raw
Executes `tx`, invoking the [`Inspector`] iff `self.inspect` is `true`. Uses [`InspectEvm::inspect_tx`] for the instrumented path and [`ExecuteEvm::tr
crates/common/evm/src/evm.rs:409
↓ 18 callersMethodwith
(&self, f: impl FnOnce(&[L1Block]) -> R)
actions/harness/src/l1/provider.rs:53
↓ 18 callersMethodwith_header
(&mut self, header: Sealed<Header>)
crates/execution/flashblocks/src/pending_blocks.rs:154
↓ 18 callersMethodwith_max_priority_fee_per_gas
Sets the EIP-1559 max priority fee per gas (tip).
crates/builder/core/src/test_utils/txs.rs:91
↓ 18 callersMethodwith_storage
(&self, f: F)
crates/common/precompile-storage/src/storage_ctx.rs:55
↓ 18 callersMethodwith_upgrades
Replaces the entire upgrade schedule with the supplied [`UpgradeConfig`]. Use this when a test needs fine-grained control over which forks are active
actions/harness/src/test_rollup_config.rs:86
↓ 17 callersMethodadvance
Advances the cursor to a new L1 origin and corresponding L2 tip.
crates/proof/driver/src/cursor.rs:84
↓ 17 callersMethodclone
(&self)
crates/execution/evm/src/config.rs:97
↓ 17 callersMethodcontains
Returns true if the value is in the set.
crates/common/precompile-storage/src/types/set.rs:190
↓ 17 callersMethodcraft_tx
Constructs and signs a single transaction from a [`TxCandidate`]. Steps: 1. Query gas price caps via [`suggest_gas_price_caps`](Self::suggest_gas_pri
crates/utilities/tx-manager/src/manager.rs:725
↓ 17 callersMethoddispatch
ABI-dispatches policy registry calldata. View (read-only) calls bypass the activation gate and remain accessible even when the feature is disabled. W
crates/common/precompiles/src/policy/dispatch.rs:21
↓ 17 callersMethodexecute_transaction
( &mut self, idx: usize, transaction: Recovered<BaseTxEnvelope>, )
crates/execution/flashblocks/src/state_builder.rs:133
↓ 17 callersMethodget
Returns a clone of the stored value, or `None` if the cell is empty.
crates/builder/core/src/flashblocks/generator.rs:425
↓ 17 callersMethodget_transaction_receipt
( &self, tx_hash: TxHash, )
crates/execution/flashblocks/src/rpc/eth.rs:227
↓ 17 callersMethodid
Returns the block ID.
crates/consensus/protocol/src/block.rs:45
↓ 17 callersMethodinput
Sets the input data for the transaction.
crates/common/rpc-types/src/transaction/request.rs:311
↓ 17 callersFunctioninternal
(message: impl Into<String>)
crates/proof/prover-service/src/server/mod.rs:122
↓ 17 callersMethodis_empty
Returns if the channel is empty.
crates/consensus/protocol/src/channel.rs:83
↓ 17 callersMethodread
Read a value from a length-prefixed bincode frame. The peer-supplied length can be up to `u64::MAX`. This is safe because all transport peers are loc
crates/proof/tee/nitro-enclave/src/transport.rs:70
↓ 17 callersMethodrollback
Rolls back the nonce reservation, restoring the cached nonce to the value that was reserved. For recycled nonces (from [`NonceState::returned_nonces`
crates/utilities/tx-manager/src/nonce.rs:373
↓ 17 callersFunctionsample_signed
(payer_present: bool)
crates/common/consensus/src/transaction/eip8130/signed.rs:521
↓ 17 callersFunctionsigner
()
crates/execution/txpool/src/two_d_nonce_pool.rs:565
↓ 17 callersFunctionsim_tx
(request: serde_json::Value)
crates/common/rpc-types/src/reth.rs:331
↓ 17 callersMethodtake
Takes (and clears) the per-phase statuses recorded by the most recent [`Self::set`] on this thread. Returns an empty vector in `no_std` builds.
crates/common/evm/src/eip8130_phase_statuses.rs:83
↓ 17 callersMethodunsafe_head
Returns the current unsafe head.
crates/consensus/engine/src/state/core.rs:41
↓ 17 callersMethoduri
(&self)
crates/infra/websocket-proxy/src/subscriber.rs:464
↓ 17 callersMethodwith_receipt
(&mut self, hash: B256, receipt: BaseTransactionReceipt)
crates/execution/flashblocks/src/pending_blocks.rs:238
↓ 16 callersMethodas_v1
Returns a reference to the V1 payload.
crates/common/rpc-types-engine/src/payload/mod.rs:379
↓ 16 callersMethodattributes
Returns the builder attributes.
crates/builder/core/src/flashblocks/context.rs:332
↓ 16 callersMethodbase
Set the base transaction builder based for `TxEnvBuilder`.
crates/common/evm/src/transaction/builder.rs:35
↓ 16 callersMethodcf
Returns a column family handle by name from this snapshot's database.
crates/execution/trie/src/db/rocksdb.rs:324
↓ 16 callersMethodconnect
Spawns a background task that forwards metering data to the builder RPC. RPC calls are dispatched concurrently (up to [`MAX_CONCURRENT_RPCS`]) so tha
crates/infra/ingress-rpc/src/lib.rs:195
↓ 16 callersMethodctx_mut
Returns a mutable reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:75
↓ 16 callersMethodencode_calldata
Encodes the transaction calldata using standard ABI encoding.
crates/consensus/protocol/src/base_time.rs:43
↓ 16 callersMethodfill
Fills in the pointers to the fetched blob bodies. There should be exactly one placeholder blobOrCalldata element for each blob, otherwise an error is
crates/consensus/derive/src/sources/blob_data.rs:145
↓ 16 callersMethodgenesis
Set the genesis block.
crates/execution/chainspec/src/builder.rs:40
↓ 16 callersMethodget_account_state
Returns the per-account [`AccountState`] (sequences + lock fields).
crates/execution/eip8130/src/account_config.rs:117
↓ 16 callersMethodinsert
Inserts a flashblock into the cache. Returns `true` if the flashblock was cached, `false` if it was rejected because its block number exceeds the cac
crates/execution/flashblocks/src/cache.rs:53
↓ 16 callersMethodis_enabled_in
Checks if the given Base upgrade is enabled in this spec.
crates/common/evm/src/spec.rs:33
↓ 16 callersMethodis_retryable
Returns true if this error is transient and the operation should be retried. Only transport-level errors (network issues, timeouts, connection failur
crates/proof/rpc/src/error.rs:74
↓ 16 callersFunctionk1_address
(key: &K256SigningKey)
crates/execution/eip8130/src/authorize.rs:249
↓ 16 callersFunctionk1_key
(byte: u8)
crates/execution/eip8130/src/authorize.rs:245
↓ 16 callersMethodlogs
Return the receipt logs.
crates/common/consensus/src/receipts/envelope.rs:134
↓ 16 callersMethodmine_and_push
Mine one L1 block and immediately push it to the given shared chain. Equivalent to calling `self.l1.mine_block()` followed by `chain.push(self.l1.tip
actions/harness/src/harness.rs:74
↓ 16 callersFunctionrun
Runs the `basectl p2p` command group.
bin/basectl/src/p2p.rs:24
↓ 16 callersMethodsend
Queues a transaction for sending, blocking if the queue is full. 1. Acquires a semaphore permit (blocks when at capacity). 2. Calls [`TxManager::send
crates/utilities/tx-manager/src/queue.rs:84
↓ 16 callersMethodset
(&self, _: T)
crates/utilities/metrics/src/noop.rs:11
↓ 16 callersMethodtx_type
(&self)
crates/common/evm/src/transaction/core.rs:103
↓ 16 callersFunctionvalid_pool_transaction
( transaction: BasePooledTransaction, )
crates/execution/txpool/src/two_d_nonce_pool.rs:606
↓ 16 callersMethodwait_for_token_code
Waits for a created token address to return non-empty bytecode.
etc/systems/src/b20.rs:234
↓ 16 callersMethodwith_block
Creates a new [`MockOriginSelectorProvider`].
crates/consensus/service/src/actors/sequencer/origin_selector.rs:297
↓ 16 callersMethodwith_flashblocks
(&mut self, flashblocks: impl IntoIterator<Item = Flashblock>)
crates/execution/flashblocks/src/pending_blocks.rs:147
↓ 16 callersMethodwith_fork
Add the given fork with the given activation condition to the spec.
crates/execution/chainspec/src/builder.rs:46
↓ 16 callersMethodwith_transaction
(&mut self, transaction: Transaction)
crates/execution/flashblocks/src/pending_blocks.rs:197
↓ 15 callersMethodactivate_feature_tx
Creates an activation registry `activate(feature)` transaction signed by the admin. The test rollup config sets `TEST_ACCOUNT_ADDRESS` as the activat
actions/harness/tests/beryl/env.rs:388
↓ 15 callersFunctionblock_with_parent
(num: u64)
crates/execution/exex/src/sync_target.rs:250
↓ 15 callersMethodbuild
Build the [`FrameQueue`].
crates/consensus/derive/src/test_utils/frames.rs:79
↓ 15 callersFunctioncanonical_session_id
Canonicalize a public proof request session id.
crates/proof/prover-service/db/src/models.rs:930
↓ 15 callersMethodclone
(&self)
crates/execution/rpc/src/engine.rs:258
↓ 15 callersFunctioncreate_bundle
(txs: Vec<Bytes>, block_number: u64, min_timestamp: Option<u64>)
crates/execution/metering/src/rpc.rs:636
↓ 15 callersMethodderive_blocks
Batches the supplied L2 blocks, derives each one, and asserts the final safe head.
actions/harness/tests/beryl/env.rs:540
↓ 15 callersFunctiondeserialize
(deserializer: D)
crates/common/rpc-types/src/receipt.rs:141
↓ 15 callersMethoddrain
Drain all in-flight futures up to the given deadline. Confirmed receipts call `pipeline.confirm` + `pipeline.advance_l1_head`. Failed or txpool-block
crates/batcher/core/src/submissions.rs:262
↓ 15 callersMethodencode_2718_len
(&self)
crates/common/consensus/src/receipts/envelope.rs:303
↓ 15 callersMethodencode_only
Drain the L2 source and forward all blocks to the driver, then flush. Performs steps 1–3 of [`advance`] without mining: sends all L2 blocks, sends [`
actions/harness/src/batcher/actor.rs:227
↓ 15 callersMethodholocene_active
Asserts that holocene is active.
crates/consensus/derive/src/test_utils/frames.rs:110
↓ 15 callersMethodid
Returns the proof request UUID regardless of outcome variant.
crates/proof/zk/db/src/models.rs:172
↓ 15 callersMethodinput
(&self)
crates/execution/txpool/src/transaction.rs:280
↓ 15 callersMethodinsert_block_with_transactions
Insert a block with transactions into the mock chain provider.
crates/consensus/derive/src/test_utils/chain_providers.rs:38
↓ 15 callersMethodinsert_validated
Inserts a validated channelized EIP-8130 transaction.
crates/execution/txpool/src/two_d_nonce_pool.rs:216
↓ 15 callersMethodis_jovian_active_at_timestamp
Returns `true` if [`Jovian`](BaseUpgrade::Jovian) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:63
↓ 15 callersMethodlen
Returns the number of stored entries.
crates/builder/metering/src/store.rs:73
↓ 15 callersMethodlen
Returns the number of distinct block numbers currently cached.
crates/execution/flashblocks/src/cache.rs:83
↓ 15 callersMethodlength
(&self)
crates/proof/mpt/src/node.rs:555
↓ 15 callersMethodrandom_valid_transfer
(self)
crates/builder/core/src/test_utils/utils.rs:42
↓ 15 callersMethodrecover_signer
Maps Ethereum `v` (27/28) to secp256k1 recovery parity, then recovers the signer.
crates/common/precompiles/src/common/ops/permittable.rs:77
↓ 15 callersMethodroot
Returns a shared reference to the root [`TrieNode`] of the trie DB.
crates/proof/executor/src/db/mod.rs:74
↓ 15 callersMethodset_earliest_block_number
( &self, block_number: u64, hash: B256, )
crates/execution/trie/src/db/store.rs:1067
↓ 15 callersFunctionsigned
(tx: TxEip8130, sender_auth: Vec<u8>, payer_auth: Vec<u8>)
crates/execution/eip8130/src/intrinsic.rs:405
← previousnext →301–400 of 16,503, ranked by callers