MCPcopy Create free account

hub / github.com/base/base / functions

Functions19,566 in github.com/base/base

↓ 32 callersMethodsnapshot
Compute a point-in-time snapshot of the current throttle state. Params are derived from `backlog_bytes` on demand; no additional state is stored in `
crates/batcher/core/src/throttle.rs:260
↓ 32 callersMethodstore_trie_updates
( &self, block_ref: BlockWithParent, block_state_diff: BlockStateDiff, )
crates/execution/trie/tests/lib.rs:212
↓ 31 callersMethodas_str
Returns the CLI label for this txpool scope.
crates/infra/basectl/src/rpc/txpool.rs:45
↓ 31 callersMethodbuild
(self)
crates/proof/prover-service/db/src/repo.rs:1873
↓ 31 callersFunctioncheck
(status: DoctorStatus)
crates/infra/basectl/src/doctor.rs:1439
↓ 31 callersMethodsleep
Returns a pinned timer that completes when the calculated deadline is reached.
crates/builder/core/src/flashblocks/deadline.rs:57
↓ 31 callersMethodtx_hash
(&self)
crates/execution/tx-forwarding/src/forwarder/task.rs:488
↓ 31 callersMethodwith
(&self, f: impl FnOnce(&[L1Block]) -> R)
actions/harness/src/l1/provider.rs:53
↓ 31 callersMethodwith_gas_limit
Sets the gas limit for the transaction.
crates/builder/core/src/test_utils/txs.rs:79
↓ 30 callersMethodaccount_trie_cursor
( &'tx self, max_block_number: u64, )
crates/execution/trie/tests/lib.rs:136
↓ 30 callersMethodas_str
Display label for pretty output.
crates/infra/basectl/src/doctor.rs:202
↓ 30 callersFunctioncall_policy
Drives one registry call through `dispatch`, returning `(is_revert, bytes)`.
crates/common/precompiles/tests/b20_policy_v1_golden.rs:100
↓ 30 callersMethodexecute
Executes the derivation pipeline to the claimed block. # Errors Returns an error if derivation fails.
crates/proof/client/src/driver.rs:81
↓ 30 callersFunctionfund
Credits `who` with `amount` and grows total supply to match (setup only).
crates/common/precompiles/tests/b20_asset_v2_golden.rs:243
↓ 30 callersMethodget_transaction_count
Returns the transaction count for an address in pending state.
crates/execution/flashblocks/src/pending_blocks.rs:639
↓ 30 callersFunctiongive_role
Grants `role` to `who` and bumps the role member count (setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:209
↓ 30 callersMethodinsert
Insert cached trie data for a block. Evicts the oldest entries when the cache exceeds capacity.
crates/execution/exex/src/sync_target.rs:164
↓ 30 callersMethodnext_nonce
Reserves the next nonce for transaction signing. On the first call (or after [`reset`](Self::reset)), fetches the current transaction count from the
crates/utilities/tx-manager/src/nonce.rs:136
↓ 30 callersMethodrequest_timeout
Return the configured per-request timeout.
crates/proof/prover-service/client/src/config.rs:109
↓ 30 callersMethodtimestamp
Creates a new timestamp ordering (FIFO).
crates/execution/txpool/src/ordering.rs:60
↓ 29 callersMethodblockchain_provider
Clone the underlying blockchain provider so callers can inspect chain state.
crates/execution/runner/src/test_utils/node.rs:171
↓ 29 callersMethodbuild_empty_block
(&mut self)
actions/harness/tests/beryl/policy_registry.rs:677
↓ 29 callersMethodparent_beacon_block_root
(&self)
crates/execution/payload/src/payload.rs:256
↓ 29 callersFunctionread
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_asset_v1_golden.rs:155
↓ 29 callersMethodstore_trie_updates
( &self, block_ref: BlockWithParent, block_state_diff: BlockStateDiff, )
crates/execution/trie/src/db/store.rs:815
↓ 29 callersMethodwith_block
Creates a new [`MockOriginSelectorProvider`].
crates/consensus/service/src/actors/sequencer/l1_origin/selector.rs:428
↓ 29 callersMethodwith_fork_choice_updated_v3_response
Sets the `fork_choice_updated_v3` response.
crates/consensus/engine/src/test_utils/engine_client.rs:212
↓ 29 callersMethodwith_input
Sets the calldata input bytes.
crates/builder/core/src/test_utils/txs.rs:97
↓ 29 callersMethodwith_to
Sets the transaction recipient address.
crates/builder/core/src/test_utils/txs.rs:43
↓ 28 callersMethodaddress
Returns the L1 wallet address controlled by this key.
crates/infra/basectl/src/rpc/submit.rs:77
↓ 28 callersMethodbuild
Build the flashblock.
crates/execution/flashblocks-node/src/test_harness.rs:587
↓ 28 callersMethodclone
(&self)
crates/proof/challenge/src/validator.rs:137
↓ 28 callersMethodcreate_tx
Creates and signs a test-account transaction.
actions/harness/tests/beryl/env.rs:177
↓ 28 callersMethodget_pending_blocks
(&self)
crates/execution/flashblocks/src/state.rs:120
↓ 28 callersMethodnext
(&mut self)
crates/execution/txpool/src/best.rs:80
↓ 28 callersMethodpush
Records a confirmed transaction with its gas used and latency.
crates/infra/load-tests/src/metrics/rolling_window.rs:22
↓ 28 callersMethodrun
Run the batch driver loop. Each iteration has two phases: 1. **CPU phase**: drain encoding, apply throttle, recover txpool, submit pending frames. 2.
crates/batcher/core/src/driver.rs:218
↓ 28 callersMethodspawn
Bind and start the admin server on the given socket address.
crates/batcher/admin/src/server.rs:24
↓ 28 callersMethodto_backoff_builder
Creates a `backon` [`ExponentialBuilder`] from this configuration.
crates/utilities/retry/src/retry.rs:58
↓ 28 callersFunctionwait_for_balance
Polls until `address` has a non-zero ETH balance on the L2.
etc/systems/tests/common/mod.rs:53
↓ 28 callersMethodwith_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
↓ 27 callersMethodallow
Marks `account` as a member of `policy_id` and records the policy as existing. For V1 ALLOWLIST policy IDs this authorizes `account`; for BLOCKLIST I
crates/common/precompiles/src/common/test_utils.rs:301
↓ 27 callersMethodbuild_block_from_transactions
Build a block using the provided transactions and push it through the engine.
crates/execution/runner/src/test_utils/harness.rs:244
↓ 27 callersMethodinsert
(&mut self, key: U256, value: Vec<u8>)
crates/proof/proof/src/boot.rs:483
↓ 27 callersMethodnext
(&mut self)
crates/execution/trie/src/cursor.rs:39
↓ 27 callersFunctionnode
()
crates/execution/trie/src/db/cursor.rs:434
↓ 27 callersMethodread
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 callersMethodsend_call
Signs, sends, and waits for a transaction against `to`.
etc/systems/src/b20.rs:520
↓ 27 callersMethodset
Sets the recovery mode state.
crates/consensus/service/src/actors/sequencer/recovery.rs:34
↓ 26 callersMethodadd_transaction
( &self, origin: TransactionOrigin, transaction: Self::Transaction, )
crates/execution/txpool/src/pool.rs:802
↓ 26 callersMethodaddress
(&self)
crates/common/signer/src/signer.rs:143
↓ 26 callersMethodblock_on
Runs a future on the current runtime, or creates one when needed.
crates/execution/node/src/node.rs:1169
↓ 26 callersMethodbuild
Build the resulting [`BaseChainSpec`]. # Panics This function panics if the chain ID and genesis is not set ([`Self::chain`] and [`Self::genesis`]),
crates/execution/chainspec/src/builder.rs:188
↓ 26 callersMethodbuild_next_block_with_transactions
Build the next L2 block and advance the internal head.
actions/harness/src/sequencer/driver.rs:181
↓ 26 callersFunctioncreate_test_branch
Helper to create a simple test branch node
crates/execution/trie/tests/lib.rs:29
↓ 26 callersMethodcrit
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 callersMethodemit_event
(&mut self, log: LogData)
crates/common/precompiles/src/b20_asset/logic/v2.rs:1252
↓ 26 callersMethodencode_2718
(&self, out: &mut dyn BufMut)
crates/common/consensus/src/receipts/envelope.rs:307
↓ 26 callersMethodgas_limit
(&self)
crates/common/evm/src/transaction/core.rs:118
↓ 26 callersMethodget
( &self, game_address: Address, f: impl FnOnce(&MockGameState) -> T, )
crates/proof/challenge/src/test_utils.rs:286
↓ 26 callersMethodlatest_block
Return the latest recovered block as seen by the local blockchain provider.
crates/execution/runner/src/test_utils/harness.rs:292
↓ 26 callersMethodnext
Returns the next filter in the cycle.
crates/infra/basectl/src/app/state.rs:181
↓ 26 callersMethodread
(&self)
crates/common/precompile-storage/src/types/vec.rs:132
↓ 26 callersFunctionstart_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 callersMethodstatus
Returns the success status of the receipt's transaction.
crates/common/consensus/src/receipts/envelope.rs:124
↓ 26 callersFunctiontest_block_info
Helper to create a test `L2BlockInfo` at a specific block number
crates/consensus/engine/src/test_utils/misc.rs:6
↓ 26 callersMethodwith_l2_chain_id
Sets the L2 chain ID.
etc/systems/src/smoke.rs:319
↓ 26 callersMethodwrite
(&mut self, buf: &[u8])
crates/common/observability-events/src/writer.rs:100
↓ 25 callersMethodbuild
Builds the pending blocks.
crates/execution/flashblocks/src/pending_blocks.rs:279
↓ 25 callersMethodencode_2718_len
(&self)
crates/common/consensus/src/receipts/envelope.rs:303
↓ 25 callersMethodget_account_state
Returns the per-account [`AccountState`] (sequences + lock fields).
crates/execution/eip8130/src/account_config.rs:153
↓ 25 callersFunctioninto_base_tx
(signed: &Eip8130Signed)
crates/common/evm/src/eip8130.rs:1840
↓ 25 callersMethodinto_config
Convert CLI arguments into a [`BatcherConfig`].
bin/batcher/src/cli.rs:278
↓ 25 callersFunctionnibbles_from
Helper to create nibbles from a vector of u8 values
crates/execution/trie/tests/lib.rs:59
↓ 25 callersMethodparse
Parse this handle from the backend session id string.
crates/proof/zk/backend/src/succinct/cluster.rs:126
↓ 25 callersMethodreorg_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:552
↓ 25 callersFunctionsigning_key
(byte: u8)
crates/common/evm/src/eip8130.rs:1799
↓ 25 callersFunctiontest_chain_id
Returns the chain id the [`build_test_validator`] is configured against.
crates/execution/txpool/src/validator.rs:2259
↓ 25 callersMethodtopics
The gossip topics accepted for new blocks
crates/consensus/gossip/src/handler.rs:94
↓ 25 callersMethodvalue
Sets the value (amount) for the transaction.
crates/common/rpc-types/src/transaction/request.rs:293
↓ 25 callersMethodwith_unsafe_head
Sets the unsafe head
crates/consensus/engine/src/test_utils/engine_state.rs:42
↓ 24 callersFunctionbase_tx
()
crates/common/evm/src/eip8130.rs:1817
↓ 24 callersMethodcontains
(&self, address: &Address)
crates/proof/zk/utils/src/precompiles/mod.rs:204
↓ 24 callersFunctioncreate
Creates a policy and returns its decoded id.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:125
↓ 24 callersFunctioneoa_address
(key: &SigningKey)
crates/common/evm/src/eip8130.rs:1803
↓ 24 callersMethodhash
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:170
↓ 24 callersMethodkeys
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
↓ 24 callersMethodprocess_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 callersFunctionread
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:133
↓ 24 callersMethodsend
(&self, cmd: AdminCommand)
crates/batcher/core/src/admin.rs:181
↓ 24 callersFunctionwith_storage
Runs `body` with a fresh in-memory `AccountConfigurationStorage`.
crates/execution/eip8130/src/authorize.rs:334
↓ 23 callersMethodbuild
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
↓ 23 callersMethodbuild_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 callersMethodclear
Clears all cached classifications and reverse slot mappings.
crates/execution/txpool/src/validator.rs:195
↓ 23 callersMethodget_transaction_receipt
( &self, tx_hash: TxHash, )
crates/execution/flashblocks/src/rpc/eth.rs:227
↓ 23 callersFunctionparse_cli
(extra: &[&'static str])
bin/batcher/src/cli.rs:398
↓ 23 callersMethodsend_flashblock
(&self, flashblock: Flashblock)
crates/execution/flashblocks-node/tests/eip7702_tests.rs:45
↓ 23 callersMethodset
Sets the estimate for the given resource kind.
crates/execution/metering/src/estimator.rs:145
↓ 23 callersFunctionsetup_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 callersMethodstep
Executes a single scan-validate-prove-submit cycle.
crates/proof/challenge/src/driver.rs:136
← previousnext →201–300 of 19,566, ranked by callers