Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
23,652 in github.com/base/base
⨍
Functions
23,652
◇
Types & classes
3,462
Method
with_execution_payload_v4
Sets the execution payload v4 response.
crates/consensus/engine/src/test_utils/engine_client.rs:242
Method
with_execution_payload_v5
Sets the execution payload v5 response.
crates/consensus/engine/src/test_utils/engine_client.rs:248
Method
with_ext
Add an extension to be applied during node launch using its config type.
crates/execution/runner/src/test_utils/harness.rs:59
Method
with_extensions
Launch the harness with additional node extensions installed before flashblocks.
crates/execution/flashblocks-node/src/test_harness.rs:370
Method
with_failed_claims
(next_job: Option<ProofJob>, failed_claims: Vec<ProofType>)
crates/proof/worker/src/job_discovery.rs:522
Method
with_flashblocks_interval_ms
(mut self, ms: u64)
crates/builder/core/src/config.rs:219
Method
with_fork_choice_updated_v2_error
Sets an error to return for `fork_choice_updated_v2`.
crates/consensus/engine/src/test_utils/engine_client.rs:218
Method
with_fork_choice_updated_v3_error
Sets an error to return for `fork_choice_updated_v3`.
crates/consensus/engine/src/test_utils/engine_client.rs:224
Method
with_gas_limit
Specifies a custom gas limit for blocks being built, otherwise the limit is set to a default value of `10_000_000`.
crates/builder/core/src/test_utils/driver.rs:72
Method
with_gater_config
Sets the configuration for the connection gater.
crates/consensus/gossip/src/builder.rs:77
Method
with_heartbeat_failure
(failure: MockHeartbeatFailure)
crates/proof/tee/nitro-host/src/proof_generator.rs:457
Function
with_host_port_if_needed
( container: ContainerRequest<I>, _port: u16, )
etc/systems/src/host.rs:51
Method
with_http_client
Creates a new [`SequencerClient`] with http transport with the given http client.
crates/execution/rpc/src/sequencer.rs:119
Method
with_ipc
Creates an IPC [`EngineApi`] client from a socket path.
crates/builder/core/src/test_utils/apis.rs:142
Method
with_isthmus_activation_block
Sets the L2 block number at which Isthmus activates.
etc/systems/src/setup/container.rs:288
Method
with_jwt_secret
Overrides the JWT secret used for authentication.
crates/builder/core/src/test_utils/apis.rs:125
Method
with_keypair
Sets the [`Keypair`] for the node.
crates/consensus/gossip/src/builder.rs:127
Method
with_l1_chain
Seeds the fake L1 chain.
crates/consensus/service/src/test_utils/builder.rs:160
Method
with_l2_chain_id
Sets the L2 chain ID.
etc/systems/src/setup/container.rs:276
Method
with_leader_zero
Convenience constructor: sequencer `0` is the initial leader.
actions/harness/src/conductor.rs:47
Method
with_localhost_port
Creates an HTTP [`EngineApi`] client targeting `localhost` on the given port.
crates/builder/core/src/test_utils/apis.rs:104
Method
with_max_consecutive_failures
Creates a heartbeat config with an explicit retryable failure limit.
crates/proof/worker/src/heartbeat.rs:52
Method
with_max_extra_data_size
Sets the maximum allowed extra data size and returns the updated instance.
crates/execution/consensus/src/lib.rs:68
Method
with_max_identify_peerstore_peers
Sets the maximum number of peers to retain identify metadata for.
crates/consensus/gossip/src/builder.rs:89
Method
with_max_pending_submissions
(mut self, max_pending: usize)
crates/proof/worker/src/task.rs:45
Method
with_max_sequencer_drift
Overrides the pre-Fjord `max_sequencer_drift` field on the config.
actions/harness/src/test_rollup_config.rs:53
Method
with_max_validity_predicates
Creates a validity transaction ingress with a predicate limit and default expiry window.
crates/execution/txpool-rpc/src/rpc.rs:149
Method
with_minimum_protocol_version
Sets the minimum protocol version seeded into the mock contract.
etc/systems/src/upgrade_signal.rs:68
Method
with_mnemonic
Sets the mnemonic for account derivation.
crates/infra/load-tests/src/runner/config.rs:499
Method
with_mock_verifier
Runs `operation` with `verifier`'s code replaced by the mock verifier, restoring it either way. The restore is asserted, not assumed: leaving a permi
crates/infra/challenger-e2e/src/challenger_e2e.rs:938
Method
with_new_payload_v3_response
Sets the `new_payload_v3` response.
crates/consensus/engine/src/test_utils/engine_client.rs:194
Method
with_new_payload_v4_response
Sets the `new_payload_v4` response.
crates/consensus/engine/src/test_utils/engine_client.rs:200
Method
with_number
Returns an empty block with the given number. Pick one above the driver's safe head, or the driver drops it as already safe.
crates/batcher/core/src/test_utils/builder.rs:28
Method
with_offset
Creates a new pool of accounts, skipping the first `offset` accounts.
crates/infra/load-tests/src/workload/accounts.rs:67
Method
with_options
Creates a new precompile payload with all options.
crates/infra/load-tests/src/workload/payloads/precompile.rs:61
Method
with_options
(process_canonical: bool)
crates/execution/flashblocks-node/src/test_harness.rs:250
Method
with_output
(mut self, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1063
Method
with_output_dir
Overrides the output directory used for deployment artifacts.
etc/systems/src/deployer/base_deployer.rs:98
Method
with_payload_bodies_by_hash_response
Sets the `get_payload_bodies_by_hash_v1` response.
crates/consensus/engine/src/test_utils/engine_client.rs:254
Method
with_payload_bodies_by_range_response
Sets the `get_payload_bodies_by_range_v1` response.
crates/consensus/engine/src/test_utils/engine_client.rs:263
Method
with_payload_id
Sets the payload ID join key.
crates/common/observability-events/src/event.rs:373
Method
with_payload_validator
Maps the [`PayloadValidatorBuilder`] builder type.
crates/execution/node/src/node.rs:507
Method
with_plan
(plan: &RegistrationPlan)
crates/proof/tee/registrar/src/signer_manager.rs:1271
Method
with_poll_interval
Sets the delay after empty or failed discovery attempts.
crates/proof/worker/src/job_discovery.rs:206
Method
with_pool_config_overrides
Sets the [`PoolBuilderConfigOverrides`] on the pool builder.
crates/execution/node/src/node.rs:923
Method
with_port
Overrides the port on this client's URL.
crates/builder/core/src/test_utils/apis.rs:115
Method
with_precompiles
Consumes `self` and returns a new [`BaseEvm`] with the given precompile set, preserving the inspect flag. Used to substitute the default [`Precompiles
crates/common/evm/src/evm.rs:98
Method
with_predicate_bucket_ordered_threshold
Configures the predicate bucket ordered conversion threshold.
crates/execution/node/src/node.rs:1130
Method
with_predicate_eval_hard_cutoff
Configure the cumulative validity-predicate evaluation time limit per payload build.
crates/execution/node/src/node.rs:1124
Method
with_promoted_last
Yields promoted transactions only after every queued one, so queued transactions can change state between a promotion and the re-yield.
crates/execution/payload/src/builder.rs:2235
Method
with_proof
Sets a proof response for a specific address and `BlockId`.
crates/consensus/engine/src/test_utils/engine_client.rs:298
Function
with_registration_checker_rejects_extra_checker_transport
()
crates/proof/tee/nitro-host/src/pool.rs:344
Function
with_registration_checker_rejects_reordered_checker_transports
()
crates/proof/tee/nitro-host/src/pool.rs:367
Method
with_registration_health
Enables registration-gated health checks.
crates/proof/tee/nitro-host/src/server.rs:77
Method
with_request_id
Sets the request ID join key.
crates/common/observability-events/src/event.rs:379
Method
with_resource_metering
Sets resource-unit metering used to throttle transactions in the native payload builder.
crates/execution/payload/src/config.rs:121
Method
with_responses
Creates a new mock with multiple responses returned in order.
crates/proof/challenge/src/test_utils.rs:833
Method
with_retry_config
Sets the retry configuration.
crates/proof/rpc/src/l1_client.rs:69
Method
with_retry_config
Sets the retry configuration.
crates/proof/rpc/src/rollup_client.rs:64
Method
with_retry_config
Sets the retry configuration.
crates/proof/rpc/src/l2_client.rs:85
Method
with_revert
Sets calldata that immediately reverts (`PUSH1 0 PUSH1 0 REVERT`).
crates/builder/core/src/test_utils/txs.rs:103
Method
with_rollup_config
Sets the [`RollupConfig`] for the network. This is used to determine the topic to publish to.
crates/consensus/gossip/src/builder.rs:96
Method
with_rollup_config
(config: EncoderConfig, rollup_config: RollupConfig)
crates/batcher/encoder/tests/encoder/common.rs:265
Method
with_routing_config
Configures multiplexer runtime config.
crates/builder/multiplex/src/service_builder.rs:50
Method
with_rpc_config
Sets the [`RpcBuilder`] on the [`RollupNodeBuilder`].
crates/consensus/service/src/service/builder.rs:154
Method
with_rpc_http_url
Sets the transaction submission HTTP JSON-RPC URL.
crates/infra/load-tests/src/runner/config.rs:474
Method
with_rpc_middleware
Sets the RPC middleware stack for processing RPC requests. This method configures a custom middleware stack that will be applied to all RPC requests
crates/execution/node/src/node.rs:537
Method
with_runtime
Creates a new [`NonceManager`] with an injected runtime.
crates/utilities/tx-manager/src/nonce.rs:89
Method
with_runtime
Creates a new `TxQueue` backed by an explicit task spawner. Production callers normally use [`TxQueue::new`]. Tests can pass `base_runtime::determini
crates/utilities/tx-manager/src/queue.rs:60
Method
with_seed
Sets the random seed for reproducible workload generation.
crates/infra/load-tests/src/config/workload.rs:19
Method
with_sender_offset
Sets the sender offset (skip first N accounts in derivation).
crates/infra/load-tests/src/runner/config.rs:505
Method
with_shared_l1
Uses a CI-scoped L1 fixture instead of starting a dedicated L1 stack. The shared fixture is intentionally incompatible with L1 fault injection: reorg
etc/systems/src/smoke.rs:562
Method
with_shutdown_timeout
(mut self, timeout: Duration)
crates/execution/tx-forwarding/src/service.rs:208
Method
with_signer
Specifies the signer used to sign transactions. If not specified, a random signer will be used.
crates/builder/core/src/test_utils/driver.rs:65
Method
with_signer
Sets the signer for the [`NetworkBuilder`].
crates/consensus/service/src/actors/network/builder.rs:110
Method
with_skip_tls_verify
Sets whether to skip TLS certificate verification.
crates/proof/rpc/src/rollup_client.rs:70
Method
with_skip_tls_verify
Sets whether to skip TLS certificate verification.
crates/proof/rpc/src/l2_client.rs:91
Method
with_slot_duration
Sets the slot duration.
etc/systems/src/setup/container.rs:282
Method
with_snapshot_overrides
Applies local snapshot overrides to the recovered system configuration.
etc/systems/src/l2/snapshot_stack.rs:328
Method
with_stable_config
Enables stable container names and ports matching docker-compose.yml.
etc/systems/src/smoke.rs:521
Method
with_state_provider_metrics
(mut self, enabled: bool)
crates/builder/core/src/config.rs:246
Method
with_state_provider_metrics
(mut self, enabled: bool)
crates/execution/payload/src/config.rs:114
Method
with_storage_and_policy
Creates a holder backed by token storage, policy-registry storage, and version.
crates/common/precompiles/src/b20_stablecoin/logic/mod.rs:40
Method
with_storage_and_policy
Creates a holder backed by token storage, policy-registry storage, and version.
crates/common/precompiles/src/b20_asset/logic/mod.rs:40
Method
with_store_interval
Sets the interval to store the bootnodes to disk.
crates/consensus/disc/src/builder.rs:126
Method
with_target_gps
Sets an optional gas-per-second ceiling.
crates/infra/load-tests/src/runner/config.rs:517
Method
with_tcp_port
Sets the tcp port
crates/consensus/peers/src/record.rs:60
Method
with_timeout
(mut base: String, timeout: Duration)
crates/consensus/providers/src/beacon_client.rs:149
Method
with_timeout
Sets the timeout for the [`GossipDriverBuilder`].
crates/consensus/service/src/actors/network/builder.rs:170
Method
with_timeout
Sets the swarm's idle connection timeout.
crates/consensus/gossip/src/builder.rs:133
Method
with_timestamp_ms
Creates a header response with an explicit millisecond timestamp.
crates/common/rpc-types/src/block.rs:34
Method
with_tmpfs_datadirs
Backs the L1 container datadirs (reth, lighthouse) with tmpfs. reth's mdbx and lighthouse's database need a writable `MAP_SHARED` mmap, which some co
etc/systems/src/smoke.rs:547
Method
with_token
Wrap an existing `CancellationToken`. Useful when migrating code that already creates tokens externally. The `now()` epoch is set to the current wall
crates/utilities/runtime/src/tokio.rs:36
Function
with_token_bridges_existing_token
()
crates/utilities/runtime/src/tokio.rs:175
Method
with_topic_scoring
Sets topic scoring. This is disabled by default.
crates/consensus/gossip/src/builder.rs:103
Method
with_transactions
Sets the transaction types with weights.
crates/infra/load-tests/src/runner/config.rs:511
Method
with_transport
Constructs a new [`NetworkActor`] with a pre-built [`GossipTransport`]. Use this constructor when supplying a custom transport, such as a channel-bas
crates/consensus/service/src/actors/network/actor.rs:95
Method
with_udp_port
Sets the udp port
crates/consensus/peers/src/record.rs:66
Method
with_unsafe_block_signer_receiver
Sets the unsafe block signer [`Address`].
crates/consensus/gossip/src/builder.rs:121
Method
with_uuid_game_responses
Creates a mock whose `games()` calls pop from the given responses.
crates/proof/proposer/src/test_utils.rs:204
← previous
next →
23,401–23,500 of 23,652, ranked by callers