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
↓ 30 callers
Method
run
Run the batch driver loop. Each iteration has two phases: 1. **CPU phase** (`work`): drain encoding, apply throttle, submit ready submissions up to t
crates/batcher/core/src/driver.rs:154
↓ 30 callers
Method
to_backoff_builder
Creates a `backon` [`ExponentialBuilder`] from this configuration.
crates/utilities/retry/src/retry.rs:58
↓ 30 callers
Function
token_params
(name: &str, symbol: &str)
crates/common/precompiles/src/b20_factory/dispatch.rs:258
↓ 30 callers
Function
validity_1559
( signer: &PrivateKeySigner, nonce: u64, max_fee_per_gas: u128, )
crates/execution/txpool/src/pool.rs:3972
↓ 30 callers
Function
wait_for_balance
Polls until `address` has a non-zero ETH balance on the L2.
etc/systems/tests/common/balance.rs:17
↓ 29 callers
Method
build
Builds the pending blocks.
crates/execution/flashblocks/src/pending_blocks.rs:281
↓ 29 callers
Function
create
Creates a policy and returns its decoded id.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:132
↓ 29 callers
Method
lines
(&self)
crates/common/observability-events/src/writer.rs:599
↓ 29 callers
Method
max_priority_fee_per_gas
(&self)
crates/execution/txpool/src/transaction.rs:331
↓ 29 callers
Method
next
(&mut self)
crates/execution/trie/tests/cursor_differential/mod.rs:308
↓ 29 callers
Method
provider
Borrows the composed provider.
crates/execution/payload/src/config.rs:514
↓ 29 callers
Method
record
(&self, call: PipelineCall)
crates/batcher/core/src/test_utils/pipeline.rs:212
↓ 29 callers
Method
send
Send a flashblock to the background processor and wait until it is handled.
crates/execution/flashblocks-node/src/test_harness.rs:79
↓ 29 callers
Method
store_trie_updates
( &self, block_ref: BlockWithParent, block_state_diff: BlockStateDiff, )
crates/execution/trie/src/db/store.rs:842
↓ 29 callers
Method
with_input
Sets the calldata input bytes.
crates/builder/core/src/test_utils/txs.rs:97
↓ 29 callers
Method
with_max_priority_fee_per_gas
Sets the EIP-1559 max priority fee per gas (tip).
crates/builder/core/src/test_utils/txs.rs:91
↓ 28 callers
Method
build_empty_block
(&mut self)
actions/harness/tests/beryl/policy_registry.rs:677
↓ 28 callers
Method
connect
Connects to Postgres without running migrations. The ingest pool is used for persist, RPC reads, and `/readyz`. Partition maintenance and BRIN summar
crates/infra/audit/src/transaction_events.rs:664
↓ 28 callers
Method
create_tx
Creates and signs a test-account transaction.
actions/harness/tests/beryl/env.rs:177
↓ 28 callers
Method
gen_range
Generates a random value in the given range.
crates/infra/load-tests/src/workload/seeded.rs:31
↓ 28 callers
Method
get
Return the registered block hash for an L2 block number.
actions/harness/src/common/block_hash_registry.rs:57
↓ 28 callers
Method
get_account_state
Returns the per-account [`AccountState`] (sequences + lock fields).
crates/execution/eip8130/src/account_config.rs:233
↓ 28 callers
Method
get_pending_blocks
(&self)
crates/execution/flashblocks/src/state.rs:183
↓ 28 callers
Method
l2_builder_provider
Returns an L2 builder provider with Base network.
etc/systems/src/smoke.rs:265
↓ 28 callers
Method
output
(label: &'static str, input: Vec<u8>, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1058
↓ 28 callers
Method
push
Records a confirmed transaction with its gas used and latency.
crates/infra/load-tests/src/metrics/rolling_window.rs:22
↓ 28 callers
Method
read
(&self)
crates/common/precompile-storage/src/types/vec.rs:132
↓ 28 callers
Method
remove
Releases the reservation for `hash`, if present. Returns `true` if a reservation was removed.
crates/execution/txpool/src/limits.rs:168
↓ 28 callers
Method
render
Render toasts in the bottom-right corner of the given area
crates/infra/basectl/src/tui/toast.rs:118
↓ 28 callers
Method
set
Sets the recovery mode state.
crates/consensus/service/src/actors/sequencer/recovery.rs:34
↓ 28 callers
Function
signed
(tx: TxEip8130, sender_auth: Vec<u8>, payer_auth: Vec<u8>)
crates/common/eip8130/src/intrinsic.rs:696
↓ 28 callers
Method
sleep
Returns a pinned timer that completes when the calculated deadline is reached.
crates/builder/core/src/flashblocks/deadline.rs:57
↓ 28 callers
Method
spawn
Bind and start the admin server on the given socket address.
crates/batcher/admin/src/server.rs:25
↓ 27 callers
Method
as_str
Convert enum to static string representation
crates/proof/prover-service/db/src/models.rs:31
↓ 27 callers
Method
begin_block
Starts building `block_number` on `parent_hash`. `pre_block_changes` must hold every write made on top of the parent state before the selection loop
crates/execution/payload/src/resting.rs:127
↓ 27 callers
Method
build
Builds the [`NetworkDriver`].
crates/consensus/service/src/actors/network/builder.rs:175
↓ 27 callers
Method
build_block_from_transactions
Build a block using the provided transactions and push it through the engine.
crates/execution/runner/src/test_utils/harness.rs:248
↓ 27 callers
Method
crit
Wraps this [`PipelineError`] as a [`PipelineErrorKind::Critical`]. Critical errors indicate fundamental issues that cannot be resolved through retrie
crates/consensus/derive/src/errors/pipeline.rs:287
↓ 27 callers
Function
current
()
acceptance/src/publish.rs:450
↓ 27 callers
Function
eoa_signed
(tx: TxEip8130, key: &SigningKey)
crates/common/evm/src/eip8130.rs:1987
↓ 27 callers
Method
fill
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
↓ 27 callers
Method
insert
(&self, tx_hash: TxHash, metering: MeterBundleResponse)
crates/builder/metering/src/store.rs:102
↓ 27 callers
Function
node
()
crates/execution/trie/src/db/cursor.rs:454
↓ 27 callers
Method
parse
Parses Prometheus text exposition into numeric samples.
etc/systems/src/prometheus_metrics.rs:89
↓ 27 callers
Method
push
Appends an entry to the buffer. If the buffer is at capacity, the oldest entry is evicted first.
crates/utilities/ring-buffer/src/ring_buffer.rs:30
↓ 27 callers
Method
read
Read the raw data of the first channel, if it's timed-out or closed. Returns an error if there is nothing new to read.
crates/consensus/derive/src/stages/channel/channel_bank.rs:120
↓ 27 callers
Function
self_paid_eoa_8130
( signer: &PrivateKeySigner, nonce_key: U256, nonce_sequence: u64, expiry: u64
crates/execution/txpool/src/pool.rs:3023
↓ 27 callers
Method
send_call
Signs, sends, and waits for a transaction against `to`.
etc/systems/src/b20.rs:520
↓ 27 callers
Method
send_flashblock
(&self, flashblock: Flashblock)
crates/execution/flashblocks-node/tests/eip7702_tests.rs:45
↓ 27 callers
Method
status
Returns the success status of the receipt's transaction.
crates/common/consensus/src/receipts/envelope.rs:124
↓ 27 callers
Method
take
()
crates/common/evm/src/eip8130_phase_statuses.rs:91
↓ 27 callers
Method
with_l2_chain_id
Sets the L2 chain ID.
etc/systems/src/smoke.rs:461
↓ 26 callers
Method
build_next_block_with_transactions
Build the next L2 block and advance the internal head.
actions/harness/src/sequencer/driver.rs:181
↓ 26 callers
Method
clear
Clears every artifact while preserving monotonic artifact identifiers.
crates/batcher/encoder/src/artifact.rs:222
↓ 26 callers
Function
create_test_branch
Helper to create a simple test branch node
crates/execution/trie/tests/lib.rs:30
↓ 26 callers
Method
ctx_mut
Returns a mutable reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:75
↓ 26 callers
Method
dispatch
ABI-dispatches nonce manager calldata. Only the read-only `getNonce` getter is reachable through the ABI; the nonce-mutating entry points (`increment
crates/common/precompiles/src/nonce/dispatch.rs:26
↓ 26 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v2.rs:1259
↓ 26 callers
Method
gas_limit
(&self)
crates/common/evm/src/transaction/core.rs:118
↓ 26 callers
Method
get
( &self, game_address: Address, f: impl FnOnce(&MockGameState) -> T, )
crates/proof/challenge/src/test_utils.rs:323
↓ 26 callers
Function
give_role
Grants `role` to `who` and bumps the role member count (setup only).
crates/common/precompiles/tests/b20_stablecoin_v3_golden.rs:211
↓ 26 callers
Method
input
Sets the input data for the transaction.
crates/common/rpc-types/src/transaction/request.rs:324
↓ 26 callers
Method
keys
Returns `(cache_key, revocation_id)` for `cert` from a single X.509 parse. Root certificates use `keccak256(full DER)` as the cache key. Every non-ro
crates/proof/tee/registrar/src/planner.rs:152
↓ 26 callers
Function
read
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_stablecoin_v3_golden.rs:154
↓ 26 callers
Method
seek
(&mut self, key: B256)
crates/execution/trie/tests/cursor_differential/mod.rs:304
↓ 26 callers
Function
sign
( signer: &PrivateKeySigner, tx: &BasePooledTransaction, predicates: &[ValidityPredica
crates/execution/txpool/src/validity_authorization.rs:204
↓ 26 callers
Function
start_beryl_system
Starts a system test stack with Beryl active at block 3 and waits for block 4. The returned [`SystemTestStack`] must be kept alive for the duration o
etc/systems/tests/common/beryl.rs:18
↓ 26 callers
Function
test_block_info
Helper to create a test `L2BlockInfo` at a specific block number
crates/consensus/engine/src/test_utils/misc.rs:6
↓ 26 callers
Function
test_chain_id
Returns the chain id the [`build_test_validator`] is configured against.
crates/execution/txpool/src/validator.rs:2447
↓ 26 callers
Method
with_safe_head
Sets the safe head
crates/consensus/engine/src/test_utils/engine_state.rs:48
↓ 25 callers
Method
address
(&self)
crates/common/signer/src/signer.rs:143
↓ 25 callers
Method
create
Create a new proof request and return its UUID
crates/proof/prover-service/db/src/repo.rs:31
↓ 25 callers
Method
execute
Executes the derivation pipeline to the claimed block. # Errors Returns an error if derivation fails.
crates/proof/client/src/driver.rs:81
↓ 25 callers
Function
intrinsic
Serializes `signed` (EIP-2718) and computes intrinsic gas, mirroring a caller that already holds the transaction's network encoding.
crates/common/eip8130/src/intrinsic.rs:715
↓ 25 callers
Method
l2_block_timestamp
Returns the deterministic whole-second timestamp of an L2 block.
crates/common/genesis/src/rollup.rs:431
↓ 25 callers
Function
nibbles_from
Helper to create nibbles from a vector of u8 values
crates/execution/trie/tests/lib.rs:60
↓ 25 callers
Method
parse
Parse this handle from the backend session id string.
crates/proof/zk/backend/src/succinct/cluster.rs:158
↓ 25 callers
Method
parse
Parses opcode and precompile name strings into a [`MeteredOpcodes`] filter. Recognizes EVM opcode names (e.g., `SSTORE`, `CALL`), fixed precompile na
crates/execution/metering/src/meter.rs:347
↓ 25 callers
Method
set_timestamp
Overrides the block timestamp (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:369
↓ 25 callers
Function
signed_1559
(signer: &PrivateKeySigner, nonce: u64)
crates/execution/txpool/src/pool.rs:2996
↓ 25 callers
Method
store_account_branches
( &self, account_nodes: Vec<(Nibbles, Option<BranchNodeCompact>)>, )
crates/execution/trie/tests/lib.rs:287
↓ 25 callers
Method
unsafe_head
Returns the current unsafe head.
crates/consensus/engine/src/state/core.rs:41
↓ 25 callers
Method
with_nonce
Sets an explicit nonce instead of fetching it from the provider.
crates/builder/core/src/test_utils/txs.rs:73
↓ 24 callers
Method
all
Returns all known chain configurations, including devnet.
crates/common/chains/src/config.rs:224
↓ 24 callers
Method
build
Builds a [`Discv5Driver`].
crates/consensus/disc/src/builder.rs:168
↓ 24 callers
Method
build_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
↓ 24 callers
Function
compressed_request
()
crates/proof/prover-service/db/tests/postgres_integration.rs:57
↓ 24 callers
Method
contains
(&self, address: &Address)
crates/proof/zk/utils/src/precompiles/mod.rs:204
↓ 24 callers
Method
emit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v3.rs:1272
↓ 24 callers
Function
fund
Credits `account` with `amount` and grows total supply to match.
crates/common/precompiles/src/b20_stablecoin/logic/v3.rs:1095
↓ 24 callers
Function
give_role
Grants `role` to `who` and bumps the role member count (setup only).
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:216
↓ 24 callers
Function
pool_payload_context
(timestamp: u64)
crates/execution/payload/src/builder.rs:2052
↓ 24 callers
Function
read
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:133
↓ 24 callers
Function
read
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:159
↓ 24 callers
Method
rollup_config
Returns the rollup config.
crates/proof/proof/src/l1/pipeline.rs:231
↓ 24 callers
Function
router
(ratio: f64, predicates: Vec<ValidityPredicateTemplate>)
crates/infra/load-tests/src/runner/validity_router.rs:214
↓ 24 callers
Method
update
Computes the throttle params for a DA backlog. Returns [`ThrottleParams`] if throttling should be applied, or `None` if the backlog is below the star
crates/batcher/core/src/throttle.rs:234
↓ 24 callers
Function
with_storage
Runs `body` with a fresh in-memory `AccountConfigurationStorage`.
crates/execution/eip8130/src/authorize.rs:336
↓ 23 callers
Function
activate_precompiles
(storage: &mut HashMapStorageProvider)
crates/common/precompiles/src/b20_factory/dispatch.rs:249
↓ 23 callers
Method
build_new_block
Builds a new block using the current state of the chain and the transactions in the pool.
crates/builder/core/src/test_utils/driver.rs:99
← previous
next →
301–400 of 23,652, ranked by callers