MCPcopy Create free account

hub / github.com/base/base / functions

Functions23,652 in github.com/base/base

↓ 5 callersFunctiondefault_config
Returns the default [Config] for gossipsub.
crates/consensus/gossip/src/config.rs:183
↓ 5 callersMethoddelta_pct
Percent change from base to head median, or None if either side is missing.
etc/scripts/ci/bench_compare.py:82
↓ 5 callersFunctiondeserialize
(deserializer: D)
crates/infra/zk-benchmarks/src/types.rs:22
↓ 5 callersMethoddialing
(&mut self, addr: &Multiaddr)
crates/consensus/gossip/src/gater.rs:365
↓ 5 callersFunctiondispatch
( storage: &mut HashMapStorageProvider, calldata: &[u8], )
crates/common/precompiles/src/nonce/dispatch.rs:59
↓ 5 callersFunctiondrain
(mut rx: mpsc::Receiver<ShadowWrite>)
crates/execution/shadow-indexer/src/exex.rs:316
↓ 5 callersFunctiondummy_block
()
crates/consensus/service/src/actors/l1_watcher/actor.rs:546
↓ 5 callersFunctiondummy_l2_block_info
Creates a dummy `L2BlockInfo` for testing
crates/consensus/service/src/actors/derivation/state_machine.rs:234
↓ 5 callersMethodeffective_multiplier
(&self, token: &B20AssetToken<S, A>)
crates/common/precompiles/src/b20_asset/logic/v2.rs:928
↓ 5 callersMethodeffective_multiplier
(&self, token: &B20AssetToken<S, A>)
crates/common/precompiles/src/b20_asset/logic/v3.rs:940
↓ 5 callersMethodeip2718_encoded_length
Get the length of the transaction when EIP-2718 encoded. This is the 1 byte type flag + the length of the RLP encoded transaction.
crates/common/consensus/src/transaction/deposit.rs:172
↓ 5 callersFunctioneip8130_pooled
( max_fee_per_gas: u128, max_priority_fee_per_gas: u128, gas_limit: u64, coinb
crates/execution/txpool/src/ordering.rs:428
↓ 5 callersMethodemit_transaction_event
( &self, tx_hash: TxHash, txpool_event: TxEvent, event_index: usize, e
crates/execution/txpool-tracing/src/tracker.rs:466
↓ 5 callersMethodencode
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/transaction/eip8130/signed.rs:641
↓ 5 callersMethodencode
(&self, out: &mut dyn alloy_rlp::BufMut)
crates/consensus/peers/src/enr.rs:100
↓ 5 callersMethodencode_2718
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/transaction/eip8130/signed.rs:731
↓ 5 callersMethodencoded_length
(&self)
crates/execution/txpool/src/transaction.rs:263
↓ 5 callersMethodengine
An Engine API client for the in-process builder node's authenticated IPC endpoint.
actions/harness/src/sequencer/builder_backend.rs:111
↓ 5 callersMethodengine
Direct access to the IPC-backed Engine API client.
crates/execution/runner/src/test_utils/harness.rs:150
↓ 5 callersMethodenqueue_unsafe_payload_insert
Enqueues an unsafe payload for serialized insertion.
crates/consensus/service/src/actors/engine/engine_request_processor.rs:340
↓ 5 callersMethodensure_initialized_and_get_counter
First-touch setup for the registry: writes the bytecode marker and the two built-in policies, then leaves the counter at [`Self::BUILTIN_POLICY_COUNT`
crates/common/precompiles/src/policy/logic/v2.rs:211
↓ 5 callersMethodenter
Enter the storage context. All storage operations must happen within the closure.
crates/common/precompile-storage/src/storage_ctx.rs:41
↓ 5 callersFunctionenvelope
`sigType(1) || authenticator(20) || data`.
crates/execution/eip8130/src/signature.rs:217
↓ 5 callersFunctioneoa_sig
65-byte `r || s || v` signature (`v` in `{27, 28}`, low-s) over `hash`.
crates/common/evm/src/eip8130.rs:1961
↓ 5 callersFunctioneverest_chain_spec
()
crates/execution/txpool/src/validator.rs:2323
↓ 5 callersMethodevict_over_capacity
Evicts the lowest-priority transactions until the sidecar fits its capacity, returning them so callers can release their guard slots. Only lane tails
crates/execution/txpool/src/two_d_nonce_pool.rs:494
↓ 5 callersFunctionevm
Builds a minimal EVM at `upgrade` (the capped precompile fns ignore the EVM, but their signature requires one).
crates/common/evm2/src/precompiles.rs:200
↓ 5 callersMethodevm_mut
Returns a mutable reference to the EVM, e.g. to seed accounts before execution.
crates/common/evm2/src/executor.rs:246
↓ 5 callersMethodexecute
(&self, state: &mut EngineState)
crates/consensus/engine/src/task_queue/tasks/task.rs:190
↓ 5 callersMethodexecute
Executes the parsed command and returns the stable process code.
acceptance/src/cli.rs:167
↓ 5 callersFunctionextension_handler
( accept_extensions: bool, )
crates/execution/txpool/src/builder/rpc.rs:629
↓ 5 callersFunctionfast_send_config
Config optimized for fast test execution: builds on [`fast_polling_config`] with a slower polling interval and a long resubmission timeout to prevent
crates/utilities/tx-manager/tests/send_lifecycle.rs:40
↓ 5 callersMethodfetch_previous_manifest
Fetches the most recent `manifest.json` from a prior run, if one exists. Looks for keys matching `{prefix}/{digits}/manifest.json` (where `{digits}`
crates/infra/snapshotter/src/upload.rs:803
↓ 5 callersMethodfetch_rpc_data_with_mode
Fetch arbitrary data from the RPC.
crates/proof/zk/witness/src/fetcher.rs:501
↓ 5 callersMethodflush
(&mut self)
crates/consensus/derive/src/stages/batch/batch_stream.rs:114
↓ 5 callersMethodflush
(&mut self)
crates/batcher/encoder/src/encoder.rs:580
↓ 5 callersMethodflush
(&self, writes: &[ShadowWrite])
crates/execution/shadow-indexer/src/writer.rs:29
↓ 5 callersFunctionflz_compress_len
Returns the length of the data after compression through `FastLZ`. The u32s match op-geth's Go port. <https://github.com/Vectorized/solady/blob/5315
crates/common/flz/src/flz.rs:51
↓ 5 callersMethodforce_defaults
Apply forced defaults for canonical hashing. These values are normalized to ensure deterministic hashing regardless of what values were originally pr
crates/proof/primitives/src/per_chain_config.rs:205
↓ 5 callersMethodfrom_block
Builds a humanized summary from an RPC block response.
crates/infra/basectl/src/commands/block.rs:117
↓ 5 callersFunctionfund
(db: &mut InMemoryDB, address: Address, balance: u64)
crates/execution/payload/src/affordability.rs:144
↓ 5 callersMethodgame_info
(&self, _: Address)
crates/proof/proposer/src/test_utils.rs:306
↓ 5 callersMethodgas_price
(&self)
crates/common/evm/src/transaction/core.rs:177
↓ 5 callersMethodgenesis_hash
(&self)
crates/execution/chainspec/src/spec.rs:645
↓ 5 callersMethodget_canonical_block_number
(&self)
crates/execution/flashblocks/src/pending_blocks.rs:787
↓ 5 callersFunctionget_chainspec
()
crates/execution/chainspec/src/basefee.rs:100
↓ 5 callersMethodget_earliest_block_number
(&self)
crates/execution/trie/src/db/store.rs:707
↓ 5 callersMethodget_holocene_extra_data
Extracts the extra data parameters post-Holocene upgrade. In Holocene, those parameters are the EIP-1559 base fee parameters.
crates/execution/payload/src/payload.rs:116
↓ 5 callersMethodget_logs
(&self, filter: Filter)
crates/execution/flashblocks/src/rpc/eth.rs:563
↓ 5 callersMethodget_proof
(&self, _request: GetProofRequest)
crates/infra/basectl/src/rpc/prover.rs:750
↓ 5 callersMethodget_sessions_for_request
Get all sessions for a proof request
crates/proof/prover-service/db/src/repo.rs:987
↓ 5 callersMethodget_unsafe_head
(&self)
crates/consensus/service/src/actors/sequencer/engine_client.rs:127
↓ 5 callersMethodhandle
Returns a state handle.
crates/consensus/service/src/test_utils/fake_safedb.rs:62
↓ 5 callersMethodhandle_build_tick
Dispatches one build-ticker tick to whichever of the three build states is active: a queued child build gated on its parent's timestamp, an in-flight
crates/consensus/service/src/actors/sequencer/actor.rs:730
↓ 5 callersMethodhandle_payload_ready
Wakes the seal ticker only for a frozen payload belonging to the active Denim build, and counts every other hint by the reason it was dropped.
crates/consensus/service/src/actors/sequencer/actor.rs:669
↓ 5 callersMethodharness
Returns a reference to a harness by node id.
crates/consensus/service/src/test_utils/driver.rs:62
↓ 5 callersMethodhas_role
(&self, role: B256, account: Address)
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:907
↓ 5 callersMethodhas_role
(&self, role: B256, account: Address)
crates/common/precompiles/src/b20_asset/logic/v2.rs:1227
↓ 5 callersFunctionhash_for
(number: u64)
crates/consensus/service/src/test_utils/invariant_tests.rs:43
↓ 5 callersFunctionhealthy_prover_instance
Builds a healthy test [`ProverInstance`].
crates/proof/tee/registrar/src/test_utils.rs:75
↓ 5 callersMethodheartbeat
Extend a claimed proof job lock. Single-attempt: host-side heartbeat loops own retry / lease budgets.
crates/proof/prover-service/client/src/worker.rs:126
↓ 5 callersMethodid
Returns a string identifier for this client (its IP address).
crates/infra/websocket-proxy/src/client.rs:39
↓ 5 callersFunctionincompressible
Returns `len` bytes that zstd cannot compress, so compressed offsets track tar offsets.
crates/execution/cli/src/commands/download/proofs/downloader.rs:222
↓ 5 callersMethodincrement_nonce
Increments the 2D nonce for `account` at `nonce_key`, returning the new value and emitting [`INonceManager::NonceIncremented`]. The pre-write value is
crates/common/precompiles/src/nonce/storage.rs:140
↓ 5 callersMethodinit_pool
Initialize database connection pool. # Errors Returns an error if the connection cannot be established.
crates/proof/prover-service/db/src/config.rs:57
↓ 5 callersMethodinsert
Imports the retrieved payload and waits for its canonical RPC view, without fixed sleeps.
crates/builder/multiplex/tests/payload_ready.rs:184
↓ 5 callersMethodinsert
Registers `hash` under every key in `watch`. If `hash` is already present its previous watch set is removed first, so the index always reflects the la
crates/execution/txpool/src/invalidation.rs:212
↓ 5 callersMethodinsert_block
Insert a known L2 block into the provider.
actions/harness/src/providers/l2.rs:85
↓ 5 callersMethodinsert_from_transactions
Validates, caches, and returns a block's millisecond timestamp from its transactions.
crates/execution/rpc/src/eth/base_time.rs:78
↓ 5 callersFunctioninsert_ready_proof
(manager: &mut TestManager)
crates/proof/challenge/src/proof_manager.rs:691
↓ 5 callersMethodinsert_validated_at
[`Self::insert_validated`] with the lane anchored at `cursor`, whose `next_nonce` may sit past `state_nonce` when another store holds the pending run
crates/execution/txpool/src/two_d_nonce_pool.rs:740
↓ 5 callersMethodinsert_with_flashblock
Registers an inclusive block and optional flashblock deadline.
crates/execution/txpool/src/block_expiry.rs:63
↓ 5 callersMethodinto_inner
Returns the underlying packed `U256` value.
crates/utilities/upgrade-signal/src/version.rs:60
↓ 5 callersMethodinto_payload
(self)
etc/systems/tests/shadow_blocks_reconciliation.rs:87
↓ 5 callersMethodinto_storage
Returns an iterator over all stored (address, slot, value) triples (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:441
↓ 5 callersFunctioninvalid_game_mocks
Builds the common L2, factory, and verifier mocks for an invalid-game scenario: starting=10, `l2_block=20`, interval=5, checkpoints at 15 and 20 with
crates/proof/challenge/tests/driver.rs:224
↓ 5 callersMethodis_active
Returns whether metering is enabled with a non-empty schedule.
crates/execution/payload/src/config.rs:207
↓ 5 callersMethodis_closed
Returns `true` if the manager has been closed via [`close`](Self::close).
crates/utilities/tx-manager/src/manager.rs:367
↓ 5 callersMethodis_empty
Checks if the pool is empty.
crates/infra/load-tests/src/workload/accounts.rs:94
↓ 5 callersMethodis_empty
Returns `true` if the store contains no entries.
crates/builder/metering/src/store.rs:84
↓ 5 callersMethodis_pending
(&self, nonce: u64)
crates/execution/txpool/src/two_d_nonce_pool.rs:96
↓ 5 callersMethodis_sequencer
Returns `true` if this is any sequencer variant.
crates/consensus/service/src/service/mode.rs:48
↓ 5 callersMethodis_valid
Returns `true` if the ENR is valid.
crates/consensus/peers/src/enr.rs:38
↓ 5 callersMethodkeep_scheduled
(&mut self)
crates/proof/host/src/handler.rs:522
↓ 5 callersMethodkind
Returns a bounded label suitable for logs that must not expose transport URLs or server-provided error details.
crates/proof/prover-service/client/src/error.rs:69
↓ 5 callersMethodl2_block_timestamp_parts
Returns the deterministic timestamp split into `(seconds, millis_part)`.
crates/common/genesis/src/rollup.rs:436
↓ 5 callersMethodl2_chain_provider
Sets the l2 chain provider for the pipeline.
crates/consensus/derive/src/pipeline/builder.rs:91
↓ 5 callersFunctionl2_provider
(server: &MockServer)
crates/consensus/providers/src/l2_chain_provider.rs:421
↓ 5 callersFunctionlanded
(tx_hash: TxHash, block_number: u64)
crates/infra/load-tests/src/metrics/collector.rs:466
↓ 5 callersMethodlane_transaction
Returns the live transaction at `nonce` in `lane_id`.
crates/execution/txpool/src/two_d_nonce_pool.rs:962
↓ 5 callersMethodlast_new_payload_v2
Returns the most recent `new_payload_v2` request, if any.
crates/consensus/engine/src/test_utils/engine_client.rs:383
↓ 5 callersMethodlaunch
Launches the execution node and returns its handle.
crates/execution/cli/src/node.rs:348
↓ 5 callersFunctionlaunch_rpc_server
Launches the jsonrpsee [`Server`]. With [`RpcBuilder::execution_forwarding_endpoint`] set, the server forwards the methods `module` does not register
crates/consensus/service/src/actors/rpc/actor.rs:76
↓ 5 callersMethodlen
Returns the number of indexed transactions.
crates/execution/payload/src/validity.rs:294
↓ 5 callersMethodlength
(&self)
crates/common/consensus/src/transaction/eip8130/tx.rs:474
↓ 5 callersMethodlist_by_number_range
Lists rows in an inclusive block-number range. # Errors Returns an error when the query fails.
crates/execution/shadow-indexer-db/src/repo.rs:242
↓ 5 callersMethodload_blobs
Loads blob data into the source if it is not open.
crates/consensus/derive/src/sources/blobs.rs:107
↓ 5 callersFunctionlocal_client
( latest: u64, safe: u64, finalized: u64, proofs_latest: u64, )
crates/consensus/service/src/follow/runtime.rs:454
↓ 5 callersMethodmaintain_partitions
Creates upcoming day partitions and drops expired ones. Uses a session advisory lock so only one replica changes partitions at a time. Returns an out
crates/infra/audit/src/transaction_events.rs:788
↓ 5 callersMethodmark_included_without_metering
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:118
← previousnext →2,001–2,100 of 23,652, ranked by callers