MCPcopy Create free account

hub / github.com/base/base / functions

Functions16,503 in github.com/base/base

↓ 10 callersMethodbundle_hash
Returns the `bundle_hash` for events that carry bundle data.
crates/infra/audit/src/types.rs:119
↓ 10 callersFunctioncalc_data_slot
(len_slot: U256)
crates/common/precompile-storage/src/types/vec.rs:400
↓ 10 callersFunctioncalculate_receipt_root
Calculates the receipt root for a header.
crates/execution/consensus/src/proof.rs:13
↓ 10 callersMethodcalculate_tx_l1_cost
Calculate the gas cost of a transaction based on L1 block data posted on L2, depending on the [`BaseSpecId`] passed.
crates/common/evm/src/l1block.rs:328
↓ 10 callersMethodcall
Creates an error for a failed contract call.
crates/proof/contracts/src/error.rs:33
↓ 10 callersMethodcall_staticcall_probe_tx
Creates a transaction that calls a deployed staticcall probe with arbitrary calldata.
actions/harness/tests/beryl/env.rs:313
↓ 10 callersFunctioncap
(n: usize)
crates/utilities/ring-buffer/src/ring_buffer.rs:85
↓ 10 callersMethodcfg
(&self)
crates/consensus/engine/src/client.rs:201
↓ 10 callersMethodclear
(&mut self)
crates/infra/basectl/src/app/views/upgrades.rs:473
↓ 10 callersMethodcommit
Commits all state changes since the checkpoint. Uses `borrow_mut` (panicking) intentionally: `commit` is an explicit caller action, so a conflicting
crates/common/precompile-storage/src/storage_ctx.rs:298
↓ 10 callersFunctioncreate_bundle_from_txn_data
Creates a test bundle from the sample transaction data.
crates/common/bundles/src/test_utils.rs:24
↓ 10 callersMethodcreate_deployment_tx
Constructs a signed CREATE transaction with a given nonce and returns the signed bytes, contract address, and transaction hash.
crates/utilities/test-utils/src/accounts.rs:74
↓ 10 callersFunctioncreate_test_meter_bundle_response
Creates a default meter bundle response for testing.
crates/common/bundles/src/test_utils.rs:75
↓ 10 callersMethoddecrement
(&self, _: T)
crates/utilities/metrics/src/noop.rs:26
↓ 10 callersFunctiondefault_attributes
()
crates/consensus/engine/src/attributes.rs:434
↓ 10 callersMethoddeploy_staticcall_probe_tx
Creates and signs a transaction that deploys a staticcall probe for `target`.
actions/harness/tests/beryl/env.rs:298
↓ 10 callersMethodderive
(mut self)
actions/harness/tests/beryl/b20.rs:1035
↓ 10 callersMethodencode
Encode `data` into a single EIP-4844 [`Blob`]. Returns a [`BlobEncodeError::DataTooLarge`] if the input exceeds [`BLOB_MAX_DATA_SIZE`] bytes.
crates/batcher/blobs/src/encoder.rs:68
↓ 10 callersMethodevm_env
Builds an [`EvmEnv`] for a block header using Base spec resolution.
crates/execution/evm/src/env.rs:42
↓ 10 callersMethodfactories
( &self, )
crates/execution/trie/src/batch_provider.rs:60
↓ 10 callersMethodgas_used
Returns the gas used so far.
crates/common/precompile-storage/src/storage_ctx.rs:154
↓ 10 callersFunctiongenerate
(input: DeriveInput, address: Option<&Expr>)
crates/common/precompile-macros/src/contract.rs:59
↓ 10 callersMethodget
Returns the first backend matching `backend_type`.
crates/proof/zk/service/src/backends/traits.rs:310
↓ 10 callersMethodget_balance
Get the balance of an address across all three nodes.
etc/systems/src/rpc.rs:79
↓ 10 callersMethodget_receipt
Returns the receipt for a transaction.
crates/execution/flashblocks/src/pending_blocks.rs:580
↓ 10 callersMethodhashed_post_state
(&self, bundle_state: &BundleState)
crates/execution/trie/src/provider.rs:229
↓ 10 callersMethodinto_runtime_config
Converts parsed args into a chain-injected execution runtime config.
crates/execution/cli/src/node.rs:106
↓ 10 callersMethodis_empty
Returns true if no opcodes or precompiles are configured.
crates/execution/metering/src/meter.rs:244
↓ 10 callersMethodis_isthmus_active_at_timestamp
Returns `true` if [`Isthmus`](BaseUpgrade::Isthmus) is active at given block timestamp.
crates/common/chains/src/upgrades.rs:57
↓ 10 callersMethodisthmus_activated
Enable Isthmus at genesis.
crates/execution/chainspec/src/builder.rs:127
↓ 10 callersMethodlatest
Retrieves the latest built block and returns only a list of transaction hashes from its body.
crates/builder/core/src/test_utils/driver.rs:273
↓ 10 callersMethodlatest_number
Return the block number of the latest head.
actions/harness/src/l1/miner.rs:453
↓ 10 callersMethodlen
Returns the number of entries currently stored.
crates/utilities/ring-buffer/src/ring_buffer.rs:38
↓ 10 callersFunctionmake_token
()
crates/common/precompiles/src/common/ops/permittable.rs:189
↓ 10 callersMethodmerge
Merges the given list of [`Enr`]s with the current list of peers.
crates/consensus/peers/src/store.rs:160
↓ 10 callersFunctionpack
Canonical Solidity packing of `ActorConfig` (each field at its bit offset).
crates/execution/eip8130/src/authorize.rs:224
↓ 10 callersMethodparent_hash
(&self)
crates/execution/flashblocks/src/pending_blocks.rs:510
↓ 10 callersMethodpayload
(&self)
crates/common/genesis/src/updates/validator.rs:29
↓ 10 callersMethodprovider
Returns a reference to the underlying alloy provider that is used to interact with the chain.
crates/builder/core/src/test_utils/driver.rs:315
↓ 10 callersMethodro_tx
(&'tx self)
crates/execution/trie/src/metrics.rs:380
↓ 10 callersMethodsafe_head_at_l1
(&self, l1_block_num: u64)
crates/consensus/safedb/src/db.rs:223
↓ 10 callersFunctionsample_config
()
crates/proof/primitives/src/per_chain_config.rs:276
↓ 10 callersFunctionsample_tx
()
crates/common/consensus/src/transaction/eip8130/tx.rs:544
↓ 10 callersMethodseek_exact
Returns a non-deleted latest version for exactly `key`, if any.
crates/execution/trie/src/db/cursor.rs:89
↓ 10 callersMethodsend_flashblock
(&self, flashblock: Flashblock)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:347
↓ 10 callersMethodsend_raw_transaction
(&self, data: Bytes)
crates/infra/ingress-rpc/src/service.rs:93
↓ 10 callersMethodset_earliest_block_number
( &self, block_number: u64, hash: B256, )
crates/execution/trie/tests/lib.rs:243
↓ 10 callersFunctionsetup_estimator
( limits: ResourceLimits, )
crates/execution/metering/src/estimator.rs:1098
↓ 10 callersFunctionsetup_running_request
Create a request in RUNNING state with an associated proof session. Returns `(request_id, backend_session_id)`.
crates/proof/prover-service/db/tests/postgres_integration.rs:131
↓ 10 callersMethodstart_sequencer
Starts the sequencer in an idempotent fashion. `unsafe_head` is a safety guard: it must match the engine's current unsafe head hash. This prevents sp
crates/consensus/service/src/actors/sequencer/admin_api_impl.rs:128
↓ 10 callersMethodstate
Returns a reference to the inner [`EngineState`].
crates/consensus/engine/src/task_queue/core.rs:69
↓ 10 callersMethodstop
(&mut self)
crates/utilities/metrics/src/noop.rs:36
↓ 10 callersMethodsubmit
( &self, aggregate_proposal: &Proposal, proposals: &[Proposal], target_block:
crates/proof/proposer/src/proof_submitter.rs:96
↓ 10 callersMethodsubmit_transaction
Enqueue a signed L1 transaction for inclusion in the next mined block. Production-mode DA tests use this path so derivation receives the same `TxEnve
actions/harness/src/l1/miner.rs:600
↓ 10 callersMethodsubscribe_to_flashblocks
(&self)
crates/execution/flashblocks/src/state.rs:124
↓ 10 callersMethodsuccess
Creates a mock whose [`block_number_by_hash`](L1HeadProvider::block_number_by_hash) returns `number` and asserts it is called with `hash`.
crates/proof/challenge/src/test_utils.rs:905
↓ 10 callersFunctiontest_flashblock
()
crates/execution/flashblocks/src/pending_blocks.rs:866
↓ 10 callersFunctiontest_sender
()
crates/execution/flashblocks/src/pending_blocks.rs:862
↓ 10 callersMethodtick
Called each tick to perform periodic updates, returning any resulting action.
crates/infra/basectl/src/app/view.rs:16
↓ 10 callersMethodtip
Returns the current L2 tip cursor containing safe head information. # Panics This method panics if called before the cursor is properly initialized w
crates/proof/driver/src/cursor.rs:75
↓ 10 callersFunctionto_system_config
Converts the [`BaseBlock`] to a partial [`SystemConfig`].
crates/consensus/protocol/src/utils.rs:17
↓ 10 callersMethodtransaction_moved
Track a transaction moving from one pool to another.
crates/execution/txpool-tracing/src/tracker.rs:160
↓ 10 callersMethodtransfer_b20_tx
Creates a transaction that transfers B-20 tokens from Alice to `to`.
actions/harness/tests/beryl/env.rs:323
↓ 10 callersFunctionvalidate_bundle_request
Validates the structural constraints on a [`SendBundleRequest`]. Returns `Ok(())` if all restrictions pass, or an RPC error describing the first viol
crates/execution/txpool/src/bundle/rpc.rs:92
↓ 10 callersMethodvalidate_eip8130_structural
Runs the mempool admission checks that apply to EIP-8130 (account abstraction) transactions without requiring authenticator dispatch or account state
crates/execution/txpool/src/validator.rs:978
↓ 10 callersMethodvalidate_intermediate_roots
Validates the intermediate output roots of a candidate dispute game. Iterates checkpoint blocks from `starting_block_number + interval` to `l2_block_
crates/proof/challenge/src/validator.rs:315
↓ 10 callersMethodwith_rollup_config
Sets the rollup config.
crates/consensus/derive/src/test_utils/frames.rs:40
↓ 10 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/verify.rs:229
↓ 10 callersFunctionwith_storage
(body: impl FnOnce(&mut AccountConfigurationStorage<'_>) -> R)
crates/execution/eip8130/src/apply.rs:509
↓ 10 callersMethodwith_transaction_sender
(&mut self, hash: B256, sender: Address)
crates/execution/flashblocks/src/pending_blocks.rs:221
↓ 9 callersFunctionactivate_policy_registry
(storage: &mut HashMapStorageProvider)
crates/common/precompiles/src/policy/dispatch.rs:178
↓ 9 callersMethodadd
Adds `n` successfully-uploaded bytes to the cumulative counter.
crates/infra/snapshotter/src/progress.rs:403
↓ 9 callersMethodapply_pre_execution_changes
Applies EIP-4788, EIP-2935, and Canyon create2 deployer pre-execution changes to the EVM. Must be called once per block, before executing any transac
crates/execution/flashblocks/src/state_builder.rs:176
↓ 9 callersMethodas_receipt
Returns inner [`Receipt`].
crates/common/consensus/src/receipts/receipt.rs:61
↓ 9 callersMethodattempt_update
Attempts to update the active stage of the mux.
crates/consensus/derive/src/stages/channel/channel_provider.rs:59
↓ 9 callersFunctionauth_blob
`authenticator(20) || data`.
crates/execution/eip8130/src/transaction.rs:212
↓ 9 callersMethodbasic_account
(&self, address: &Address)
crates/execution/trie/src/provider.rs:235
↓ 9 callersMethodblock
(&self)
crates/common/evm/src/evm.rs:394
↓ 9 callersMethodbuild_with_inspector
Builds a [`BaseEvm`] with the given inspector. The inspect flag is `true`, so [`Inspector`][revm::Inspector] callbacks are invoked on every [`alloy_ev
crates/common/evm/src/api/builder.rs:60
↓ 9 callersMethodclone
(&self)
crates/execution/payload/src/builder.rs:79
↓ 9 callersFunctioncompressed_claim
A compressed ZK worker claim advertising SP1 capability.
crates/proof/prover-service/db/tests/postgres_integration.rs:1497
↓ 9 callersMethodconfirm
(&mut self, id: SubmissionId, l1_block: u64)
crates/batcher/encoder/src/encoder.rs:774
↓ 9 callersMethodconnect_client
(&mut self)
crates/infra/websocket-proxy/tests/integration.rs:102
↓ 9 callersMethodcreate_first_payload
(&self)
crates/execution/flashblocks-node/tests/flashblocks_rpc.rs:278
↓ 9 callersMethodcreate_policy
Creates a new ALLOWLIST or BLOCKLIST policy, returning its encoded ID.
crates/common/precompiles/src/policy/storage.rs:187
↓ 9 callersMethodcreate_proof_session
Create a new proof session
crates/proof/zk/db/src/repo.rs:626
↓ 9 callersFunctioncreate_test_account_with_values
Helper to create a test account with custom values
crates/execution/trie/tests/lib.rs:73
↓ 9 callersMethodcreate_with_outbox
Atomically create a proof request and outbox entry in a transaction. On `session_id` conflict, lock the row `FOR UPDATE` and branch on state: paramet
crates/proof/zk/db/src/repo.rs:83
↓ 9 callersMethoddeduct_gas
(&mut self, gas: u64)
crates/common/precompile-storage/src/evm.rs:251
↓ 9 callersMethoddelete
(storage: &mut S, len_slot: U256, ctx: LayoutCtx)
crates/common/precompile-storage/src/types/vec.rs:74
↓ 9 callersMethodderive_next_batch
Derives the next batch to apply on top of the current L2 safe head. Follows the validity rules imposed on consecutive batches. Based on currently avai
crates/consensus/derive/src/stages/batch/batch_queue.rs:97
↓ 9 callersMethodencode
Encode the frame into a byte vector.
crates/consensus/protocol/src/frame.rs:195
↓ 9 callersMethodencode
Encodes a [`NetworkPayloadEnvelope`] into a byte array based on the specified topic.
crates/consensus/gossip/src/handler.rs:138
↓ 9 callersMethodencode_and_drain
Step the encoder until idle, force-close the current channel, and return all frames from every available submission. Convenience wrapper for tests an
crates/batcher/encoder/src/encoder.rs:149
↓ 9 callersMethodestimate_for_block
Returns fee estimates for the provided block. If `block_number` is `None` the most recent block in the cache is used. Returns `Ok(None)` if the cache
crates/execution/metering/src/estimator.rs:506
↓ 9 callersMethodextra_data
Returns the extra data for the block. After holocene this extracts the extradata from the payload
crates/builder/core/src/flashblocks/context.rs:386
↓ 9 callersFunctionfactory_game
Helper to build a factory game entry.
crates/proof/challenge/src/test_utils.rs:537
↓ 9 callersMethodfinalize
(&mut self)
crates/common/evm/src/evm.rs:239
↓ 9 callersMethodfinish
Finalizes the event ID as a hex-encoded SHA-256 digest.
crates/common/observability-events/src/id.rs:29
↓ 9 callersFunctionfrom_tx
Build the trie + hashed cursor factories sharing one read transaction at the given block.
crates/execution/trie/src/proof.rs:29
← previousnext →601–700 of 16,503, ranked by callers