Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
23,652 in github.com/base/base
⨍
Functions
23,652
◇
Types & classes
3,462
↓ 9 callers
Function
call_last_frame_return
Creates frame result.
crates/common/evm/src/handler.rs:517
↓ 9 callers
Method
chain_spec
Returns a reference to the chain specification.
crates/execution/flashblocks/src/receipt_builder.rs:48
↓ 9 callers
Method
channel_timeout
Returns the channel timeout for the given timestamp.
crates/common/genesis/src/rollup.rs:368
↓ 9 callers
Method
commit
(&mut self, state: Self::State)
crates/common/evm/src/evm.rs:262
↓ 9 callers
Method
create_existing_policy
Marks `policy_id` as an existing policy without granting any account.
crates/common/precompiles/src/common/test_utils.rs:319
↓ 9 callers
Method
create_first_payload
(&self)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:278
↓ 9 callers
Function
create_union
(rt: &mut Storage, children: Vec<u64>)
crates/common/precompiles/src/policy/logic/v2.rs:1289
↓ 9 callers
Function
create_wallet_provider
Creates a wallet provider for the given RPC URL and wallet.
crates/infra/load-tests/src/rpc/client.rs:42
↓ 9 callers
Method
data
Replaces producer-specific event data.
crates/common/observability-events/src/emit.rs:192
↓ 9 callers
Method
datadir
Returns the execution datadir used by this client.
etc/systems/src/l2/in_process_client.rs:358
↓ 9 callers
Function
delegate_auth
`DELEGATE || delegate_account(20) || K1_AUTHENTICATOR || nested_sig`.
crates/execution/eip8130/src/authorize.rs:555
↓ 9 callers
Method
derivation_status
Set the derivation status the driver starts from.
crates/batcher/core/src/test_utils/builder.rs:166
↓ 9 callers
Function
discover_once
(driver: &TestDriver)
crates/proof/tee/registrar/src/driver.rs:590
↓ 9 callers
Method
domain_separator
(&self, token: &B20AssetToken<S, A>, chain_id: u64)
crates/common/precompiles/src/b20_asset/logic/v2.rs:873
↓ 9 callers
Function
eip8130_pooled
(nonce_key: U256)
crates/execution/txpool/src/transaction.rs:661
↓ 9 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/policy/logic/v2.rs:676
↓ 9 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/policy/logic/v3.rs:708
↓ 9 callers
Method
encode
Encodes a [`NetworkPayloadEnvelope`] into a byte array based on the specified topic. Retired and unknown topics are rejected. Historical payloads can
crates/consensus/gossip/src/handler.rs:192
↓ 9 callers
Method
eth_api
Returns a reference to the [`EthApiNodeBackend`].
crates/execution/rpc/src/eth/mod.rs:99
↓ 9 callers
Method
evaluate_readiness
Builds an [`UpgradeReadiness`] report for `signals` (as read from L1 at `l1_block_number`). `now_secs` is the wall-clock used for the halt-window ([`
crates/utilities/upgrade-signal/src/readiness.rs:102
↓ 9 callers
Function
forwarder
( url: url::Url, receiver: mpsc::Receiver<R>, config: Arc<ForwarderConfig>, )
crates/execution/tx-forwarding/src/forwarder/task.rs:657
↓ 9 callers
Function
from_tx
Build the trie + hashed cursor factories sharing one read transaction at the given block.
crates/execution/trie/src/proof.rs:31
↓ 9 callers
Method
gas
Formats a gas value into a human-readable string (e.g. "30.0M").
crates/infra/basectl/src/output/format.rs:85
↓ 9 callers
Function
gen_l1_blocks
( start_num: u64, count: u64, start_timestamp: u64, interval: u64, )
crates/consensus/protocol/src/batch/span.rs:764
↓ 9 callers
Method
get_base_fee
(&self)
crates/infra/load-tests/src/rpc/client.rs:76
↓ 9 callers
Method
get_flashblocks
Get a snapshot of all received flashblocks
crates/builder/core/src/test_utils/instance.rs:525
↓ 9 callers
Method
get_l1_header
Fetch an L1 block header by ID.
crates/proof/zk/witness/src/fetcher.rs:299
↓ 9 callers
Method
get_or_insert
Returns a reference to a lazily initialized handler for the given key.
crates/common/precompile-storage/src/types/mod.rs:49
↓ 9 callers
Method
id
Returns the channel identifier.
crates/batcher/encoder/src/channel.rs:214
↓ 9 callers
Function
init_storage
(storage: BaseProofsStorage<S>)
crates/execution/exex/src/lib.rs:793
↓ 9 callers
Method
init_with
Initialize the Prometheus metrics recorder and run a callback to initialize subsystem-specific metrics if metrics are enabled.
crates/utilities/cli/src/prometheus.rs:105
↓ 9 callers
Method
into_row
(self, hash_seed: u8, canonical_hash_seed: Option<u8>)
etc/systems/tests/shadow_blocks_reconciliation.rs:72
↓ 9 callers
Method
into_tx
Consumes the envelope and returns the unsigned transaction body.
crates/common/consensus/src/transaction/eip8130/signed.rs:208
↓ 9 callers
Method
is_denim_active_at_timestamp
Returns `true` if [`Denim`](BaseUpgrade::Denim) is active at given block timestamp. Denim is unscheduled by default, so this returns `false` until an
crates/common/chains/src/upgrades.rs:85
↓ 9 callers
Method
is_ecotone_active
Returns true if ecotone is active for the payload.
crates/builder/core/src/flashblocks/context.rs:400
↓ 9 callers
Method
is_enabled
Returns whether injection is enabled.
crates/builder/core/src/shadow_validity.rs:55
↓ 9 callers
Method
is_isthmus_active_at_timestamp
Returns `true` if [`Isthmus`](BaseUpgrade::Isthmus) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:57
↓ 9 callers
Method
isthmus_activated
Enable Isthmus at genesis.
crates/execution/chainspec/src/builder.rs:146
↓ 9 callers
Function
key
(byte: u8)
crates/execution/eip8130/src/config.rs:211
↓ 9 callers
Function
l2_block_info
Helper to create an [`L2BlockInfo`] for testing.
crates/consensus/safedb/src/db.rs:276
↓ 9 callers
Method
latest
Return the most recently mined block.
actions/harness/src/l1/miner.rs:453
↓ 9 callers
Method
latest_block
Return the latest recovered block as seen by the local blockchain provider.
crates/execution/runner/src/test_utils/harness.rs:296
↓ 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
(&self)
crates/builder/core/src/flashblocks/payload.rs:84
↓ 9 callers
Function
make_valid_create_entry
()
crates/execution/txpool/src/validator.rs:3071
↓ 9 callers
Method
mark_sent
Records a hash as sent now. A validity transaction is held for the validity hold rather than resent after the standard window.
crates/execution/tx-forwarding/src/reader/validator.rs:65
↓ 9 callers
Method
next
(&mut self)
crates/execution/trie/src/db/rocksdb.rs:2677
↓ 9 callers
Method
next_data
(&mut self)
crates/consensus/derive/src/stages/l1_retrieval.rs:98
↓ 9 callers
Method
now
(&self)
crates/proof/challenge/src/bond.rs:503
↓ 9 callers
Function
operator_role
The asset operator role id: `keccak256("OPERATOR_ROLE")` (V1 pins this equality).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:229
↓ 9 callers
Function
parse_local_manifest
Parses a `manifest.json` written into `output_dir` by `create_fake_snapshot` or `SnapshotGenerator::generate_manifest`.
crates/infra/snapshotter/tests/e2e_test.rs:302
↓ 9 callers
Method
part
Adds a stable component to the ID hash.
crates/common/observability-events/src/id.rs:18
↓ 9 callers
Method
payer_auth
Returns the payer authentication payload.
crates/common/consensus/src/transaction/eip8130/signed.rs:218
↓ 9 callers
Method
payload
Returns the artifact payload.
crates/batcher/encoder/src/artifact.rs:67
↓ 9 callers
Method
primary_submission_rpc
Returns the first transaction submission endpoint.
crates/infra/load-tests/src/runner/config.rs:362
↓ 9 callers
Function
provable_game
()
crates/infra/basectl/src/rpc/prover.rs:463
↓ 9 callers
Method
prove_block_range
Submit a prove-block-range proof request. Because `session_id` is required by the protocol, retries are safe to issue without enqueueing duplicate pr
crates/proof/prover-service/client/src/requester.rs:103
↓ 9 callers
Method
push
Records the output root of the next derived block.
crates/proof/proof/src/intermediate_roots.rs:46
↓ 9 callers
Method
query
Sends the request built around a reply channel and awaits the network actor's reply.
crates/consensus/rpc/src/p2p.rs:133
↓ 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:394
↓ 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:126
↓ 9 callers
Method
refresh_iterator
Replaces current iterator with new one. We use it on new flashblock building, to refresh priority boundaries
crates/builder/core/src/flashblocks/best_txs.rs:128
↓ 9 callers
Method
remove_from_stores
Removes `hashes` from whichever store holds each, publishes the matching listener events, frees guard capacity and re-anchors the validity lanes whose
crates/execution/txpool/src/pool.rs:536
↓ 9 callers
Function
reorged
(rows: impl IntoIterator<Item = ShadowBlockRow>)
etc/systems/tests/shadow_blocks_reconciliation.rs:125
↓ 9 callers
Method
resolve_cl_rpc
Resolves the consensus-node RPC URL from the flag override or this config.
crates/infra/basectl/src/config.rs:431
↓ 9 callers
Function
resting_iterator
( pool: &PendingPool<Ordering>, )
crates/builder/core/src/flashblocks/best_txs.rs:694
↓ 9 callers
Function
retry_upload
( mut operation: F, mut on_retry: OnRetry, mut on_success_after_retry: OnSuccess, )
crates/infra/snapshotter/src/upload.rs:1726
↓ 9 callers
Function
run
(status: Status)
acceptance/src/report.rs:748
↓ 9 callers
Method
sent_heads
(&self)
crates/consensus/service/src/actors/l1_watcher/actor.rs:654
↓ 9 callers
Method
sequence_number
Returns the sequence number for the info transaction
crates/common/consensus/src/info/variant.rs:391
↓ 9 callers
Function
sequencer_args
(args: &'static [&'static str])
bin/base/src/commands/sequencer.rs:199
↓ 9 callers
Method
set_earliest_block_number_hash
Sets the earliest retained block number/hash under the history write lock.
crates/execution/trie/src/db/rocksdb.rs:1233
↓ 9 callers
Method
set_policy_id
(&mut self, policy_scope: B256, policy_id: u64)
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:931
↓ 9 callers
Method
set_policy_id
(&mut self, policy_scope: B256, policy_id: u64)
crates/common/precompiles/src/b20_asset/logic/v3.rs:1264
↓ 9 callers
Method
set_storage_features
Overrides persistent-storage features (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:456
↓ 9 callers
Method
set_upgrade_activation_timestamp
Sets a timestamp-based upgrade activation time by contract upgrade ID.
crates/common/genesis/src/rollup.rs:235
↓ 9 callers
Function
signer_from_private_key
Derives the signer address for a private key.
crates/proof/tee/registrar/src/test_utils.rs:61
↓ 9 callers
Function
simple_tx_candidate
Simple value-transfer candidate reused across tests.
crates/utilities/tx-manager/tests/common/mod.rs:112
↓ 9 callers
Method
sload
Performs an SLOAD (persistent storage read).
crates/common/precompile-storage/src/storage_ctx.rs:138
↓ 9 callers
Method
sstore
Performs an SSTORE (persistent storage write).
crates/common/precompile-storage/src/storage_ctx.rs:155
↓ 9 callers
Method
start
(mut self, _: Self::StartData)
crates/consensus/service/src/actors/sequencer/actor.rs:771
↓ 9 callers
Function
start_test_server
(router: Router)
crates/infra/telemetry/src/p2p.rs:380
↓ 9 callers
Function
start_test_server
Serves `manifest_json` at `/manifest.json` and a Range-aware archive at `/proofs.tar.zst`, returning the manifest URL.
crates/execution/cli/src/commands/download/proofs/test_utils.rs:100
↓ 9 callers
Function
state
(sink: Arc<dyn TransactionEventSink>)
crates/infra/audit/src/transaction_events.rs:2047
↓ 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
subscribe
Returns a receiver of the published limits. It starts with the current limits marked as seen, and is notified of every later publication.
crates/batcher/core/src/throttle.rs:314
↓ 9 callers
Method
subscribe_to_flashblocks
(&self)
crates/execution/flashblocks/src/state.rs:187
↓ 9 callers
Function
test_driver
()
crates/consensus/gossip/src/driver.rs:800
↓ 9 callers
Function
test_fixed_interval_resolver
Builds an [`IntervalResolver`] that reports a single interval pair everywhere.
crates/proof/proposer/src/test_utils.rs:291
↓ 9 callers
Function
test_provider
( server: &MockServer, l1_head: Option<BlockInfo>, )
crates/consensus/service/src/actors/sequencer/l1_origin/provider.rs:238
↓ 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:423
↓ 9 callers
Method
timestamp
Returns the activation timestamp, if the upgrade is timestamp-activated.
crates/common/genesis/src/chain/upgrade.rs:342
↓ 9 callers
Method
to_eip8130_simulation_tx
Builds an unsigned EIP-8130 simulation transaction. The simulation runs with the request's `gas`, clamped to `gas_limit_cap`, or with `gas_limit_cap`
crates/common/rpc-types/src/eip8130.rs:108
↓ 9 callers
Function
transaction
( signer: &PrivateKeySigner, nonce_key: U256, nonce: u64, priority_fee: u128,
crates/execution/txpool/src/parking.rs:533
↓ 9 callers
Method
transaction_completed
Track a transaction being included in a block or dropped.
crates/execution/txpool-tracing/src/tracker.rs:251
↓ 9 callers
Function
unavailable_error
(message: impl Into<String>)
crates/proof/prover-service/client/src/worker.rs:649
↓ 9 callers
Method
update_game
Updates the state for a specific game address. Multi-step driver tests call this between steps to simulate on-chain state changes (e.g. marking a gam
crates/proof/challenge/src/test_utils.rs:299
↓ 9 callers
Method
upload
Uploads snapshot artifacts with diff-based optimization. Finalized static file chunks go to `{prefix}/static_files/` and are skipped only when their
crates/infra/snapshotter/src/upload.rs:950
↓ 9 callers
Function
upload_params
Builds [`SnapshotUploadParams`] for e2e uploads that retain 100 runs.
crates/infra/snapshotter/tests/e2e_test.rs:37
← previous
next →
1,101–1,200 of 23,652, ranked by callers