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
↓ 19 callers
Method
set
Sets the estimate for the given resource kind.
crates/execution/metering/src/estimator.rs:196
↓ 19 callers
Function
setup
Helper: spawns an Anvil instance and returns a [`NonceManager`] wired to the first default account.
crates/utilities/tx-manager/tests/nonce.rs:16
↓ 19 callers
Method
skip
(&self, tx_hash: &TxHash)
crates/builder/metering/src/store.rs:124
↓ 19 callers
Method
try_send
Attempts to queue a transaction if a permit is available. Returns `Ok(())` if a permit was available and the transaction was enqueued. Returns `Err((
crates/utilities/tx-manager/src/queue.rs:113
↓ 19 callers
Method
with_receipt_timeout
Sets the receipt timeout used after sending B-20 transactions.
etc/systems/src/b20.rs:87
↓ 19 callers
Method
with_unsafe_head
Sets the unsafe head
crates/consensus/engine/src/test_utils/engine_state.rs:42
↓ 18 callers
Method
as_ref
(&self)
crates/common/rpc-types/src/transaction.rs:194
↓ 18 callers
Method
at
Returns a handler for the element at the given index, or `None` if out of bounds.
crates/common/precompile-storage/src/types/vec.rs:218
↓ 18 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
↓ 18 callers
Method
claim_next_proof_job
Atomically claim the next eligible worker proof job (`getNextProof`). Expired claims are reclaimable while `attempt < max_attempts`. Rows are locked
crates/proof/prover-service/db/src/repo.rs:574
↓ 18 callers
Method
finish
( self, )
crates/execution/engine-tree/src/cached_execution.rs:225
↓ 18 callers
Method
get_block
retrieves a specific block by its number or tag and returns a list of transaction hashes from its body.
crates/builder/core/src/test_utils/driver.rs:292
↓ 18 callers
Method
get_latest_block_number
(&self)
crates/execution/trie/tests/lib.rs:124
↓ 18 callers
Method
handle_admin_query
Handles the provided [`SequencerAdminQuery`], sending the response via the provided sender. This function is used to decouple admin API logic from the
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:54
↓ 18 callers
Method
id
Returns the identifier of the payload.
crates/execution/payload/src/payload.rs:293
↓ 18 callers
Function
make_token
()
crates/common/precompiles/src/b20_asset/dispatch.rs:522
↓ 18 callers
Method
next
Advance to the next distinct key from the current MDBX position and return its non-deleted latest version, if any. Next distinct key; if not positione
crates/execution/trie/src/db/cursor.rs:134
↓ 18 callers
Method
output
(label: &'static str, input: Vec<u8>, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1058
↓ 18 callers
Method
provider
Returns a reference to the RPC provider.
crates/utilities/tx-manager/src/manager.rs:314
↓ 18 callers
Function
rpc_args
(args: &'static [&'static str])
bin/base/src/commands/rpc.rs:180
↓ 18 callers
Method
scan
Scans for candidate games that need validation. Every call evaluates every factory index after the current anchor game. If the registry is still at i
crates/proof/challenge/src/scanner.rs:231
↓ 18 callers
Method
transact_raw
Executes `tx`, invoking the [`Inspector`] iff `self.inspect` is `true`. Uses [`InspectEvm::inspect_tx`] for the instrumented path and [`ExecuteEvm::tr
crates/common/evm/src/evm.rs:409
↓ 18 callers
Method
with
(&self, f: impl FnOnce(&[L1Block]) -> R)
actions/harness/src/l1/provider.rs:53
↓ 18 callers
Method
with_header
(&mut self, header: Sealed<Header>)
crates/execution/flashblocks/src/pending_blocks.rs:154
↓ 18 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
↓ 18 callers
Method
with_storage
(&self, f: F)
crates/common/precompile-storage/src/storage_ctx.rs:55
↓ 18 callers
Method
with_upgrades
Replaces the entire upgrade schedule with the supplied [`UpgradeConfig`]. Use this when a test needs fine-grained control over which forks are active
actions/harness/src/test_rollup_config.rs:86
↓ 17 callers
Method
advance
Advances the cursor to a new L1 origin and corresponding L2 tip.
crates/proof/driver/src/cursor.rs:84
↓ 17 callers
Method
clone
(&self)
crates/execution/evm/src/config.rs:97
↓ 17 callers
Method
contains
Returns true if the value is in the set.
crates/common/precompile-storage/src/types/set.rs:190
↓ 17 callers
Method
craft_tx
Constructs and signs a single transaction from a [`TxCandidate`]. Steps: 1. Query gas price caps via [`suggest_gas_price_caps`](Self::suggest_gas_pri
crates/utilities/tx-manager/src/manager.rs:725
↓ 17 callers
Method
dispatch
ABI-dispatches policy registry calldata. View (read-only) calls bypass the activation gate and remain accessible even when the feature is disabled. W
crates/common/precompiles/src/policy/dispatch.rs:21
↓ 17 callers
Method
execute_transaction
( &mut self, idx: usize, transaction: Recovered<BaseTxEnvelope>, )
crates/execution/flashblocks/src/state_builder.rs:133
↓ 17 callers
Method
get
Returns a clone of the stored value, or `None` if the cell is empty.
crates/builder/core/src/flashblocks/generator.rs:425
↓ 17 callers
Method
get_transaction_receipt
( &self, tx_hash: TxHash, )
crates/execution/flashblocks/src/rpc/eth.rs:227
↓ 17 callers
Method
id
Returns the block ID.
crates/consensus/protocol/src/block.rs:45
↓ 17 callers
Method
input
Sets the input data for the transaction.
crates/common/rpc-types/src/transaction/request.rs:311
↓ 17 callers
Function
internal
(message: impl Into<String>)
crates/proof/prover-service/src/server/mod.rs:122
↓ 17 callers
Method
is_empty
Returns if the channel is empty.
crates/consensus/protocol/src/channel.rs:83
↓ 17 callers
Method
read
Read a value from a length-prefixed bincode frame. The peer-supplied length can be up to `u64::MAX`. This is safe because all transport peers are loc
crates/proof/tee/nitro-enclave/src/transport.rs:70
↓ 17 callers
Method
rollback
Rolls back the nonce reservation, restoring the cached nonce to the value that was reserved. For recycled nonces (from [`NonceState::returned_nonces`
crates/utilities/tx-manager/src/nonce.rs:373
↓ 17 callers
Function
sample_signed
(payer_present: bool)
crates/common/consensus/src/transaction/eip8130/signed.rs:521
↓ 17 callers
Function
signer
()
crates/execution/txpool/src/two_d_nonce_pool.rs:565
↓ 17 callers
Function
sim_tx
(request: serde_json::Value)
crates/common/rpc-types/src/reth.rs:331
↓ 17 callers
Method
take
Takes (and clears) the per-phase statuses recorded by the most recent [`Self::set`] on this thread. Returns an empty vector in `no_std` builds.
crates/common/evm/src/eip8130_phase_statuses.rs:83
↓ 17 callers
Method
unsafe_head
Returns the current unsafe head.
crates/consensus/engine/src/state/core.rs:41
↓ 17 callers
Method
uri
(&self)
crates/infra/websocket-proxy/src/subscriber.rs:464
↓ 17 callers
Method
with_receipt
(&mut self, hash: B256, receipt: BaseTransactionReceipt)
crates/execution/flashblocks/src/pending_blocks.rs:238
↓ 16 callers
Method
as_v1
Returns a reference to the V1 payload.
crates/common/rpc-types-engine/src/payload/mod.rs:379
↓ 16 callers
Method
attributes
Returns the builder attributes.
crates/builder/core/src/flashblocks/context.rs:332
↓ 16 callers
Method
base
Set the base transaction builder based for `TxEnvBuilder`.
crates/common/evm/src/transaction/builder.rs:35
↓ 16 callers
Method
cf
Returns a column family handle by name from this snapshot's database.
crates/execution/trie/src/db/rocksdb.rs:324
↓ 16 callers
Method
connect
Spawns a background task that forwards metering data to the builder RPC. RPC calls are dispatched concurrently (up to [`MAX_CONCURRENT_RPCS`]) so tha
crates/infra/ingress-rpc/src/lib.rs:195
↓ 16 callers
Method
ctx_mut
Returns a mutable reference to the underlying [`BaseContext`].
crates/common/evm/src/evm.rs:75
↓ 16 callers
Method
encode_calldata
Encodes the transaction calldata using standard ABI encoding.
crates/consensus/protocol/src/base_time.rs:43
↓ 16 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
↓ 16 callers
Method
genesis
Set the genesis block.
crates/execution/chainspec/src/builder.rs:40
↓ 16 callers
Method
get_account_state
Returns the per-account [`AccountState`] (sequences + lock fields).
crates/execution/eip8130/src/account_config.rs:117
↓ 16 callers
Method
insert
Inserts a flashblock into the cache. Returns `true` if the flashblock was cached, `false` if it was rejected because its block number exceeds the cac
crates/execution/flashblocks/src/cache.rs:53
↓ 16 callers
Method
is_enabled_in
Checks if the given Base upgrade is enabled in this spec.
crates/common/evm/src/spec.rs:33
↓ 16 callers
Method
is_retryable
Returns true if this error is transient and the operation should be retried. Only transport-level errors (network issues, timeouts, connection failur
crates/proof/rpc/src/error.rs:74
↓ 16 callers
Function
k1_address
(key: &K256SigningKey)
crates/execution/eip8130/src/authorize.rs:249
↓ 16 callers
Function
k1_key
(byte: u8)
crates/execution/eip8130/src/authorize.rs:245
↓ 16 callers
Method
logs
Return the receipt logs.
crates/common/consensus/src/receipts/envelope.rs:134
↓ 16 callers
Method
mine_and_push
Mine one L1 block and immediately push it to the given shared chain. Equivalent to calling `self.l1.mine_block()` followed by `chain.push(self.l1.tip
actions/harness/src/harness.rs:74
↓ 16 callers
Function
run
Runs the `basectl p2p` command group.
bin/basectl/src/p2p.rs:24
↓ 16 callers
Method
send
Queues a transaction for sending, blocking if the queue is full. 1. Acquires a semaphore permit (blocks when at capacity). 2. Calls [`TxManager::send
crates/utilities/tx-manager/src/queue.rs:84
↓ 16 callers
Method
set
(&self, _: T)
crates/utilities/metrics/src/noop.rs:11
↓ 16 callers
Method
tx_type
(&self)
crates/common/evm/src/transaction/core.rs:103
↓ 16 callers
Function
valid_pool_transaction
( transaction: BasePooledTransaction, )
crates/execution/txpool/src/two_d_nonce_pool.rs:606
↓ 16 callers
Method
wait_for_token_code
Waits for a created token address to return non-empty bytecode.
etc/systems/src/b20.rs:234
↓ 16 callers
Method
with_block
Creates a new [`MockOriginSelectorProvider`].
crates/consensus/service/src/actors/sequencer/origin_selector.rs:297
↓ 16 callers
Method
with_flashblocks
(&mut self, flashblocks: impl IntoIterator<Item = Flashblock>)
crates/execution/flashblocks/src/pending_blocks.rs:147
↓ 16 callers
Method
with_fork
Add the given fork with the given activation condition to the spec.
crates/execution/chainspec/src/builder.rs:46
↓ 16 callers
Method
with_transaction
(&mut self, transaction: Transaction)
crates/execution/flashblocks/src/pending_blocks.rs:197
↓ 15 callers
Method
activate_feature_tx
Creates an activation registry `activate(feature)` transaction signed by the admin. The test rollup config sets `TEST_ACCOUNT_ADDRESS` as the activat
actions/harness/tests/beryl/env.rs:388
↓ 15 callers
Function
block_with_parent
(num: u64)
crates/execution/exex/src/sync_target.rs:250
↓ 15 callers
Method
build
Build the [`FrameQueue`].
crates/consensus/derive/src/test_utils/frames.rs:79
↓ 15 callers
Function
canonical_session_id
Canonicalize a public proof request session id.
crates/proof/prover-service/db/src/models.rs:930
↓ 15 callers
Method
clone
(&self)
crates/execution/rpc/src/engine.rs:258
↓ 15 callers
Function
create_bundle
(txs: Vec<Bytes>, block_number: u64, min_timestamp: Option<u64>)
crates/execution/metering/src/rpc.rs:636
↓ 15 callers
Method
derive_blocks
Batches the supplied L2 blocks, derives each one, and asserts the final safe head.
actions/harness/tests/beryl/env.rs:540
↓ 15 callers
Function
deserialize
(deserializer: D)
crates/common/rpc-types/src/receipt.rs:141
↓ 15 callers
Method
drain
Drain all in-flight futures up to the given deadline. Confirmed receipts call `pipeline.confirm` + `pipeline.advance_l1_head`. Failed or txpool-block
crates/batcher/core/src/submissions.rs:262
↓ 15 callers
Method
encode_2718_len
(&self)
crates/common/consensus/src/receipts/envelope.rs:303
↓ 15 callers
Method
encode_only
Drain the L2 source and forward all blocks to the driver, then flush. Performs steps 1–3 of [`advance`] without mining: sends all L2 blocks, sends [`
actions/harness/src/batcher/actor.rs:227
↓ 15 callers
Method
holocene_active
Asserts that holocene is active.
crates/consensus/derive/src/test_utils/frames.rs:110
↓ 15 callers
Method
id
Returns the proof request UUID regardless of outcome variant.
crates/proof/zk/db/src/models.rs:172
↓ 15 callers
Method
input
(&self)
crates/execution/txpool/src/transaction.rs:280
↓ 15 callers
Method
insert_block_with_transactions
Insert a block with transactions into the mock chain provider.
crates/consensus/derive/src/test_utils/chain_providers.rs:38
↓ 15 callers
Method
insert_validated
Inserts a validated channelized EIP-8130 transaction.
crates/execution/txpool/src/two_d_nonce_pool.rs:216
↓ 15 callers
Method
is_jovian_active_at_timestamp
Returns `true` if [`Jovian`](BaseUpgrade::Jovian) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:63
↓ 15 callers
Method
len
Returns the number of stored entries.
crates/builder/metering/src/store.rs:73
↓ 15 callers
Method
len
Returns the number of distinct block numbers currently cached.
crates/execution/flashblocks/src/cache.rs:83
↓ 15 callers
Method
length
(&self)
crates/proof/mpt/src/node.rs:555
↓ 15 callers
Method
random_valid_transfer
(self)
crates/builder/core/src/test_utils/utils.rs:42
↓ 15 callers
Method
recover_signer
Maps Ethereum `v` (27/28) to secp256k1 recovery parity, then recovers the signer.
crates/common/precompiles/src/common/ops/permittable.rs:77
↓ 15 callers
Method
root
Returns a shared reference to the root [`TrieNode`] of the trie DB.
crates/proof/executor/src/db/mod.rs:74
↓ 15 callers
Method
set_earliest_block_number
( &self, block_number: u64, hash: B256, )
crates/execution/trie/src/db/store.rs:1067
↓ 15 callers
Function
signed
(tx: TxEip8130, sender_auth: Vec<u8>, payer_auth: Vec<u8>)
crates/execution/eip8130/src/intrinsic.rs:405
← previous
next →
301–400 of 16,503, ranked by callers