Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
21,276 in github.com/base/base
⨍
Functions
21,276
◇
Types & classes
3,286
↓ 60 callers
Method
chain
Set the chain ID.
crates/execution/chainspec/src/builder.rs:34
↓ 60 callers
Method
count
Counts how many observed transactions currently have the given status.
crates/builder/core/src/test_utils/txs.rs:259
↓ 60 callers
Method
into_iter
(self)
crates/common/precompile-storage/src/types/set.rs:74
↓ 60 callers
Method
iter
Iterates through the named fork schedules.
actions/harness/src/matrix.rs:90
↓ 60 callers
Method
len
Returns the number of frames ingested.
crates/consensus/protocol/src/channel.rs:78
↓ 60 callers
Function
setup_storage
()
crates/common/precompile-storage/src/hashmap.rs:463
↓ 58 callers
Method
is_empty
(&self)
crates/execution/txpool/src/guard.rs:184
↓ 58 callers
Method
parse
Parses raw bytes into a [`Keypair`].
crates/consensus/peers/src/secrets.rs:84
↓ 58 callers
Method
remove
Removes the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:180
↓ 58 callers
Function
test_pool
Connect to the test database using `DATABASE_URL` env var.
crates/proof/prover-service/db/tests/postgres_integration.rs:41
↓ 58 callers
Function
test_repo
(pool: PgPool)
crates/proof/prover-service/db/tests/postgres_integration.rs:53
↓ 57 callers
Function
minimal_valid_eoa_tx
Returns a minimal, structurally valid EOA-path [`TxEip8130`] bound to the test chain. `sender` is left as `None` so the EOA recovery path is exercised
crates/execution/txpool/src/validator.rs:2455
↓ 57 callers
Method
nonce
(&self)
crates/execution/txpool/src/transaction.rs:252
↓ 55 callers
Function
test_engine_client_builder
Builder for creating test `MockEngineClient` instances with sensible defaults
crates/consensus/engine/src/test_utils/engine_client.rs:36
↓ 54 callers
Method
get
Returns the current recovery mode state.
crates/consensus/service/src/actors/sequencer/recovery.rs:29
↓ 54 callers
Method
into_inner
Consumes the response and returns the wrapped Ethereum header response.
crates/common/rpc-types/src/block.rs:39
↓ 53 callers
Function
op
Drives one op through the resolver-gated (`Beryl` -> V1) unprivileged path.
crates/common/precompiles/tests/b20_asset_v1_golden.rs:165
↓ 53 callers
Method
read
Resolves the channel nonce for `(address, nonce_key)` at `block_id`, honoring `state_overrides` if provided. `state_overrides` lets callers stack pen
crates/execution/eip8130-rpc/src/nonce_reader.rs:45
↓ 52 callers
Method
build
Starts a block build directly against the execution layer.
crates/consensus/engine/src/task_queue/core.rs:86
↓ 52 callers
Function
connect
()
crates/proof/prover-service/tests/common/mod.rs:5
↓ 52 callers
Method
get
Gets a value from the cache, returning `None` if not present.
crates/proof/rpc/src/cache.rs:116
↓ 52 callers
Method
send
Builds, signs, and broadcasts the transaction, returning a pending transaction handle.
crates/builder/core/src/test_utils/txs.rs:151
↓ 51 callers
Method
route
Decodes calldata, observes the decoded operation, and routes it to `version` with optional factory-init privilege.
crates/common/precompiles/src/b20_asset/dispatch.rs:100
↓ 51 callers
Function
seed
Mutates raw token storage through the accounting port (test setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:152
↓ 51 callers
Method
sum
Sum of every series sharing `name`, or `0.0` when the metric is absent. Absent-as-zero is what makes the assertions readable: a counter that has neve
crates/infra/challenger-e2e/src/metrics.rs:55
↓ 50 callers
Function
give_role
Grants `role` to `who` and bumps the role member count (setup only).
crates/common/precompiles/tests/b20_asset_v2_golden.rs:246
↓ 50 callers
Function
initialized
Storage with both built-in policies seeded and the counter at 2.
crates/common/precompiles/src/policy/logic/v1.rs:545
↓ 50 callers
Method
sender_signature_hash
Signing-hash preimage for the sender, per [EIP-8130]. `keccak256(EIP8130_TX_TYPE || rlp([...unsigned body fields...]))`. [EIP-8130]: https://eips.et
crates/common/consensus/src/transaction/eip8130/tx.rs:303
↓ 50 callers
Function
token
()
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:1062
↓ 49 callers
Method
block
Returns the built block(sealed)
crates/execution/payload/src/payload.rs:303
↓ 48 callers
Method
gas_limit
Returns the gas limit for a transaction, if any.
crates/execution/payload/src/config.rs:402
↓ 48 callers
Method
get_events
Returns emitted events for the given address (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:351
↓ 48 callers
Method
is_empty
Returns `true` if there are no pending proofs.
crates/proof/challenge/src/pending.rs:210
↓ 48 callers
Method
split
Splits the [Hint] into its components.
crates/proof/proof/src/hint.rs:35
↓ 47 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_asset_v2_golden.rs:241
↓ 47 callers
Method
get
Get a proof request by ID
crates/proof/prover-service/db/src/repo.rs:328
↓ 47 callers
Method
is_empty
Returns if the bootnodes are empty.
crates/consensus/peers/src/nodes.rs:52
↓ 47 callers
Method
provider
(&self)
crates/execution/flashblocks-node/tests/eip7702_tests.rs:49
↓ 47 callers
Method
temp
Wraps this [`PipelineError`] as a [`PipelineErrorKind::Temporary`]. Temporary errors indicate transient conditions that may resolve with additional d
crates/consensus/derive/src/errors/pipeline.rs:307
↓ 47 callers
Method
tx_hash
Sets the transaction hash join key and includes it in the event ID.
crates/common/observability-events/src/emit.rs:123
↓ 46 callers
Method
create
Create a new proof request and return its UUID
crates/proof/prover-service/db/src/repo.rs:31
↓ 46 callers
Method
retain
Keeps only the fork schedules matching the predicate.
actions/harness/src/matrix.rs:95
↓ 45 callers
Method
record
(&self, _: T)
crates/utilities/metrics/src/noop.rs:20
↓ 45 callers
Method
store
(&self, flashblock_id: FlashblockId)
crates/builder/core/src/flashblocks/payload.rs:92
↓ 44 callers
Method
finish
Finishes the stream and returns compressed bytes not previously transferred.
crates/batcher/comp/src/stream.rs:60
↓ 43 callers
Method
add_block
(&mut self, block: BaseBlock)
crates/batcher/encoder/src/encoder.rs:444
↓ 43 callers
Function
seed
Mutates raw token storage through the accounting port (test setup only).
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:151
↓ 42 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_asset_v1_golden.rs:209
↓ 42 callers
Method
code
Numeric encoding used by the heartbeat emitter to pick which counter to increment.
crates/infra/sidecrush/src/healthcheck/mod.rs:40
↓ 42 callers
Method
remove
Removes a value from the set using swap-and-pop. Returns `true` if found and removed.
crates/common/precompile-storage/src/types/set.rs:213
↓ 42 callers
Method
write
(&mut self, value: Vec<T>)
crates/common/precompile-storage/src/types/vec.rs:136
↓ 41 callers
Method
build
Builds and starts the system test stack.
etc/systems/src/smoke.rs:666
↓ 41 callers
Method
get_block_number
(&self, tag: BlockNumberOrTag)
crates/consensus/service/src/follow/source.rs:66
↓ 41 callers
Method
max_fee_per_gas
(&self)
crates/execution/txpool/src/transaction.rs:264
↓ 41 callers
Function
token
()
crates/common/precompiles/src/b20_asset/logic/v1.rs:1125
↓ 40 callers
Method
address
Returns the L1 wallet address controlled by this key.
crates/infra/basectl/src/rpc/submit.rs:77
↓ 40 callers
Method
chain_id
Return the chain ID used by the harness.
crates/execution/runner/src/test_utils/harness.rs:308
↓ 40 callers
Method
collect
Map criterion benchmark id -> Measurement for one baseline under root. A criterion result lives at `<root>/<id...>/<baseline>/estimates.json`
etc/scripts/ci/bench_compare.py:43
↓ 40 callers
Function
op
Drives one op through the resolver-gated (`Cobalt` -> V2) unprivileged path.
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:167
↓ 40 callers
Function
op_privileged
Drives one op through V2 with factory-init privilege (guards skipped).
crates/common/precompiles/tests/b20_asset_v2_golden.rs:217
↓ 40 callers
Function
op_privileged
Drives one op through V1 with factory-init privilege (guards skipped).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:185
↓ 40 callers
Method
send
Send a flashblock to the background processor and wait until it is handled.
crates/execution/flashblocks-node/src/test_harness.rs:77
↓ 40 callers
Function
test_actor
Returns a test SequencerActor with mocks that can be used or overridden.
crates/consensus/service/src/actors/sequencer/tests/test_util.rs:18
↓ 39 callers
Method
clone
(&self)
crates/execution/txpool/src/pool.rs:127
↓ 39 callers
Method
get_transaction_count
Returns the transaction count for an address in pending state.
crates/execution/flashblocks/src/pending_blocks.rs:641
↓ 39 callers
Method
is_cancelled
(&self)
crates/utilities/runtime/src/tokio.rs:93
↓ 39 callers
Method
load
Load the boot information from the preimage oracle. This method retrieves all the necessary boot parameters from the preimage oracle using predefined
crates/proof/proof/src/boot.rs:248
↓ 39 callers
Function
op_privileged
Drives one op through V1 with factory-init privilege (guards skipped).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:161
↓ 39 callers
Function
op_privileged
Drives one op through V2 with factory-init privilege (guards skipped).
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:187
↓ 39 callers
Method
signature_hash
Heavy operation that returns the signature hash over rlp encoded transaction. It is only for signature signing or signer recovery. Panics on the [`Se
crates/common/consensus/src/transaction/pooled.rs:51
↓ 39 callers
Method
value
(&self)
crates/execution/txpool/src/transaction.rs:296
↓ 38 callers
Function
create_allowlist
(storage: &mut Storage)
crates/common/precompiles/src/policy/logic/v2.rs:711
↓ 38 callers
Method
into_consensus
(self)
crates/execution/txpool/src/transaction.rs:177
↓ 38 callers
Function
setup_db
()
crates/execution/trie/src/db/cursor.rs:425
↓ 38 callers
Function
sign_eoa_eip8130
Signs `tx` as an EOA-path EIP-8130 transaction and returns the resulting [`Eip8130Signed`] with a valid 65-byte secp256k1 `sender_auth`.
crates/execution/txpool/src/validator.rs:2446
↓ 37 callers
Function
call_policy
Drives one registry call through `dispatch`, returning `(is_revert, bytes)`.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:118
↓ 37 callers
Method
driver
Creates a [`ChainDriver`] connected to this local instance.
crates/builder/core/src/test_utils/instance.rs:340
↓ 37 callers
Method
hash
Returns the block hash.
crates/consensus/protocol/src/block.rs:115
↓ 37 callers
Method
method
(&self)
crates/execution/tx-forwarding/src/forwarder/task.rs:468
↓ 37 callers
Method
parse
Parses a hex private key (with or without a `0x` prefix).
crates/infra/basectl/src/rpc/submit.rs:68
↓ 37 callers
Method
status
Returns the HTTP status for this error.
crates/infra/telemetry/src/p2p.rs:220
↓ 36 callers
Method
allow
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:313
↓ 36 callers
Method
chain_spec
Returns the chain spec associated with this configuration.
crates/execution/evm/src/config.rs:134
↓ 36 callers
Method
number
Get the block number.
crates/execution/trie/src/db/models/block.rs:50
↓ 36 callers
Function
token
()
crates/common/precompiles/src/b20_stablecoin/logic/v1.rs:976
↓ 35 callers
Method
append
Append input and return newly emitted compressed bytes.
crates/batcher/comp/src/stream.rs:41
↓ 35 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_stablecoin_v2_golden.rs:211
↓ 35 callers
Method
call
Executes an `eth_call` against `to`.
etc/systems/src/b20.rs:507
↓ 35 callers
Function
fresh
A fresh provider with the policy registry activated.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:108
↓ 35 callers
Method
get_by_level
Returns the items in the storage that match the specified level.
crates/consensus/protocol/src/test_utils.rs:95
↓ 35 callers
Method
is_empty
(&self)
crates/common/precompile-storage/src/types/vec.rs:197
↓ 35 callers
Method
retry
(error: anyhow::Error)
crates/infra/snapshotter/src/upload.rs:1673
↓ 35 callers
Function
seed
Mutates raw token storage through the accounting port (test setup only).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:125
↓ 35 callers
Method
to_bytes
Returns the [`BatchTransaction`] as a [`Bytes`].
crates/consensus/protocol/src/batch/tx.rs:31
↓ 35 callers
Method
tx_hash
(&self)
crates/execution/tx-forwarding/src/forwarder/task.rs:484
↓ 35 callers
Method
with_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
↓ 34 callers
Method
as_eip1559
Returns the [`TxEip1559`] variant if the transaction is an EIP-1559 transaction.
crates/common/consensus/src/transaction/pooled.rs:159
↓ 34 callers
Method
as_str
Convert enum to static string representation
crates/proof/prover-service/db/src/models.rs:31
↓ 34 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:185
↓ 34 callers
Function
compressed_request
()
crates/proof/prover-service/db/tests/postgres_integration.rs:57
← previous
next →
101–200 of 21,276, ranked by callers