MCPcopy Create free account

hub / github.com/base/base / functions

Functions16,503 in github.com/base/base

↓ 12 callersMethodhash
(&self)
crates/proof/primitives/src/per_chain_config.rs:194
↓ 12 callersMethodinit_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:84
↓ 12 callersMethodinsert
(&mut self, key: U256, value: Vec<u8>)
crates/proof/proof/src/boot.rs:400
↓ 12 callersMethodinsert
Adds a transaction hash to the cache.
crates/builder/core/src/rejection_cache.rs:27
↓ 12 callersFunctioninvalid_game_mocks
Builds the common L2, factory, and verifier mocks for an invalid-game scenario: starting=10, `l2_block=20`, interval=5, checkpoints at 15 and 20 with
crates/proof/challenge/tests/driver.rs:219
↓ 12 callersMethodis_canyon_active_at_timestamp
Returns `true` if [`Canyon`](BaseUpgrade::Canyon) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:30
↓ 12 callersMethodis_empty
Returns `true` if the compressed output is empty.
crates/batcher/comp/src/traits.rs:29
↓ 12 callersMethodis_jovian_active
Returns true if jovian is active for the payload.
crates/builder/core/src/flashblocks/context.rs:444
↓ 12 callersMethodis_success
Returns true only when at least one node was targeted and every RPC succeeded.
crates/infra/basectl/src/rpc/conductor.rs:132
↓ 12 callersMethodl2_builder_provider
Returns an L2 builder provider with Base network.
etc/systems/src/smoke.rs:99
↓ 12 callersMethodl2_genesis
Return the L2 genesis [`L2BlockInfo`] anchored to the L1 genesis block. Convenience method eliminating the repeated 10-line construction used in reor
actions/harness/src/harness.rs:99
↓ 12 callersFunctionmake_block_with_user_tx
(parent_hash: B256)
crates/batcher/encoder/src/encoder.rs:1028
↓ 12 callersFunctionnew_test_db
()
crates/proof/executor/src/db/mod.rs:369
↓ 12 callersMethodnext
(&mut self)
crates/proof/mpt/src/list_walker.rs:150
↓ 12 callersMethodnonce
Returns the reserved nonce value.
crates/utilities/tx-manager/src/nonce.rs:340
↓ 12 callersMethodpoll_or_submit
Advances a pending proof through its lifecycle. - **`AwaitingProof`** — polls prover service: - `Succeeded` → transitions to `ReadyToSubmit` and fall
crates/proof/challenge/src/driver.rs:729
↓ 12 callersMethodpool
(&self)
crates/execution/rpc/src/eth/mod.rs:123
↓ 12 callersFunctionregister
( manager: &SignerManager<RecordingProofProvider, MockRegistry, RecordingTxManager>, cancel: &
crates/proof/tee/registrar/src/signer_manager.rs:926
↓ 12 callersMethodsend_test_payloads
(&self)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:351
↓ 12 callersMethodtopics
The gossip topics accepted for new blocks
crates/consensus/gossip/src/handler.rs:94
↓ 12 callersMethodtransaction_type
(mut self, transaction_type: u8)
crates/common/rpc-types/src/transaction/request.rs:249
↓ 12 callersMethodtransactions
Returns transactions in sequencer order.
crates/execution/metering/src/cache.rs:101
↓ 12 callersFunctionvalid_doc
A minimal valid `AttestationDocument` for M-02 unit tests.
crates/proof/tee/nitro-verifier/src/verify.rs:204
↓ 12 callersMethodverify_chain
Verifies the certificate chain and returns accumulated cert digests paired with expiry timestamps. Skips verification of the first `trusted_prefix_le
crates/proof/tee/nitro-verifier/src/x509.rs:113
↓ 12 callersMethodwith_l1_chain_id
Sets the L1 chain ID.
etc/systems/src/smoke.rs:148
↓ 12 callersMethodwith_max_fee_per_gas
Sets the EIP-1559 max fee per gas.
crates/builder/core/src/test_utils/txs.rs:85
↓ 12 callersMethodwith_transactions
Set the transactions for the flashblock.
crates/execution/flashblocks-node/src/test_harness.rs:554
↓ 11 callersMethodaccount_hashed_cursor
( &'tx self, max_block_number: u64, )
crates/execution/trie/tests/lib.rs:151
↓ 11 callersMethodact_reset
Reset the pipeline to a new L1 origin and L2 safe head after a reorg. Sends a [`ResetSignal`] to the pipeline, resets all head pointers, clears all p
actions/harness/src/node.rs:367
↓ 11 callersFunctionactivated_b20_client
( provider: &'a RootProvider<Base>, admin: &'a PrivateKeySigner, )
etc/systems/tests/b20_precompile.rs:53
↓ 11 callersMethodadd_frame
Add a frame to the channel. ## Takes - `frame`: The frame to add to the channel - `l1_inclusion_block`: The block that the frame was included in ##
crates/consensus/protocol/src/channel.rs:96
↓ 11 callersMethodadd_rpc_module
Adds an RPC hook that will run when RPC modules are configured.
crates/execution/runner/src/builder.rs:132
↓ 11 callersMethodas_str
Returns the operation as a string for metrics labels.
crates/execution/rpc/src/metrics.rs:44
↓ 11 callersMethodatomic_claim_task
Atomically claim a task by transitioning it from CREATED to PENDING. Returns true if the task was successfully claimed (was in CREATED state). Returns
crates/proof/zk/db/src/repo.rs:330
↓ 11 callersMethodatomic_claim_task
Atomically claim a task by transitioning it from CREATED to PENDING. Returns true if the task was successfully claimed (was in CREATED state). Returns
crates/proof/prover-service/db/src/repo.rs:371
↓ 11 callersFunctionbase_game_mocks
Builds the common L2 provider, factory, and output roots shared by most invalid-game test scenarios. Layout: starting=10, `l2_block=20`, interval=5, c
crates/proof/challenge/tests/driver.rs:198
↓ 11 callersMethodblock_by_number
Return the block at `number`, or `None` if it has not been mined yet.
actions/harness/src/l1/miner.rs:518
↓ 11 callersFunctionblock_id_to_key
Helper function to convert `BlockId` to a string key for `HashMap` storage. This is necessary because `BlockId` doesn't implement Hash.
crates/consensus/engine/src/test_utils/engine_client.rs:729
↓ 11 callersFunctionblock_info_from
Convert an [`L1Block`] reference to a [`BlockInfo`].
actions/harness/src/l1/miner.rs:19
↓ 11 callersFunctionbuild_test_validator
Builds a [`BaseTransactionValidator`] against a Cobalt-activated mainnet chain spec with no accounts seeded. EIP-8130 admission is fork-gated on Cobal
crates/execution/txpool/src/validator.rs:1440
↓ 11 callersMethodchannel_timeout
Returns the channel timeout for the given timestamp.
crates/common/genesis/src/rollup.rs:358
↓ 11 callersMethodclear
(&self)
crates/builder/metering/src/store.rs:135
↓ 11 callersMethodcompute_address
Computes the counterfactual CREATE2 address for a created account. Mirrors `computeAddress`.
crates/execution/eip8130/src/apply.rs:433
↓ 11 callersFunctioncreate_call
( variant: IB20Factory::B20Variant, params: IB20Factory::B20AssetCreateParams, salt: B
crates/common/precompiles/src/b20_factory/storage.rs:418
↓ 11 callersMethodcreate_for_worker_queue
Atomically create or replay a proof request for the worker API queue.
crates/proof/prover-service/db/src/repo.rs:69
↓ 11 callersFunctiondefault_l2
()
crates/proof/challenge/tests/driver.rs:128
↓ 11 callersFunctiondiscovery_mocks
Builds a factory and verifier pair where each game has the given `bond_recipient` and `zk_prover`. All games are `IN_PROGRESS` (status 0) unless overr
crates/proof/challenge/src/bond.rs:1485
↓ 11 callersFunctioneip1559_test_setup
()
crates/consensus/engine/src/attributes.rs:763
↓ 11 callersMethodencode
(self)
crates/execution/trie/src/db/models/storage.rs:33
↓ 11 callersMethoderr
(target: String, error: String)
bin/basectl/src/p2p.rs:507
↓ 11 callersMethodfetch_trie_updates
(&self, block_number: u64)
crates/execution/trie/src/db/store.rs:824
↓ 11 callersFunctiongen_word_from
(values: &[&str])
crates/common/precompile-storage/src/packing.rs:190
↓ 11 callersFunctiongenerate_txs_for_block
(chain_id: u64)
crates/execution/metering/src/rpc.rs:659
↓ 11 callersMethodgenesis_header
(&self)
crates/execution/chainspec/src/spec.rs:568
↓ 11 callersMethodget
(&self, key: PreimageKey)
crates/proof/tee/nitro-enclave/src/oracle.rs:111
↓ 11 callersMethodget
(&self, key: PreimageKey)
crates/proof/proof/src/boot.rs:407
↓ 11 callersFunctionget_attributes
( eip_1559_params: Option<B64>, min_base_fee: Option<u64>, timestamp: u64, )
crates/execution/node/src/engine.rs:418
↓ 11 callersMethodget_balance
Returns the balance for an address in pending state.
crates/execution/flashblocks/src/pending_blocks.rs:662
↓ 11 callersMethodget_state_overrides
Returns the state overrides for the pending state.
crates/execution/flashblocks/src/pending_blocks.rs:667
↓ 11 callersMethodinsert
Inserts a value into the cache.
crates/proof/rpc/src/cache.rs:141
↓ 11 callersFunctionk1_sig
65-byte `r || s || v` signature over `hash`, `v` in `{27, 28}`.
crates/execution/eip8130/src/authorize.rs:255
↓ 11 callersMethodkind
Returns the update kind.
crates/common/genesis/src/system/update.rs:57
↓ 11 callersMethodmint
Creates `amount` tokens at `to`. Enforces supply cap. Emits `Transfer(0x0, to, amount)`.
crates/common/precompiles/src/common/ops/mintable.rs:13
↓ 11 callersMethodnext_batch
Returns the next valid batch upon the given safe head. Also returns the boolean that indicates if the batch is the last block in the batch.
crates/consensus/derive/src/stages/batch/batch_queue.rs:289
↓ 11 callersFunctionnoop
(_: *const ())
crates/proof/proof/src/blocking_runtime.rs:31
↓ 11 callersFunctionowner_address
()
crates/common/precompiles/src/common/ops/permittable.rs:195
↓ 11 callersMethodparse
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:317
↓ 11 callersMethodrecord
Record (insert or update) the backend session for this job.
crates/proof/zk/host/src/session_handle.rs:51
↓ 11 callersMethodrecord_confirmed
Records a transaction that landed in a polled block. Gas and revert status are unknown at landing time and stay at their defaults until [`Self::apply
crates/infra/load-tests/src/metrics/collector.rs:66
↓ 11 callersMethodreset
Clears the cached nonce, forcing a fresh chain fetch on the next call to [`next_nonce`](Self::next_nonce). # Caution Unless [`with_pending_tag`](Sel
crates/utilities/tx-manager/src/nonce.rs:293
↓ 11 callersMethodsafe_head_updated
( &self, safe_head: L2BlockInfo, l1_block: BlockInfo, )
crates/consensus/safedb/src/db.rs:96
↓ 11 callersFunctionsample_event
()
crates/common/observability-events/src/writer.rs:276
↓ 11 callersMethodseek_exact
( &mut self, key: Nibbles, )
crates/execution/trie/src/cursor.rs:23
↓ 11 callersFunctionsetup
()
crates/execution/metering/src/rpc.rs:650
↓ 11 callersFunctionsig
65-byte `r || s || v` signature over `hash`, `v` in `{27, 28}`, low-s.
crates/execution/eip8130/src/transaction.rs:203
↓ 11 callersFunctionsnapshot
(provider: &RootProvider)
crates/utilities/tx-manager/tests/reorg.rs:49
↓ 11 callersMethodspec
Exposes the chain specification.
crates/common/evm/src/executor/factory.rs:45
↓ 11 callersMethodstorage_at
Read a storage value from the latest committed state. Accepts the slot as a `U256` for convenience (converted to `B256` internally). Returns `U256::Z
actions/harness/src/engine.rs:279
↓ 11 callersMethodstore_hashed_accounts
( &self, accounts: Vec<(B256, Option<Account>)>, )
crates/execution/trie/tests/lib.rs:276
↓ 11 callersMethodtick
Runs one collector tick. Returns `true` when the pipeline should drop stale recovery caches and reload state from chain immediately. `dispatched_thr
crates/proof/proposer/src/proof_collector.rs:71
↓ 11 callersMethodtruncate_to
Truncate the chain to retain only blocks `0..=number`. Use this after an L1 reorg to remove orphaned blocks from the shared view before pushing repla
actions/harness/src/l1/provider.rs:34
↓ 11 callersMethodtry_send_call
Sends a transaction and returns `true` if it succeeded, `false` if it reverted.
etc/systems/src/b20.rs:486
↓ 11 callersMethodtx_mined
Records that a transaction with the given hash has been observed onchain.
crates/utilities/tx-manager/src/send_state.rs:105
↓ 11 callersMethodtx_type
Returns [`OpTxType`] of the receipt.
crates/common/consensus/src/receipts/receipt.rs:49
↓ 11 callersFunctionvalidator
()
crates/execution/node/src/engine.rs:399
↓ 11 callersMethodwith_block_time_ms
(mut self, ms: u64)
crates/builder/core/src/config.rs:183
↓ 11 callersMethodwith_hashmap
(&self, f: impl FnOnce(&mut HashMapStorageProvider) -> R)
crates/common/precompile-storage/src/storage_ctx.rs:323
↓ 11 callersMethodwith_nonce
Sets an explicit nonce instead of fetching it from the provider.
crates/builder/core/src/test_utils/txs.rs:73
↓ 11 callersMethodwith_transaction_result
( &mut self, hash: B256, result: ExecutionResult<BaseHaltReason>, )
crates/execution/flashblocks/src/pending_blocks.rs:266
↓ 11 callersMethodwith_transaction_state
(&mut self, hash: B256, state: EvmState)
crates/execution/flashblocks/src/pending_blocks.rs:214
↓ 11 callersMethodwith_value
Sets the transfer value in wei.
crates/builder/core/src/test_utils/txs.rs:55
↓ 10 callersMethodactivate
Activates the feature.
crates/common/precompiles/src/activation/storage.rs:140
↓ 10 callersMethodactivate_feature
Activates an activation-registry feature.
etc/systems/src/b20.rs:207
↓ 10 callersFunctionbase_tx
(sender: Option<Address>, payer: Option<Address>)
crates/execution/eip8130/src/verify.rs:212
↓ 10 callersMethodblock_hash
Returns the block hash for the [`L1BlockInfoTx`].
crates/consensus/protocol/src/info/variant.rs:265
↓ 10 callersFunctionblock_info
Helper to create a [`BlockInfo`] for testing.
crates/consensus/safedb/src/db.rs:266
↓ 10 callersMethodblock_info_at
Return the block at `number` as a [`BlockInfo`]. Shorthand for `block_info_from(miner.block_by_number(number).expect(...))`. # Panics Panics if `nu
actions/harness/src/l1/miner.rs:589
↓ 10 callersFunctionblock_on
(f: impl Future<Output = T>)
crates/proof/proof/src/blocking_runtime.rs:8
↓ 10 callersMethodbuild
Builds the [`TransactionReceiptFields`] object.
crates/execution/rpc/src/eth/receipt.rs:236
↓ 10 callersFunctionbuild_test_exex
Initialize exex with config
crates/execution/exex/src/lib.rs:805
← previousnext →501–600 of 16,503, ranked by callers