MCPcopy Create free account

hub / github.com/base/base / functions

Functions23,652 in github.com/base/base

↓ 3 callersMethodtransient
(&self)
crates/common/precompile-storage/src/types/slot.rs:135
↓ 3 callersFunctiontransition
Details all valid state transitions.
crates/consensus/service/src/actors/derivation/state_machine.rs:66
↓ 3 callersMethodtransport
Converts a reqwest failure to a credential-free transport reason.
acceptance/src/check.rs:801
↓ 3 callersMethodtransports
Returns the configured enclave transports.
crates/proof/tee/nitro-host/src/pool.rs:96
↓ 3 callersMethodtrie_node_by_hash
(&self, _key: B256)
crates/proof/mpt/src/noop.rs:18
↓ 3 callersFunctiontruncate_hex
(value: String, prefix_len: usize)
crates/infra/basectl/src/app/views/upgrades.rs:2185
↓ 3 callersFunctiontruncate_hex
Truncates a hex string to fit within `max_width` characters, keeping the `0x` prefix and last 4 chars visible with an ellipsis in the middle. Shows th
crates/infra/basectl/src/app/views/transaction_pane.rs:329
↓ 3 callersMethodtry_build_next_block_with_transactions
Build the next L2 block, returning an error instead of panicking.
actions/harness/src/sequencer/driver.rs:191
↓ 3 callersMethodtry_increment
Attempts to reserve one slot for `account` against `cap`. Returns `true` and increments the count if the account is below `cap`; returns `false` and l
crates/execution/txpool/src/limits.rs:50
↓ 3 callersMethodtry_into_block
Converts [`BaseExecutionPayloadV4`] to [`Block`]. This performs the same conversion as the underlying V3 payload, but inserts the L2 withdrawals root
crates/common/rpc-types-engine/src/payload/v4.rs:56
↓ 3 callersMethodtry_set_hardfork_activation_condition
Sets a hardfork activation condition by contract hardfork ID after validating invariants.
crates/execution/chainspec/src/spec.rs:510
↓ 3 callersMethodtry_set_hardfork_activation_timestamp
Sets a timestamp-based hardfork activation condition by contract hardfork ID.
crates/execution/chainspec/src/spec.rs:492
↓ 3 callersMethodtwice_affine
(&mut self, point: &AffinePoint)
crates/proof/tee/registrar/src/hints.rs:241
↓ 3 callersMethodtx
(&self, call: impl SolCall)
actions/harness/tests/beryl/policy_registry.rs:688
↓ 3 callersMethodtx_acquisitions
Read-only transactions acquired since this wrapper was created. Used by integration tests to verify request-scoped transaction sharing.
crates/execution/trie/src/metrics.rs:359
↓ 3 callersMethodtxs
Constructs the Fjord network upgrade transactions.
crates/consensus/upgrades/src/fjord.rs:103
↓ 3 callersFunctionu32_to_u8
Convert a u32 array to a u8 array. Useful for converting the range vkey to a B256.
crates/proof/zk/utils/src/types.rs:104
↓ 3 callersFunctionunavailable_error
(message: impl Into<String>)
crates/proof/prover-service/client/src/requester.rs:427
↓ 3 callersMethodunpause
( &self, token: &mut B20AssetToken<S, A>, caller: Address, features: Vec<IB20:
crates/common/precompiles/src/b20_asset/logic/v2.rs:454
↓ 3 callersFunctionunsafe_payload_processor
( el_sync_finished: bool, unsafe_head: L2BlockInfo, safe_head: Option<L2BlockInfo>,
crates/consensus/service/src/actors/engine/engine_request_processor.rs:832
↓ 3 callersMethodunthrottled_usage
Calculates usage for an unthrottled transaction without applying it. Evaluate failures fail open: the method records [`ResourceThrottlingDecision::Ca
crates/execution/payload/src/config.rs:283
↓ 3 callersMethodunwind_history
(&self, to: BlockWithParent)
crates/execution/trie/tests/lib.rs:257
↓ 3 callersMethodupdate_accounts
Modifies the accounts in the storage trie with the given [`BundleState`] changeset. ## Takes - `bundle`: The [`BundleState`] changeset to apply to th
crates/proof/executor/src/db/mod.rs:164
↓ 3 callersMethodupdate_extra_metadata
( &self, token: &mut B20AssetToken<S, A>, caller: Address, key: String,
crates/common/precompiles/src/b20_asset/logic/v1.rs:647
↓ 3 callersMethodupdate_extra_metadata
( &self, token: &mut B20AssetToken<S, A>, caller: Address, key: String,
crates/common/precompiles/src/b20_asset/logic/v3.rs:782
↓ 3 callersMethodupdate_multiplier
( &self, token: &mut B20AssetToken<S, A>, caller: Address, new_multiplier: U25
crates/common/precompiles/src/b20_asset/logic/v1.rs:630
↓ 3 callersMethodupdate_origins
Updates the [`BatchValidator`]'s view of the L1 origin blocks. ## Takes - `parent`: The parent block of the current batch. ## Returns - `Ok(())` if
crates/consensus/derive/src/stages/batch/batch_validator.rs:81
↓ 3 callersMethodupdate_policy
( &self, token: &mut B20StablecoinToken<S, A>, caller: Address, policy_scope:
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:632
↓ 3 callersMethodupdate_safe_head
Updates the safe head and subtracts newly safe block bytes from the backlog.
crates/infra/basectl/src/app/state.rs:378
↓ 3 callersMethodupdate_supply_cap
( &self, token: &mut B20StablecoinToken<S, A>, caller: Address, new_cap: U256,
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:439
↓ 3 callersMethodupgrade
Returns the Base upgrade associated with this spec.
crates/common/precompiles/src/spec.rs:27
↓ 3 callersMethodupgrade_config
Returns the [`UpgradeConfig`] (Base upgrade activation timestamps) for this chain.
crates/common/chains/src/config.rs:361
↓ 3 callersFunctionupgrade_schedule
(signals: &[(BaseUpgrade, u64)])
crates/consensus/cli/src/node.rs:823
↓ 3 callersFunctionvalid_fcu
()
crates/consensus/engine/src/task_queue/tasks/consolidate/task_test.rs:101
↓ 3 callersFunctionvalid_payload_status
()
crates/consensus/engine/src/task_queue/tasks/insert/task.rs:437
↓ 3 callersMethodvalidate
Validates that the derived block and output root match the claim. # Errors Returns an error if the derived block number or computed output root does
crates/proof/client/src/epilogue.rs:28
↓ 3 callersMethodvalidate
Validate the worker configuration.
crates/proof/tee/nitro-host/src/config.rs:28
↓ 3 callersMethodvalidate
Validates envelope fields that are not guaranteed by Rust typing. Join keys are intentionally not required here because a few event types can be emit
crates/common/observability-events/src/event.rs:333
↓ 3 callersMethodvalidate
Checks that the full threshold is above the start threshold, and that every limit the throttle can produce stays within its `[lower, upper]` range and
crates/batcher/core/src/throttle.rs:63
↓ 3 callersMethodvalidate
(&self, max_items: usize)
crates/execution/txpool/src/validity.rs:632
↓ 3 callersMethodvalidate_against_state_and_deduct_caller
( &self, evm: &mut Self::Evm, _initial_and_floor_gas: &mut InitialAndFloorGas, )
crates/common/evm/src/handler.rs:117
↓ 3 callersFunctionvalidate_base_time_progression
( parent_timestamp: u64, parent_millis_part: u16, child_timestamp: u64, child_
crates/execution/node/src/engine.rs:766
↓ 3 callersMethodvalidate_cached_cert
( &self, cert: &CertPlan, signer_cancel: &CancellationToken, )
crates/proof/tee/registrar/src/signer_manager.rs:850
↓ 3 callersMethodvalidate_one
Validates a single transaction. See also [`TransactionValidator::validate_transaction`] This behaves the same as [`BaseTransactionValidator::validat
crates/execution/txpool/src/validator.rs:876
↓ 3 callersMethodvalidate_one_with_state
Validates a single transaction with a provided state provider. This allows reusing the same state provider across multiple transaction validations.
crates/execution/txpool/src/validator.rs:898
↓ 3 callersFunctionvalidate_sequential_discriminants
(data_enum: &DataEnum)
crates/common/precompile-macros/src/storable.rs:319
↓ 3 callersMethodvalidate_thresholds
Validates that warning thresholds are lower than failure thresholds.
crates/infra/basectl/src/commands/doctor.rs:87
↓ 3 callersFunctionvalidate_transaction_event
( raw_event: RawTransactionEvent, config: &TransactionEventIngestConfig, )
crates/infra/audit/src/transaction_events.rs:1848
↓ 3 callersFunctionvalidator_with_chain_spec
( chain_spec: BaseChainSpec, )
crates/execution/node/src/engine.rs:420
↓ 3 callersFunctionvalidity_instance
()
crates/builder/core/tests/transaction_events.rs:20
↓ 3 callersFunctionvalidity_pool
()
crates/execution/txpool-rpc/src/rpc.rs:697
↓ 3 callersMethodvariant_label
Returns the variant label used by metrics backends for calls without a variant.
crates/common/precompiles/src/metrics.rs:58
↓ 3 callersMethodverify_signature
Verifies that the signature recovers to the expected signer address.
crates/common/signer/src/signer.rs:126
↓ 3 callersFunctionversioned_hash_for
Computes the versioned hash for a blob using the KZG settings.
crates/consensus/providers/src/blobs.rs:290
↓ 3 callersMethodwait_for_messages_to_drain
(&self)
crates/infra/websocket-proxy/tests/integration.rs:192
↓ 3 callersFunctionwait_for_pending_transaction
Waits until the builder knows a transaction, proving forwarding completed.
etc/systems/tests/tx_forwarding.rs:45
↓ 3 callersFunctionwait_for_publication
Waits until the first transaction of `sender` is in the mempool, since `send_async` returns before it publishes.
crates/utilities/tx-manager/tests/common/mod.rs:75
↓ 3 callersMethodwait_until_idle
Wait until the driver has nothing left to do: everything sent so far is taken, encoded and submitted, and every receipt is applied.
actions/harness/src/batcher/actor.rs:252
↓ 3 callersFunctionwarmth_probe_loader_code
`JUMPDEST * WARMTH_PROBE_PAD_GAS` (each a 1-gas straight-line no-op) then `PUSH1 0; SLOAD; STOP`. The padding is *deployed* code, not transaction byte
crates/common/evm/src/eip8130.rs:1945
↓ 3 callersFunctionwarn_ignored_rpc_override
( override_url: Option<&Url>, flag: &str, target_kind: &str, layer: PeerLayer, )
crates/infra/basectl/src/commands/p2p.rs:459
↓ 3 callersFunctionwebauthn_blob
Builds an OZ-compatible `WebAuthn` blob (`abi.encode(WebAuthnAuth, x, y)`) that authenticates `hash`.
crates/execution/eip8130/src/dispatch.rs:421
↓ 3 callersFunctionwebsocket_handler
( state: ServerState, ws: WebSocketUpgrade, addr: SocketAddr, headers: HeaderMap, filter:
crates/infra/websocket-proxy/src/server.rs:221
↓ 3 callersFunctionwindow
Runs one fork-window wait against a scripted builder with a short poll interval.
acceptance/src/runner.rs:601
↓ 3 callersMethodwith_account_balance
(&mut self, address: Address, balance: U256)
crates/execution/flashblocks/src/pending_blocks.rs:243
↓ 3 callersMethodwith_activation_admin_address
(self, activation_admin_address: Option<Address>)
crates/proof/zk/utils/src/precompiles/mod.rs:131
↓ 3 callersMethodwith_additional_trusted_delegation_targets
Sets additional trusted delegation targets for balance-bounded locked payers.
crates/execution/node/src/node.rs:956
↓ 3 callersMethodwith_balance
Sets the account balance.
crates/infra/load-tests/src/workload/accounts.rs:29
↓ 3 callersMethodwith_base_zenith_activation_block
Sets the L2 block number at which the genesis-only Base Zenith testing gate activates.
etc/systems/src/smoke.rs:509
↓ 3 callersMethodwith_beryl_at
Sets the Beryl activation timestamp. Beryl is a standalone Base-specific fork, independent of the inherited fork cascade.
actions/harness/src/test_rollup_config.rs:167
↓ 3 callersMethodwith_block_time
Overrides the L2 block time in seconds.
actions/harness/src/test_rollup_config.rs:59
↓ 3 callersMethodwith_bootstore_file
Sets a bootstore file.
crates/consensus/disc/src/builder.rs:114
↓ 3 callersMethodwith_bridged_descendants
Registers queued standard transactions sitting right behind validity runs, to be yielded once the run in front of them has been.
crates/execution/txpool/src/best.rs:237
↓ 3 callersMethodwith_caller
Executes `f` with a temporary caller override, restoring the previous caller on exit.
crates/common/precompile-storage/src/storage_ctx.rs:216
↓ 3 callersMethodwith_cancellation
Sets the cancellation token.
crates/consensus/cli/src/node.rs:158
↓ 3 callersMethodwith_create
Sets the transaction to a contract creation (no recipient).
crates/builder/core/src/test_utils/txs.rs:49
↓ 3 callersMethodwith_deposit_contract
Overrides the L1 deposit contract address.
actions/harness/src/test_rollup_config.rs:77
↓ 3 callersMethodwith_events
Queue `events`, delivered in order before the source parks.
crates/batcher/core/src/test_utils/source.rs:46
↓ 3 callersMethodwith_extension
(mut self, extension: Box<dyn BaseNodeExtension>)
crates/builder/core/src/test_utils/instance.rs:159
↓ 3 callersMethodwith_guard_limits
Sets the per-account EIP-8130 admission caps.
crates/execution/node/src/node.rs:944
↓ 3 callersMethodwith_interval
Sets the interval to find peers.
crates/consensus/disc/src/builder.rs:144
↓ 3 callersMethodwith_isthmus_at
Sets the Isthmus activation timestamp. Typically chained after [`through_holocene`](Self::through_holocene) to schedule Isthmus at a specific future
actions/harness/src/test_rollup_config.rs:141
↓ 3 callersMethodwith_latest_block_context
( &mut self, latest_flashblock_tx_start: usize, latest_block_base: ExecutionPayloadBas
crates/execution/flashblocks/src/pending_blocks.rs:170
↓ 3 callersMethodwith_metering_provider
Pairs this validity config with a metering cache for insert.
crates/builder/core/src/extension.rs:47
↓ 3 callersMethodwith_payload_builder_cutover
Runs both payload builders and cuts selection from flashblocks to basic at Denim.
etc/systems/src/smoke.rs:535
↓ 3 callersMethodwith_pending_tag
Configures the nonce manager to use the `pending` block tag when fetching the initial nonce from chain.
crates/utilities/tx-manager/src/nonce.rs:102
↓ 3 callersMethodwith_proofs_history_prune_interval
Sets the interval between proof-storage prune runs.
crates/execution/exex/src/lib.rs:88
↓ 3 callersMethodwith_proofs_history_window
Sets the window to span blocks for proofs history.
crates/execution/exex/src/lib.rs:82
↓ 3 callersMethodwith_reset_recovery_support
Configures the harness so that engine `reset()` can succeed against the fakes. Reset flows through `find_starting_forkchoice_with_checkpoint_reader`,
crates/consensus/service/src/test_utils/builder.rs:193
↓ 3 callersMethodwith_resting_predicate_mode
(mut self, mode: RestingPredicateMode)
crates/builder/core/src/config.rs:267
↓ 3 callersMethodwith_sequencer
With a [`SequencerClient`].
crates/execution/node/src/node.rs:741
↓ 3 callersMethodwith_shadow_blocks_per_cycle
Sets the number of private blocks each shadow sequencer builds per reconciliation cycle. Defaults to [`DEFAULT_SHADOW_BLOCKS_PER_CYCLE`].
etc/systems/src/smoke.rs:598
↓ 3 callersMethodwith_shadow_sequencers
Runs `count` shadow sequencers alongside the active sequencer. Each shadow sequencer builds real blocks from its own mempool but signs them with a di
etc/systems/src/smoke.rs:591
↓ 3 callersMethodwith_shadow_validity
Enables the supplied shadow validity injection configuration.
crates/builder/core/src/extension.rs:41
↓ 3 callersMethodwith_validation_node
Adds an external Base execution client node that will receive all newly built blocks by this driver and ensure that they are valid. This validation pr
crates/builder/core/src/test_utils/driver.rs:84
↓ 3 callersMethodwith_validity_pool_limits
Sets the validity pool's capacity. Unset fields copy the pending subpool limit.
crates/execution/node/src/node.rs:950
↓ 3 callersMethodwith_validity_signature_mode
(mut self, mode: ValiditySignatureMode)
crates/execution/txpool-rpc/src/rpc.rs:185
↓ 3 callersMethodwith_validity_signature_mode
(mut self, mode: ValiditySignatureMode)
crates/execution/txpool/src/builder/rpc.rs:139
↓ 3 callersMethodwith_verification_interval
Sets the verification interval.
crates/execution/exex/src/lib.rs:94
↓ 3 callersMethodwith_wait_config
(mut self, poll_interval: Duration, max_wait: Duration)
crates/infra/basectl/src/rpc/prover.rs:315
↓ 3 callersFunctionwithdrawals_root
Computes the storage root of predeploy `L2ToL1MessagePasser.sol`. Uses state updates from block execution. See also [`withdrawals_root_prehashed`].
crates/execution/consensus/src/validation/isthmus.rs:27
← previousnext →3,801–3,900 of 23,652, ranked by callers