Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
19,566 in github.com/base/base
⨍
Functions
19,566
◇
Types & classes
3,084
↓ 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
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:46
↓ 56 callers
Method
count
Counts how many observed transactions currently have the given status.
crates/builder/core/src/test_utils/txs.rs:259
↓ 54 callers
Method
get
Returns the current recovery mode state.
crates/consensus/service/src/actors/sequencer/recovery.rs:29
↓ 54 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:2423
↓ 54 callers
Function
read
Reads token state through the accounting port.
crates/common/precompiles/tests/b20_asset_v2_golden.rs:177
↓ 54 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
↓ 53 callers
Method
chain
Set the chain ID.
crates/execution/chainspec/src/builder.rs:34
↓ 53 callers
Method
iter
Iterates over the keys in this watch set.
crates/execution/txpool/src/invalidation.rs:157
↓ 52 callers
Method
is_empty
(&self)
crates/execution/txpool/src/guard.rs:184
↓ 52 callers
Method
len
Returns the number of stored entries.
crates/builder/metering/src/store.rs:73
↓ 52 callers
Function
op
Drives one op through the resolver-gated (`Beryl` -> V1) unprivileged path.
crates/common/precompiles/tests/b20_asset_v1_golden.rs:160
↓ 51 callers
Function
seed
Mutates raw token storage through the accounting port (test setup only).
crates/common/precompiles/tests/b20_asset_v1_golden.rs:147
↓ 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:236
↓ 50 callers
Method
increment
Increment the gauge value.
crates/proof/succinct/utils/host/src/metrics.rs:26
↓ 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
is_empty
Returns `true` if there are no pending proofs.
crates/proof/challenge/src/pending.rs:210
↓ 49 callers
Method
add_block
(&mut self, block: BaseBlock)
crates/batcher/encoder/src/encoder.rs:462
↓ 49 callers
Method
build
Starts a block build directly against the execution layer.
crates/consensus/engine/src/task_queue/core.rs:86
↓ 48 callers
Function
token
()
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs:1047
↓ 47 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_asset_v2_golden.rs:231
↓ 47 callers
Method
get
Get a proof request by ID
crates/proof/prover-service/db/src/repo.rs:328
↓ 47 callers
Method
into_inner
Consumes the response and returns the wrapped Ethereum header response.
crates/common/rpc-types/src/block.rs:39
↓ 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
↓ 46 callers
Method
block
Returns the block metrics for the given block number.
crates/execution/metering/src/cache.rs:192
↓ 46 callers
Method
finish
Marks this archive as fully packaged and removes it from the active set.
crates/infra/snapshotter/src/progress.rs:155
↓ 45 callers
Method
chain_id
Return the chain ID used by the harness.
crates/execution/runner/src/test_utils/harness.rs:308
↓ 45 callers
Method
create
Create a new proof request and return its UUID
crates/proof/prover-service/db/src/repo.rs:31
↓ 45 callers
Method
tx_hash
Sets the transaction hash join key and includes it in the event ID.
crates/common/observability-events/src/emit.rs:115
↓ 44 callers
Method
is_empty
Returns if the bootnodes are empty.
crates/consensus/peers/src/nodes.rs:52
↓ 44 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:302
↓ 44 callers
Method
set
(&self, _: T)
crates/utilities/metrics/src/noop.rs:11
↓ 44 callers
Method
split
Splits the [Hint] into its components.
crates/proof/proof/src/hint.rs:35
↓ 43 callers
Method
contains_key
Returns `true` if there is a pending proof for the given game address.
crates/proof/challenge/src/pending.rs:195
↓ 43 callers
Method
store
Stores the cursor without moving it backwards. The guard limits rolling-deploy replay; readers must remain singleton to avoid duplicates. # Errors Ret
crates/execution/shadow-indexer-db/src/cursor.rs:61
↓ 42 callers
Function
assert_root
(label: &str, storage: HashMapStorageProvider, expected: B256)
crates/common/precompiles/tests/b20_asset_v1_golden.rs:204
↓ 42 callers
Method
build
Builds and starts the system test stack.
etc/systems/src/smoke.rs:476
↓ 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
retain
Keeps only the fork schedules matching the predicate.
actions/harness/src/matrix.rs:95
↓ 42 callers
Method
write
(&mut self, value: Vec<T>)
crates/common/precompile-storage/src/types/vec.rs:136
↓ 41 callers
Method
code
Numeric encoding used by the heartbeat emitter to pick which counter to increment.
crates/infra/sidecrush/src/healthcheck/mod.rs:40
↓ 41 callers
Function
connect
()
crates/proof/prover-service/tests/common/mod.rs:5
↓ 41 callers
Method
get_events
Returns emitted events for the given address (test-utils only).
crates/common/precompile-storage/src/hashmap.rs:342
↓ 41 callers
Method
max_fee_per_gas
(&self)
crates/execution/txpool/src/transaction.rs:287
↓ 41 callers
Function
token
()
crates/common/precompiles/src/b20_asset/logic/v1.rs:1119
↓ 40 callers
Method
driver
Creates a [`ChainDriver`] connected to this local instance.
crates/builder/core/src/test_utils/instance.rs:340
↓ 40 callers
Method
is_cancelled
(&self)
crates/utilities/runtime/src/tokio.rs:93
↓ 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:207
↓ 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:180
↓ 40 callers
Method
send
Builds, signs, and broadcasts the transaction, returning a pending transaction handle.
crates/builder/core/src/test_utils/txs.rs:151
↓ 40 callers
Method
value
(&self)
crates/execution/txpool/src/transaction.rs:319
↓ 39 callers
Method
clone
(&self)
crates/execution/txpool/src/pool.rs:123
↓ 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
↓ 38 callers
Function
create_allowlist
(storage: &mut Storage)
crates/common/precompiles/src/policy/logic/v2.rs:711
↓ 38 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:215
↓ 38 callers
Function
setup_db
()
crates/execution/trie/src/db/cursor.rs:425
↓ 37 callers
Function
call_policy
Drives one registry call through `dispatch`, returning `(is_revert, bytes)`.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:111
↓ 37 callers
Method
into_consensus
(self)
crates/execution/txpool/src/transaction.rs:199
↓ 37 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
↓ 37 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
↓ 36 callers
Method
as_eip1559
Returns the [`TxEip1559`] variant if the transaction is an EIP-1559 transaction.
crates/common/consensus/src/transaction/pooled.rs:159
↓ 36 callers
Method
get
Gets a value from the cache, returning `None` if not present.
crates/proof/rpc/src/cache.rs:116
↓ 36 callers
Method
get_block_number
(&self, tag: BlockNumberOrTag)
crates/consensus/service/src/follow/source.rs:66
↓ 36 callers
Method
key
Returns the event key.
crates/infra/audit/src/storage.rs:113
↓ 36 callers
Method
push_block
(&mut self, block: BaseBlock)
actions/harness/tests/beryl/policy_transfer.rs:401
↓ 36 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:96
↓ 36 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:2414
↓ 36 callers
Method
status
Returns the HTTP status for this error.
crates/infra/telemetry/src/p2p.rs:220
↓ 36 callers
Function
token
()
crates/common/precompiles/src/b20_stablecoin/logic/v1.rs:970
↓ 35 callers
Method
as_str
Convert enum to static string representation
crates/proof/prover-service/db/src/models.rs:31
↓ 35 callers
Method
call
Executes an `eth_call` against `to`.
etc/systems/src/b20.rs:507
↓ 35 callers
Method
chain_spec
Returns the chain spec associated with this configuration.
crates/execution/evm/src/config.rs:135
↓ 35 callers
Function
fresh
A fresh provider with the policy registry activated.
crates/common/precompiles/tests/b20_policy_v2_golden.rs:104
↓ 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
hash
Returns the block hash.
crates/consensus/protocol/src/block.rs:115
↓ 35 callers
Method
is_empty
(&self)
crates/common/precompile-storage/src/types/vec.rs:197
↓ 35 callers
Method
max_priority_fee_per_gas
(&self)
crates/execution/txpool/src/transaction.rs:291
↓ 35 callers
Method
method
(&self)
crates/execution/tx-forwarding/src/forwarder/task.rs:472
↓ 35 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
↓ 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
↓ 34 callers
Function
op
Drives one op through the resolver-gated (`Beryl` -> V1) unprivileged path.
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:141
↓ 34 callers
Function
seed
Mutates raw token storage through the accounting port (test setup only).
crates/common/precompiles/tests/b20_stablecoin_v1_golden.rs:125
↓ 33 callers
Method
collect
Map criterion benchmark id -> Measurement under root. A criterion result lives at `<root>/<id...>/current/estimates.json`. The id is
etc/scripts/ci/bench_compare.py:43
↓ 33 callers
Method
number
Get the block number.
crates/execution/trie/src/db/models/block.rs:50
↓ 33 callers
Method
retry
(error: anyhow::Error)
crates/infra/snapshotter/src/upload.rs:994
↓ 33 callers
Function
run
Dispatches `calldata` against a Beryl runtime, expecting no fatal error.
crates/common/precompiles/src/policy/dispatch.rs:265
↓ 33 callers
Method
to_bytes
Returns the [`BatchTransaction`] as a [`Bytes`].
crates/consensus/protocol/src/batch/tx.rs:31
↓ 32 callers
Function
assert_unsupported
(result: Result<(), InvalidPoolTransactionError>)
crates/execution/txpool/src/validator.rs:2443
↓ 32 callers
Method
create_transaction
Returns a transaction builder that can be used to create and send transactions.
crates/builder/core/src/test_utils/driver.rs:322
↓ 32 callers
Function
fresh
A fresh provider with the policy registry activated.
crates/common/precompiles/tests/b20_policy_v1_golden.rs:93
↓ 32 callers
Method
get_mut
Returns a mutable reference to the pending proof for the given game address.
crates/proof/challenge/src/pending.rs:190
↓ 32 callers
Method
insert
Inserts a pending proof for the given game address.
crates/proof/challenge/src/pending.rs:175
↓ 32 callers
Method
parse
Parses a hex private key (with or without a `0x` prefix).
crates/infra/basectl/src/rpc/submit.rs:68
↓ 32 callers
Method
pop
(&self)
crates/common/precompile-storage/src/types/vec.rs:258
↓ 32 callers
Method
seek
( &mut self, key: Nibbles, )
crates/execution/trie/src/cursor.rs:31
↓ 32 callers
Method
signature_message
The expected message that should be signed by the unsafe block signer.
crates/common/rpc-types-engine/src/envelope.rs:572
↓ 32 callers
Method
signer_b256
Returns the private key as a B256 for use with `TransactionBuilder`.
crates/utilities/test-utils/src/accounts.rs:66
← previous
next →
101–200 of 19,566, ranked by callers