MCPcopy Create free account

hub / github.com/base/base / functions

Functions23,652 in github.com/base/base

Methodwith_execution_payload_v4
Sets the execution payload v4 response.
crates/consensus/engine/src/test_utils/engine_client.rs:242
Methodwith_execution_payload_v5
Sets the execution payload v5 response.
crates/consensus/engine/src/test_utils/engine_client.rs:248
Methodwith_ext
Add an extension to be applied during node launch using its config type.
crates/execution/runner/src/test_utils/harness.rs:59
Methodwith_extensions
Launch the harness with additional node extensions installed before flashblocks.
crates/execution/flashblocks-node/src/test_harness.rs:370
Methodwith_failed_claims
(next_job: Option<ProofJob>, failed_claims: Vec<ProofType>)
crates/proof/worker/src/job_discovery.rs:522
Methodwith_flashblocks_interval_ms
(mut self, ms: u64)
crates/builder/core/src/config.rs:219
Methodwith_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
Methodwith_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
Methodwith_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
Methodwith_gater_config
Sets the configuration for the connection gater.
crates/consensus/gossip/src/builder.rs:77
Methodwith_heartbeat_failure
(failure: MockHeartbeatFailure)
crates/proof/tee/nitro-host/src/proof_generator.rs:457
Functionwith_host_port_if_needed
( container: ContainerRequest<I>, _port: u16, )
etc/systems/src/host.rs:51
Methodwith_http_client
Creates a new [`SequencerClient`] with http transport with the given http client.
crates/execution/rpc/src/sequencer.rs:119
Methodwith_ipc
Creates an IPC [`EngineApi`] client from a socket path.
crates/builder/core/src/test_utils/apis.rs:142
Methodwith_isthmus_activation_block
Sets the L2 block number at which Isthmus activates.
etc/systems/src/setup/container.rs:288
Methodwith_jwt_secret
Overrides the JWT secret used for authentication.
crates/builder/core/src/test_utils/apis.rs:125
Methodwith_keypair
Sets the [`Keypair`] for the node.
crates/consensus/gossip/src/builder.rs:127
Methodwith_l1_chain
Seeds the fake L1 chain.
crates/consensus/service/src/test_utils/builder.rs:160
Methodwith_l2_chain_id
Sets the L2 chain ID.
etc/systems/src/setup/container.rs:276
Methodwith_leader_zero
Convenience constructor: sequencer `0` is the initial leader.
actions/harness/src/conductor.rs:47
Methodwith_localhost_port
Creates an HTTP [`EngineApi`] client targeting `localhost` on the given port.
crates/builder/core/src/test_utils/apis.rs:104
Methodwith_max_consecutive_failures
Creates a heartbeat config with an explicit retryable failure limit.
crates/proof/worker/src/heartbeat.rs:52
Methodwith_max_extra_data_size
Sets the maximum allowed extra data size and returns the updated instance.
crates/execution/consensus/src/lib.rs:68
Methodwith_max_identify_peerstore_peers
Sets the maximum number of peers to retain identify metadata for.
crates/consensus/gossip/src/builder.rs:89
Methodwith_max_pending_submissions
(mut self, max_pending: usize)
crates/proof/worker/src/task.rs:45
Methodwith_max_sequencer_drift
Overrides the pre-Fjord `max_sequencer_drift` field on the config.
actions/harness/src/test_rollup_config.rs:53
Methodwith_max_validity_predicates
Creates a validity transaction ingress with a predicate limit and default expiry window.
crates/execution/txpool-rpc/src/rpc.rs:149
Methodwith_minimum_protocol_version
Sets the minimum protocol version seeded into the mock contract.
etc/systems/src/upgrade_signal.rs:68
Methodwith_mnemonic
Sets the mnemonic for account derivation.
crates/infra/load-tests/src/runner/config.rs:499
Methodwith_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
Methodwith_new_payload_v3_response
Sets the `new_payload_v3` response.
crates/consensus/engine/src/test_utils/engine_client.rs:194
Methodwith_new_payload_v4_response
Sets the `new_payload_v4` response.
crates/consensus/engine/src/test_utils/engine_client.rs:200
Methodwith_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
Methodwith_offset
Creates a new pool of accounts, skipping the first `offset` accounts.
crates/infra/load-tests/src/workload/accounts.rs:67
Methodwith_options
Creates a new precompile payload with all options.
crates/infra/load-tests/src/workload/payloads/precompile.rs:61
Methodwith_options
(process_canonical: bool)
crates/execution/flashblocks-node/src/test_harness.rs:250
Methodwith_output
(mut self, expected_output: Vec<u8>)
actions/harness/tests/beryl/b20.rs:1063
Methodwith_output_dir
Overrides the output directory used for deployment artifacts.
etc/systems/src/deployer/base_deployer.rs:98
Methodwith_payload_bodies_by_hash_response
Sets the `get_payload_bodies_by_hash_v1` response.
crates/consensus/engine/src/test_utils/engine_client.rs:254
Methodwith_payload_bodies_by_range_response
Sets the `get_payload_bodies_by_range_v1` response.
crates/consensus/engine/src/test_utils/engine_client.rs:263
Methodwith_payload_id
Sets the payload ID join key.
crates/common/observability-events/src/event.rs:373
Methodwith_payload_validator
Maps the [`PayloadValidatorBuilder`] builder type.
crates/execution/node/src/node.rs:507
Methodwith_plan
(plan: &RegistrationPlan)
crates/proof/tee/registrar/src/signer_manager.rs:1271
Methodwith_poll_interval
Sets the delay after empty or failed discovery attempts.
crates/proof/worker/src/job_discovery.rs:206
Methodwith_pool_config_overrides
Sets the [`PoolBuilderConfigOverrides`] on the pool builder.
crates/execution/node/src/node.rs:923
Methodwith_port
Overrides the port on this client's URL.
crates/builder/core/src/test_utils/apis.rs:115
Methodwith_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
Methodwith_predicate_bucket_ordered_threshold
Configures the predicate bucket ordered conversion threshold.
crates/execution/node/src/node.rs:1130
Methodwith_predicate_eval_hard_cutoff
Configure the cumulative validity-predicate evaluation time limit per payload build.
crates/execution/node/src/node.rs:1124
Methodwith_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
Methodwith_proof
Sets a proof response for a specific address and `BlockId`.
crates/consensus/engine/src/test_utils/engine_client.rs:298
Functionwith_registration_checker_rejects_extra_checker_transport
()
crates/proof/tee/nitro-host/src/pool.rs:344
Functionwith_registration_checker_rejects_reordered_checker_transports
()
crates/proof/tee/nitro-host/src/pool.rs:367
Methodwith_registration_health
Enables registration-gated health checks.
crates/proof/tee/nitro-host/src/server.rs:77
Methodwith_request_id
Sets the request ID join key.
crates/common/observability-events/src/event.rs:379
Methodwith_resource_metering
Sets resource-unit metering used to throttle transactions in the native payload builder.
crates/execution/payload/src/config.rs:121
Methodwith_responses
Creates a new mock with multiple responses returned in order.
crates/proof/challenge/src/test_utils.rs:833
Methodwith_retry_config
Sets the retry configuration.
crates/proof/rpc/src/l1_client.rs:69
Methodwith_retry_config
Sets the retry configuration.
crates/proof/rpc/src/rollup_client.rs:64
Methodwith_retry_config
Sets the retry configuration.
crates/proof/rpc/src/l2_client.rs:85
Methodwith_revert
Sets calldata that immediately reverts (`PUSH1 0 PUSH1 0 REVERT`).
crates/builder/core/src/test_utils/txs.rs:103
Methodwith_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
Methodwith_rollup_config
(config: EncoderConfig, rollup_config: RollupConfig)
crates/batcher/encoder/tests/encoder/common.rs:265
Methodwith_routing_config
Configures multiplexer runtime config.
crates/builder/multiplex/src/service_builder.rs:50
Methodwith_rpc_config
Sets the [`RpcBuilder`] on the [`RollupNodeBuilder`].
crates/consensus/service/src/service/builder.rs:154
Methodwith_rpc_http_url
Sets the transaction submission HTTP JSON-RPC URL.
crates/infra/load-tests/src/runner/config.rs:474
Methodwith_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
Methodwith_runtime
Creates a new [`NonceManager`] with an injected runtime.
crates/utilities/tx-manager/src/nonce.rs:89
Methodwith_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
Methodwith_seed
Sets the random seed for reproducible workload generation.
crates/infra/load-tests/src/config/workload.rs:19
Methodwith_sender_offset
Sets the sender offset (skip first N accounts in derivation).
crates/infra/load-tests/src/runner/config.rs:505
Methodwith_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
Methodwith_shutdown_timeout
(mut self, timeout: Duration)
crates/execution/tx-forwarding/src/service.rs:208
Methodwith_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
Methodwith_signer
Sets the signer for the [`NetworkBuilder`].
crates/consensus/service/src/actors/network/builder.rs:110
Methodwith_skip_tls_verify
Sets whether to skip TLS certificate verification.
crates/proof/rpc/src/rollup_client.rs:70
Methodwith_skip_tls_verify
Sets whether to skip TLS certificate verification.
crates/proof/rpc/src/l2_client.rs:91
Methodwith_slot_duration
Sets the slot duration.
etc/systems/src/setup/container.rs:282
Methodwith_snapshot_overrides
Applies local snapshot overrides to the recovered system configuration.
etc/systems/src/l2/snapshot_stack.rs:328
Methodwith_stable_config
Enables stable container names and ports matching docker-compose.yml.
etc/systems/src/smoke.rs:521
Methodwith_state_provider_metrics
(mut self, enabled: bool)
crates/builder/core/src/config.rs:246
Methodwith_state_provider_metrics
(mut self, enabled: bool)
crates/execution/payload/src/config.rs:114
Methodwith_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
Methodwith_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
Methodwith_store_interval
Sets the interval to store the bootnodes to disk.
crates/consensus/disc/src/builder.rs:126
Methodwith_target_gps
Sets an optional gas-per-second ceiling.
crates/infra/load-tests/src/runner/config.rs:517
Methodwith_tcp_port
Sets the tcp port
crates/consensus/peers/src/record.rs:60
Methodwith_timeout
(mut base: String, timeout: Duration)
crates/consensus/providers/src/beacon_client.rs:149
Methodwith_timeout
Sets the timeout for the [`GossipDriverBuilder`].
crates/consensus/service/src/actors/network/builder.rs:170
Methodwith_timeout
Sets the swarm's idle connection timeout.
crates/consensus/gossip/src/builder.rs:133
Methodwith_timestamp_ms
Creates a header response with an explicit millisecond timestamp.
crates/common/rpc-types/src/block.rs:34
Methodwith_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
Methodwith_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
Functionwith_token_bridges_existing_token
()
crates/utilities/runtime/src/tokio.rs:175
Methodwith_topic_scoring
Sets topic scoring. This is disabled by default.
crates/consensus/gossip/src/builder.rs:103
Methodwith_transactions
Sets the transaction types with weights.
crates/infra/load-tests/src/runner/config.rs:511
Methodwith_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
Methodwith_udp_port
Sets the udp port
crates/consensus/peers/src/record.rs:66
Methodwith_unsafe_block_signer_receiver
Sets the unsafe block signer [`Address`].
crates/consensus/gossip/src/builder.rs:121
Methodwith_uuid_game_responses
Creates a mock whose `games()` calls pop from the given responses.
crates/proof/proposer/src/test_utils.rs:204
← previousnext →23,401–23,500 of 23,652, ranked by callers