Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
16,503 in github.com/base/base
⨍
Functions
16,503
◇
Types & classes
2,815
↓ 9 callers
Method
fund_accounts
Creates `count` random signers, funds each with `amount` wei, and returns them.
crates/builder/core/src/test_utils/utils.rs:102
↓ 9 callers
Function
gen_l1_blocks
( start_num: u64, count: u64, start_timestamp: u64, interval: u64, )
crates/consensus/protocol/src/batch/span.rs:775
↓ 9 callers
Method
get_events
Returns emitted events for the given address (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:300
↓ 9 callers
Method
get_flashblocks
Get a snapshot of all received flashblocks
crates/builder/core/src/test_utils/instance.rs:423
↓ 9 callers
Method
get_l1_header
Fetch an L1 block header by ID.
crates/proof/succinct/utils/host/src/fetcher.rs:270
↓ 9 callers
Method
grant_role
Grants `role` to `account`, optionally bypassing authorization during factory init. The admin-resurrection guard (`ensure_role_admin_mutations_availa
crates/common/precompiles/src/common/ops/roles.rs:168
↓ 9 callers
Function
init_storage
(storage: BaseProofsStorage<S>)
crates/execution/exex/src/lib.rs:791
↓ 9 callers
Method
inner
Get the underlying storage.
crates/execution/trie/src/metrics.rs:290
↓ 9 callers
Method
insert
Record the block hash and optional state root for an L2 block number. Pass `Some(state_root)` when the block was produced by real EVM execution so th
actions/harness/src/common/block_hash_registry.rs:49
↓ 9 callers
Function
insert_into_word
( current: U256, value: &T, offset: usize, bytes: usize, )
crates/common/precompile-storage/src/packing.rs:108
↓ 9 callers
Method
into_precompile_result
ABI-encodes this error and wraps it as a [`PrecompileResult`] (revert or fatal error). Internal dispatch diagnostics use compact, non-ABI revert data
crates/common/precompile-storage/src/error.rs:115
↓ 9 callers
Method
is_canyon_active
Returns true if canyon is active for the payload.
crates/builder/core/src/flashblocks/context.rs:429
↓ 9 callers
Function
key
(byte: u8)
crates/execution/eip8130/src/verify.rs:174
↓ 9 callers
Function
l2_block_info
Helper to create an [`L2BlockInfo`] for testing.
crates/consensus/safedb/src/db.rs:276
↓ 9 callers
Method
latest_header
(&self)
crates/execution/flashblocks/src/pending_blocks.rs:498
↓ 9 callers
Method
latest_version_for_key
Resolve the latest version for `key` with `block_number` <= `max_block_number`. Strategy: - `seek_by_key_subkey(key, max)` gives first dup >= max. - i
crates/execution/trie/src/db/cursor.rs:60
↓ 9 callers
Method
load
Load config by name or path Resolution order: 1. Built-in config as base (if name matches "mainnet", "sepolia", or "devnet") 2. User config at ~/.con
crates/infra/basectl/src/config.rs:668
↓ 9 callers
Method
lock_state
(&self)
crates/proof/host/src/handler.rs:283
↓ 9 callers
Function
make_block
Helper to build a minimal [`BaseBlock`] with a given number and parent hash.
crates/batcher/source/src/hybrid.rs:218
↓ 9 callers
Function
make_token
()
crates/common/precompiles/src/common/ops/configurable.rs:89
↓ 9 callers
Function
new_attributes_queue
( cfg: Option<RollupConfig>, origin: Option<BlockInfo>, batches: Vec<PipelineResult<Si
crates/consensus/derive/src/stages/attributes_queue.rs:247
↓ 9 callers
Function
new_batch_reader
()
crates/consensus/derive/src/stages/batch/batch_queue.rs:500
↓ 9 callers
Method
next
Attempts to select the next event from the Swarm.
crates/consensus/gossip/src/driver.rs:240
↓ 9 callers
Method
number
(&self)
crates/consensus/protocol/src/info/bedrock_base.rs:45
↓ 9 callers
Function
parse_config
(tokens: TokenStream2)
crates/common/precompile-macros/src/precompile.rs:232
↓ 9 callers
Method
part
Adds a stable component to the ID hash.
crates/common/observability-events/src/id.rs:18
↓ 9 callers
Method
payer_signature_hash
Signing-hash preimage for the payer, per [EIP-8130]. `keccak256(EIP8130_PAYER_TYPE || rlp([all body fields through `payer`]))` with the `sender` slot
crates/common/consensus/src/transaction/eip8130/tx.rs:291
↓ 9 callers
Method
prepare_payload_attributes
( &mut self, l2_parent: L2BlockInfo, epoch: BlockNumHash, )
crates/consensus/derive/src/attributes/stateful.rs:68
↓ 9 callers
Function
proof_result
(target_block: u64)
crates/proof/proposer/src/proof_submitter.rs:443
↓ 9 callers
Function
public_key_to_address
Converts a secp256k1 public key to an Ethereum address.
crates/execution/trie/tests/live.rs:32
↓ 9 callers
Method
read_exact
(&self, buf: &mut [u8])
crates/proof/preimage/src/native_channel.rs:54
↓ 9 callers
Function
record_call_time
Wrapper to record the time taken for a call to the engine API and log the result as a metric.
crates/consensus/engine/src/client.rs:380
↓ 9 callers
Method
recover_latest_state
Recovers the latest onchain state using a deterministic forward walk from the anchor root, bounded by `finalized_head`.
crates/proof/proposer/src/proof_recovery.rs:118
↓ 9 callers
Method
renounce_last_admin
Permanently removes the final default admin.
crates/common/precompiles/src/common/ops/roles.rs:224
↓ 9 callers
Function
resolve_cl_rpc
( config: &MonitoringConfig, override_url: Option<&Url>, command_name: &str, )
bin/basectl/src/p2p.rs:262
↓ 9 callers
Function
run_actor
Build and run an [`L1WatcherActor`] to completion (stream ends → `StreamEnded`). Returns the derivation client, the watch receiver for the raw head,
crates/consensus/service/src/actors/l1_watcher/actor.rs:499
↓ 9 callers
Method
safe_head
Returns the current safe head.
crates/consensus/engine/src/state/core.rs:51
↓ 9 callers
Method
send
(&self, candidate: TxCandidate)
actions/harness/src/batcher/tx_manager.rs:355
↓ 9 callers
Method
send_transaction
( &self, origin: TransactionOrigin, tx: WithEncoded<Recovered<PoolPooledTx<Self::Pool>
crates/execution/rpc/src/eth/transaction.rs:52
↓ 9 callers
Method
sender
(&self)
crates/execution/txpool/src/transaction.rs:190
↓ 9 callers
Method
sender_auth
Returns the sender authentication payload.
crates/common/consensus/src/transaction/eip8130/signed.rs:124
↓ 9 callers
Function
setup
Cobalt-activated harness (the common case for EIP-8130 RPC reads).
crates/execution/eip8130-rpc-node/tests/rpc.rs:37
↓ 9 callers
Method
shutdown
(self)
crates/proof/prover-service/client/src/worker.rs:589
↓ 9 callers
Function
sig
65-byte `r || s || v` signature over `hash`, `v` in `{27, 28}`, low-s.
crates/execution/eip8130/src/verify.rs:188
↓ 9 callers
Function
single_game_factory
()
crates/proof/challenge/tests/driver.rs:132
↓ 9 callers
Method
spawn_flashblocks_listener
Spawns a background task that listens for flashblock payloads over WebSocket.
crates/builder/core/src/test_utils/instance.rs:227
↓ 9 callers
Method
start
Starts the [`PreimageServer`] and waits for incoming requests.
crates/proof/host/src/server.rs:32
↓ 9 callers
Method
state_root
Applies a [`BundleState`] changeset to the [`TrieNode`] and recomputes the state root hash. ## Takes - `bundle`: The [`BundleState`] changeset to app
crates/proof/executor/src/db/mod.rs:105
↓ 9 callers
Method
stop
Stop the listener and wait for it to complete
crates/builder/core/src/test_utils/instance.rs:460
↓ 9 callers
Method
summarize
Generates a summary of collected metrics. `wall_clock_duration` is used as a fallback when block timestamps are unavailable. TPS is normally derived
crates/infra/load-tests/src/metrics/collector.rs:176
↓ 9 callers
Function
test_processor
Builds a minimal `EngineProcessor` for testing `config_bootstrap_role` and `resolve_bootstrap_role` without spinning up a live engine or derivation ac
crates/consensus/service/src/actors/engine/engine_request_processor.rs:1535
↓ 9 callers
Function
test_sync_status
Creates a test [`SyncStatus`] with the given safe block number and hash.
crates/proof/proposer/src/test_utils.rs:349
↓ 9 callers
Function
test_transactions_match_helper
()
crates/consensus/engine/src/attributes.rs:575
↓ 9 callers
Method
try_with_storage
(&self, f: F)
crates/common/precompile-storage/src/storage_ctx.rs:63
↓ 9 callers
Method
write_str
(&mut self, s: &str)
crates/utilities/cli/src/sigsegv.rs:110
↓ 8 callers
Method
acquire
Acquire permission to make a request. Returns a permit that must be held for the duration of the request. Returns None if the request should be reject
crates/proof/zk/service/src/proxy/rate_limit.rs:59
↓ 8 callers
Function
activate_feature
(storage: &mut HashMapStorageProvider)
crates/common/precompiles/src/activation/storage.rs:326
↓ 8 callers
Method
add_node_started_hook
Adds a node-started hook that will run after the node has started.
crates/execution/runner/src/builder.rs:150
↓ 8 callers
Function
addr
(key: &K256SigningKey)
crates/execution/eip8130/src/config.rs:184
↓ 8 callers
Function
addr
(key: &K256SigningKey)
crates/execution/eip8130/src/verify.rs:178
↓ 8 callers
Method
apply_next
(&mut self, new: Self)
crates/execution/exex/src/sync_target.rs:51
↓ 8 callers
Method
as_str
Returns the canonical CLI name for this chain.
bin/base/src/config.rs:38
↓ 8 callers
Function
assert_activated
(storage: &mut HashMapStorageProvider, expected: bool)
crates/common/precompiles/src/activation/storage.rs:340
↓ 8 callers
Function
assert_output
(output: Bytes, expected: impl AsRef<[u8]>)
crates/common/precompiles/src/b20_factory/storage.rs:445
↓ 8 callers
Method
attempt_update
Attempts to update the active stage of the mux.
crates/consensus/derive/src/stages/batch/batch_provider.rs:63
↓ 8 callers
Function
auth_blob
`authenticator(20) || data`.
crates/execution/eip8130/src/verify.rs:197
↓ 8 callers
Method
b20_token_address
Returns the deterministic B-20 token address created by Alice.
actions/harness/tests/beryl/env.rs:241
↓ 8 callers
Method
balance_of
(&self, account: Address)
crates/common/precompiles/src/common/test_utils.rs:112
↓ 8 callers
Method
block_info_by_number
(&mut self, number: u64)
crates/consensus/providers/src/conf_depth.rs:63
↓ 8 callers
Method
build_block
(&mut self, txs: Vec<BaseTxEnvelope>)
actions/harness/tests/beryl/b20_policy.rs:386
↓ 8 callers
Method
bytes
Returns the number of bytes this type occupies.
crates/common/precompile-storage/src/provider.rs:162
↓ 8 callers
Method
call
( &self, transaction: BaseTransactionRequest, block_number: Option<BlockId>, s
crates/execution/flashblocks/src/rpc/eth.rs:420
↓ 8 callers
Method
chain
(&self)
crates/execution/chainspec/src/spec.rs:535
↓ 8 callers
Method
chain_id
Returns the chain ID.
crates/utilities/tx-manager/src/manager.rs:334
↓ 8 callers
Method
chain_spec
Returns a reference to the chain specification.
crates/execution/flashblocks/src/receipt_builder.rs:48
↓ 8 callers
Method
checkpoint
Creates a journal checkpoint and returns a RAII guard that auto-reverts on drop.
crates/common/precompile-storage/src/storage_ctx.rs:200
↓ 8 callers
Method
clear_tx_l1_cost
Clears the cached L1 cost of the transaction.
crates/common/evm/src/l1block.rs:298
↓ 8 callers
Function
compute_estimate
Core estimation algorithm (top-down approach). Given a sorted list of transactions and a resource limit, determines the minimum priority fee needed t
crates/execution/metering/src/estimator.rs:787
↓ 8 callers
Function
connect
()
crates/proof/zk/service/tests/mock_backend_e2e.rs:29
↓ 8 callers
Method
contract_id
Returns the canonical `snake_case` contract upgrade ID used by the L1 upgrade-signal contract and metrics. Note this differs from [`name`](Self::name
crates/common/genesis/src/chain/upgrade.rs:182
↓ 8 callers
Method
create_policy_with_accounts
Creates a new policy and populates its initial member list.
crates/common/precompiles/src/policy/storage.rs:223
↓ 8 callers
Method
create_proof_session
Create a new proof session
crates/proof/prover-service/db/src/repo.rs:970
↓ 8 callers
Function
create_proofs_archive
(content_pairs: &[(&str, &[u8])])
crates/execution/cli/src/commands/download.rs:352
↓ 8 callers
Function
create_wallet_provider
Creates a wallet provider for the given RPC URL and wallet.
crates/infra/load-tests/src/rpc/client.rs:32
↓ 8 callers
Function
cycle_driver
( instances: Vec<ProverInstance>, signer_client: MockEnclaveEndpointClient, cancel: Ca
crates/proof/tee/registrar/src/driver.rs:521
↓ 8 callers
Function
default_bond_manager
(claim_addr: Address)
crates/proof/challenge/tests/driver.rs:1446
↓ 8 callers
Function
dispatch_factory_success
(ctx: StorageCtx<'_>, call: impl SolCall)
crates/common/precompiles/src/b20_factory/storage.rs:449
↓ 8 callers
Function
drain_claimable_compressed_jobs
Drain every currently claimable compressed job for tests that need to claim a freshly inserted ZK request deterministically.
crates/proof/prover-service/db/tests/postgres_integration.rs:1516
↓ 8 callers
Method
enqueue_for_finalization
Enqueues a derived [`AttributesWithParent`] for finalization. When a new finalized L1 block is observed that is `>=` the height of [`AttributesWithPar
crates/consensus/service/src/actors/derivation/finalizer.rs:31
↓ 8 callers
Method
entry_count
Returns the number of cached entries.
crates/builder/core/src/rejection_cache.rs:32
↓ 8 callers
Method
execute
(&self, state: &mut EngineState)
crates/consensus/engine/src/task_queue/tasks/insert/task.rs:288
↓ 8 callers
Method
exists
Returns `true` if the transaction is either pending or queued in the pool.
crates/builder/core/src/test_utils/txs.rs:289
↓ 8 callers
Method
force_close_channel
(&mut self)
crates/batcher/encoder/src/encoder.rs:890
↓ 8 callers
Method
from
(err: RecoveryError)
crates/execution/flashblocks/src/error.rs:92
↓ 8 callers
Function
game_chain
(n: usize)
crates/proof/proposer/src/proof_recovery.rs:311
↓ 8 callers
Function
game_lookup_key
Builds the key used by `DisputeGameFactory.games()`.
crates/proof/contracts/src/dispute_game_factory.rs:265
↓ 8 callers
Method
get_base_fee
(&self)
crates/infra/load-tests/src/rpc/client.rs:66
↓ 8 callers
Method
get_session_by_backend_id
Get a proof session by backend session ID
crates/proof/prover-service/db/src/repo.rs:1103
↓ 8 callers
Method
get_unprocessed_outbox_entries
Get the next batch of unprocessed outbox entries. Returns entries in order by `sequence_id` (FIFO), excluding entries that have exceeded `max_retries
crates/proof/zk/db/src/repo.rs:1170
↓ 8 callers
Function
h
(byte: u8)
crates/execution/engine-tree/src/cached_execution.rs:277
← previous
next →
701–800 of 16,503, ranked by callers