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
↓ 26 callers
Function
compressed_request
()
crates/proof/zk/db/tests/postgres_integration.rs:49
↓ 26 callers
Function
create_test_branch
Helper to create a simple test branch node
crates/execution/trie/tests/lib.rs:29
↓ 26 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
↓ 26 callers
Function
fixed_clock
Creates a [`FixedClock`] with the given monotonic seconds and a default wall-clock value of `2_000_000_000`.
crates/proof/challenge/src/bond.rs:1105
↓ 26 callers
Method
into_config
Convert CLI arguments into a [`BatcherConfig`].
bin/batcher/src/cli.rs:305
↓ 26 callers
Method
next
(&mut self)
crates/execution/txpool/src/best.rs:87
↓ 26 callers
Method
request_timeout
Return the configured per-request timeout.
crates/proof/prover-service/client/src/config.rs:94
↓ 26 callers
Method
set
(&mut self, key: B256, value: Vec<u8>)
crates/proof/host/src/kv/mem.rs:30
↓ 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/mod.rs:24
↓ 26 callers
Method
timestamp
Creates a new timestamp ordering (FIFO).
crates/execution/txpool/src/ordering.rs:27
↓ 26 callers
Method
to_backoff_builder
Creates a `backon` [`ExponentialBuilder`] from this configuration.
crates/utilities/retry/src/retry.rs:58
↓ 25 callers
Method
build
Builds the pending blocks.
crates/execution/flashblocks/src/pending_blocks.rs:290
↓ 25 callers
Method
client
Returns the client
crates/execution/rpc/src/sequencer.rs:128
↓ 25 callers
Method
contains
(&self, address: &Address)
crates/proof/succinct/utils/client/src/precompiles/mod.rs:204
↓ 25 callers
Function
create_allowlist
(s: &mut HashMapStorageProvider)
crates/common/precompiles/src/policy/storage.rs:611
↓ 25 callers
Method
get
( &self, game_address: Address, f: impl FnOnce(&MockGameState) -> T, )
crates/proof/challenge/src/test_utils.rs:352
↓ 25 callers
Function
nibbles_from
Helper to create nibbles from a vector of u8 values
crates/execution/trie/tests/lib.rs:59
↓ 25 callers
Method
read
(&self)
crates/common/precompile-storage/src/types/vec.rs:122
↓ 25 callers
Method
reorg_to
Reorg the canonical chain back to `number`, discarding all later blocks. Returns the discarded blocks in order (lowest number first) so tests can ins
actions/harness/src/l1/miner.rs:546
↓ 25 callers
Function
single_game_verifier
(state: MockGameState)
crates/proof/challenge/tests/driver.rs:136
↓ 25 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
↓ 25 callers
Method
to_bytes
Returns the [`BatchTransaction`] as a [`Bytes`].
crates/consensus/protocol/src/batch/tx.rs:31
↓ 24 callers
Method
address
(&self)
crates/common/signer/src/signer.rs:143
↓ 24 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:245
↓ 24 callers
Method
encode_2718
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/receipts/envelope.rs:307
↓ 24 callers
Method
latest_block
Return the latest recovered block as seen by the local blockchain provider.
crates/execution/runner/src/test_utils/harness.rs:293
↓ 24 callers
Method
number
Get the block number.
crates/execution/trie/src/db/models/block.rs:50
↓ 24 callers
Function
parse_cli
(extra: &[&'static str])
bin/batcher/src/cli.rs:426
↓ 24 callers
Method
process_send_error
Processes a send error, updating internal state accordingly. - [`TxManagerError::NonceTooLow`] increments the nonce-too-low counter. - [`TxManagerErr
crates/utilities/tx-manager/src/send_state.rs:84
↓ 24 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
↓ 24 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
↓ 24 callers
Method
step
(&mut self)
crates/batcher/encoder/src/encoder.rs:551
↓ 23 callers
Method
block_on
Runs a future on the current runtime, or creates one when needed.
crates/execution/node/src/node.rs:1092
↓ 23 callers
Method
build_new_block_with_current_timestamp
Builds a new block with `block_timestamp` calculated as block time right before sending FCU
crates/builder/core/src/test_utils/driver.rs:104
↓ 23 callers
Method
cmp
(&self, other: &Self)
crates/consensus/engine/src/task_queue/tasks/task.rs:174
↓ 23 callers
Function
game_state
Returns a base [`MockGameState`] with standard test defaults. Override individual fields with struct update syntax: `MockGameState { tee_prover: DEFAU
crates/proof/challenge/tests/driver.rs:44
↓ 23 callers
Method
get_mut
Returns a mutable reference to the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:205
↓ 23 callers
Method
get_transaction_count
Returns the transaction count for an address in pending state.
crates/execution/flashblocks/src/pending_blocks.rs:657
↓ 23 callers
Method
next
Returns the next filter in the cycle.
crates/infra/basectl/src/app/state.rs:181
↓ 23 callers
Method
provider
Create an HTTP provider pointed at the node's public RPC endpoint.
crates/execution/runner/src/test_utils/node.rs:154
↓ 23 callers
Method
send_flashblock
(&self, flashblock: Flashblock)
crates/execution/flashblocks-node/tests/eip7702_tests.rs:45
↓ 23 callers
Function
setup_test_instance
Sets up a test instance with default flashblocks configuration. This is the simplified replacement for the `rb_test` macro.
crates/builder/core/src/test_utils/mod.rs:52
↓ 23 callers
Function
test_l1_rpc_url
()
crates/proof/challenge/src/bond.rs:1109
↓ 23 callers
Method
with_chain_spec
Set a custom chain spec for the test harness. If not provided, the default genesis is built programmatically.
crates/execution/runner/src/test_utils/harness.rs:75
↓ 23 callers
Method
with_fork_choice_updated_v3_response
Sets the `fork_choice_updated_v3` response.
crates/consensus/engine/src/test_utils/engine_client.rs:192
↓ 23 callers
Function
with_recorder
(f: impl FnOnce(Snapshotter))
crates/utilities/metrics/tests/metrics.rs:11
↓ 23 callers
Method
write
(&mut self, buf: &[u8])
crates/common/observability-events/src/writer.rs:93
↓ 22 callers
Function
append_account_trie
( wtx: &<DatabaseEnv as Database>::TXMut, key: StoredNibbles, block: u64, val:
crates/execution/trie/src/db/cursor.rs:438
↓ 22 callers
Function
connect
()
crates/proof/prover-service/tests/common/mod.rs:5
↓ 22 callers
Function
default_encoder
()
crates/batcher/encoder/src/encoder.rs:1062
↓ 22 callers
Method
gas_limit
(&self)
crates/common/evm/src/transaction/core.rs:118
↓ 22 callers
Method
is_empty
(&self)
crates/common/precompile-storage/src/types/vec.rs:187
↓ 22 callers
Function
make_block
(parent_hash: B256)
crates/batcher/encoder/src/encoder.rs:1021
↓ 22 callers
Method
mine_l1_blocks
Mine `n` L1 blocks and return the latest block number after mining.
actions/harness/src/harness.rs:62
↓ 22 callers
Method
parse
Parse this handle from the backend session id string.
crates/proof/zk/backend/src/succinct/cluster.rs:126
↓ 22 callers
Method
push
Records a confirmed transaction with its gas used and latency.
crates/infra/load-tests/src/metrics/rolling_window.rs:22
↓ 22 callers
Method
remove
Removes a value from the set using swap-and-pop. Returns `true` if found and removed.
crates/common/precompile-storage/src/types/set.rs:213
↓ 22 callers
Method
send
(&self, cmd: AdminCommand)
crates/batcher/core/src/admin.rs:151
↓ 22 callers
Method
set_weth_delay
Sets the `DelayedWETH` withdrawal delay.
crates/proof/challenge/src/bond.rs:176
↓ 22 callers
Function
setup
()
crates/utilities/tx-manager/tests/craft_tx.rs:21
↓ 22 callers
Function
setup_with_config
Creates a [`SimpleTxManager`] backed by a fresh Anvil instance.
crates/utilities/tx-manager/tests/common/mod.rs:32
↓ 22 callers
Method
store_account_branches
( &self, account_nodes: Vec<(Nibbles, Option<BranchNodeCompact>)>, )
crates/execution/trie/tests/lib.rs:261
↓ 22 callers
Method
supported_version
Returns the currently supported creation-parameter version for this variant. Each variant owns its version independently so that one variant advancin
crates/common/precompiles/src/b20_factory/variant.rs:36
↓ 22 callers
Function
test_chain_id
Returns the chain id the [`build_test_validator`] is configured against.
crates/execution/txpool/src/validator.rs:1446
↓ 22 callers
Method
update
Update with current DA backlog bytes. Returns [`ThrottleParams`] if throttling should be applied, or `None` if the backlog is below the threshold or
crates/batcher/core/src/throttle.rs:144
↓ 22 callers
Function
version_cursor
Open a dup-RO cursor and wrap it in a BlockNumberVersionedCursor with a given bound.
crates/execution/trie/src/db/cursor.rs:487
↓ 21 callers
Method
build_next_block_with_transactions
Build the next L2 block and advance the internal head.
actions/harness/src/sequencer/driver.rs:192
↓ 21 callers
Method
clear
Clears the task queue.
crates/consensus/engine/src/task_queue/core.rs:514
↓ 21 callers
Function
default_zk_prover
()
crates/proof/challenge/tests/driver.rs:120
↓ 21 callers
Method
hash
Compute the block hash by hashing the header fields. Uses alloy's `Header::hash_slow` which hashes the RLP-encoded header.
actions/harness/src/l1/miner.rs:164
↓ 21 callers
Method
inner
Returns a mutable reference to the inner RNG.
crates/infra/load-tests/src/workload/seeded.rs:55
↓ 21 callers
Method
push_transaction
Appends a transaction, preserving sequencer order.
crates/execution/metering/src/cache.rs:90
↓ 21 callers
Method
seek
Seek to the first non-deleted latest version at or after `start_key`. Logic: - Try exact key first (above). If alive, return it. - Otherwise hop to ne
crates/execution/trie/src/db/cursor.rs:123
↓ 21 callers
Function
stored
(path: Nibbles)
crates/execution/trie/src/db/cursor.rs:430
↓ 21 callers
Method
transaction_inserted
Track the first time we see a transaction in the mempool.
crates/execution/txpool-tracing/src/tracker.rs:140
↓ 20 callers
Method
build
Builds the [`NetworkDriver`].
crates/consensus/service/src/actors/network/builder.rs:175
↓ 20 callers
Method
build_empty_block
(&mut self)
actions/harness/tests/beryl/policy_registry.rs:677
↓ 20 callers
Method
db_mut
Returns a mutable reference to the underlying database.
crates/execution/flashblocks/src/state_builder.rs:110
↓ 20 callers
Function
default_limits
Helper to create default limits with block gas limit set
crates/builder/core/src/execution.rs:393
↓ 20 callers
Method
get
Return the registered block hash for an L2 block number.
actions/harness/src/common/block_hash_registry.rs:57
↓ 20 callers
Function
into_base_tx
(signed: &Eip8130Signed)
crates/common/evm/src/eip8130.rs:1520
↓ 20 callers
Method
into_inner
Consumes the type and returns the inner [`Receipt`].
crates/common/consensus/src/receipts/deposit.rs:90
↓ 20 callers
Function
meter_bundle
Simulates and meters a bundle of transactions. Executes transactions in sequence to measure gas usage and execution time. When `metered_opcodes` is n
crates/execution/metering/src/meter.rs:376
↓ 20 callers
Function
mock_anchor_registry
Helper to create a mock anchor-state registry behind an [`Arc`].
crates/proof/challenge/src/test_utils.rs:245
↓ 20 callers
Function
signing_key
(byte: u8)
crates/common/evm/src/eip8130.rs:1480
↓ 20 callers
Method
timeout
(&self)
crates/proof/zk/service/src/backends/op_succinct/network.rs:68
↓ 20 callers
Method
timestamp
Returns the timestamp
crates/builder/core/src/flashblocks/context.rs:327
↓ 20 callers
Method
value
Sets the value (amount) for the transaction.
crates/common/rpc-types/src/transaction/request.rs:286
↓ 20 callers
Function
with_storage
Runs `body` with a fresh in-memory `AccountConfigurationStorage`.
crates/execution/eip8130/src/authorize.rs:292
↓ 19 callers
Function
base_tx
()
crates/common/evm/src/eip8130.rs:1498
↓ 19 callers
Method
build
Signs the transaction and returns it as a recovered envelope. Auto-fetches nonce and base fee from the provider when not explicitly set.
crates/builder/core/src/test_utils/txs.rs:110
↓ 19 callers
Method
build
Builds a [`Discv5Driver`].
crates/consensus/disc/src/builder.rs:168
↓ 19 callers
Method
clear
(&mut self)
crates/consensus/derive/src/sources/blobs.rs:227
↓ 19 callers
Function
create_parsed_bundle
(txs: Vec<BaseTransactionSigned>)
crates/execution/metering/src/meter.rs:687
↓ 19 callers
Method
encode
Encodes the hint as a string.
crates/proof/proof/src/hint.rs:59
↓ 19 callers
Function
eoa_address
(key: &SigningKey)
crates/common/evm/src/eip8130.rs:1484
↓ 19 callers
Method
is_empty
Returns true if no Base-specific upgrades are configured.
crates/common/genesis/src/chain/upgrade.rs:34
↓ 19 callers
Method
next_submission
(&mut self)
crates/batcher/encoder/src/encoder.rs:691
↓ 19 callers
Method
poll
Polls all tracked games and advances each through the bond lifecycle. Called once per driver tick. Errors on individual games are logged and do not a
crates/proof/challenge/src/bond.rs:566
↓ 19 callers
Method
rpc
(self, context: &'static str)
crates/infra/load-tests/src/rpc/client.rs:91
← previous
next →
201–300 of 16,503, ranked by callers