Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sovereign-Labs/sovereign-sdk
/ functions
Functions
9,860 in github.com/Sovereign-Labs/sovereign-sdk
⨍
Functions
9,860
◇
Types & classes
2,504
↓ 2 callers
Function
make_chained_headers
Builds a vector of `count` headers where each header's `prev_hash` points at the previous header's `hash`. Required when feeding multiple headers into
crates/full-node/sov-stf-runner/tests/integration/prover_service/mod.rs:33
↓ 2 callers
Function
make_change_set
( user_changes: Changes, kernel_changes: Changes, version: u64, )
crates/full-node/sov-db/src/flat_db.rs:1066
↓ 2 callers
Function
make_client_with_x_forwarded_for_header
(http_addr: SocketAddr, priv_key: &str)
crates/full-node/sov-ethereum/tests/integration/evm/evm_rate_limit.rs:22
↓ 2 callers
Function
make_const_value
(input: &ConfigValueInput)
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:34
↓ 2 callers
Function
make_da_sync_state
Creates a new `DaSyncState`
crates/full-node/sov-stf-runner/src/runner.rs:882
↓ 2 callers
Function
make_data
(ops: Vec<OperationType>, version: u64)
crates/full-node/sov-db/src/flat_db.rs:1046
↓ 2 callers
Function
make_header_with_prev
( header_hash: MockHash, prev_hash: MockHash, height: u64, )
crates/full-node/sov-stf-runner/tests/integration/prover_service/mod.rs:17
↓ 2 callers
Function
make_message
( nonce: u32, origin: u32, sender: HexHash, destination: u32, recipient: HexHash, body
crates/module-system/module-implementations/extern/hyperlane-solana-register/tests/integration/setup.rs:142
↓ 2 callers
Function
make_module_prefix_fn_body
(struct_ident: &proc_macro2::Ident)
crates/module-system/sov-modules-macros/src/module_info.rs:339
↓ 2 callers
Function
make_postgres_config
(db_connection_url: Option<String>)
examples/demo-rollup/sov-soak-testing/src/lib.rs:110
↓ 2 callers
Function
make_preamble_for_message
Generate the header that needs to be pre-pended to the message when serializing according to the Ledger-compatible spec.
crates/module-system/sov-solana-offchain-auth/src/utils.rs:3
↓ 2 callers
Function
make_unsigned_tx
()
examples/demo-rollup/tests/wallet/mod.rs:18
↓ 2 callers
Method
map_batch
See [`BlobDataWithId::map_batch`].
crates/module-system/sov-modules-api/src/batch.rs:30
↓ 2 callers
Method
mark_tx_attempted
Marks a transaction as having been executed, preventing it from executing again.
crates/module-system/sov-capabilities/src/lib.rs:292
↓ 2 callers
Method
materialize_changes_at_version
Materializes a state update at an explicit version. This is used both for the normal append-a-new-version path (`materialize_changes`) and for offlin
crates/module-system/sov-state/src/nomt/prover_storage.rs:356
↓ 2 callers
Method
max
()
crates/module-system/sov-modules-api/src/gas/traits.rs:119
↓ 2 callers
Method
max_fee
Returns the maximum fee that can be paid for this transaction expressed in gas token amount.
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:141
↓ 2 callers
Method
max_priority_fee_bips
(&self)
crates/module-system/sov-modules-api/src/cli.rs:127
↓ 2 callers
Method
max_provable_slot_number
(&self)
crates/module-system/sov-modules-api/src/state/provable_height_tracker.rs:27
↓ 2 callers
Function
maybe_actual_effective_gas_price
( block_number: u64, gas_used: u64, fee_paid: Option<Amount>, base_fee_per_gas: Option<u64>, )
crates/module-system/module-implementations/sov-evm/src/rpc/receipt_builder.rs:12
↓ 2 callers
Method
maybe_mock_sleep
Sleeps for the duration (in milliseconds) read from `env_var`, but only when running under the SP1 mock backend. Used in tests/soak runs to throttle t
crates/adapters/sp1/src/host.rs:201
↓ 2 callers
Method
maybe_pending_block
( &self, allow_empty: bool, block_env: Option<BlockEnv>, state: &mut ApiStateA
crates/module-system/module-implementations/sov-evm/src/rpc/block_resolution.rs:583
↓ 2 callers
Method
maybe_resolve_metadata
( &self, maybe_resolved: &<Self::LinkingScheme as LinkingScheme>::TypeLink, )
crates/universal-wallet/schema/src/ty/visitor.rs:111
↓ 2 callers
Method
maybe_retry_policy
(&self, with_retries: bool)
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:162
↓ 2 callers
Method
measurement_name
()
crates/adapters/celestia/src/metrics/client.rs:37
↓ 2 callers
Method
mempool_cursor
(&self, ctx: &BatchConstructionContext<S>)
crates/full-node/sov-sequencer/src/standard/mod.rs:490
↓ 2 callers
Function
merge_balances
( existing_balances: &[Value], alloc_balances: Vec<AddressBalance>, )
examples/demo-rollup/src/hive/merge.rs:118
↓ 2 callers
Method
metadata_hash
(&self)
crates/universal-wallet/schema/src/schema/mod.rs:315
↓ 2 callers
Function
migrate_slot_information
(old_slot_info: &OldSlotInformation)
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:936
↓ 2 callers
Method
mine_next_block_on_counterparty
Mines next block on the counterparty evm chain. Needed to finalize previous blocks for relayer to pick up txs.
crates/module-system/hyperlane/tests/integration/with_agent/helpers/mod.rs:415
↓ 2 callers
Function
minimal_bond
Returns the minimal bond required to register a prover at the current slot.
crates/module-system/module-implementations/sov-prover-incentives/tests/integration/helpers.rs:27
↓ 2 callers
Method
minimal_bond
(&self, runner: &TestRunner<RT, S>)
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/bond_value.rs:21
↓ 2 callers
Function
mint_gas_token_call
( amount: Amount, recipient: <TestSpec as Spec>::Address, )
crates/full-node/sov-sequencer/tests/integration/setup_mode.rs:317
↓ 2 callers
Function
mock_code_commitment_from_env
Reads a [`MockCodeCommitment`] from `env_var`. Assumes the value was written by [`commitment_hex`] (16 lowercase hex chars, no prefix). Returns `None`
examples/demo-rollup/src/mock_helper.rs:85
↓ 2 callers
Method
name
(&self)
crates/utils/sov-test-utils/src/sov_toxi_proxi_image.rs:36
↓ 2 callers
Function
namedArgs
(args: unknown)
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:191
↓ 2 callers
Function
native_gas_coins
(amount: Amount)
crates/module-system/hyperlane/src/igp/mod.rs:224
↓ 2 callers
Function
nb_of_logs_according_to_cursor
(cursor: Cursor, nb_of_logs_per_tx: u32)
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2713
↓ 2 callers
Function
new_filter_for_all_logs
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2721
↓ 2 callers
Function
new_inclusion_proof
( header: &crate::CelestiaHeader, rollup_data: &crate::types::NamespaceRelevantData, blobs: &[crat
crates/adapters/celestia/src/verifier/proofs.rs:154
↓ 2 callers
Method
next_header
(&mut self)
crates/utils/sov-test-utils/src/runtime/mod.rs:530
↓ 2 callers
Method
next_sequence_number
What the [`SequenceNumber`] of the next [`PreferredBlobData`]s MUST be.
crates/module-system/module-implementations/sov-blob-storage/src/lib.rs:241
↓ 2 callers
Function
next_unsent_rollup_height
( last_sent: Option<RollupHeight>, latest_height: RollupHeight, )
crates/module-system/module-implementations/sov-chain-state/src/query.rs:107
↓ 2 callers
Function
next_visible_slot_number_increase_inner
( current_visible_slot_number: VisibleSlotNumber, latest_finalized_slot_number: SlotNumber, leave_
crates/full-node/sov-sequencer/src/preferred/mod.rs:1072
↓ 2 callers
Function
node_address
Computes the node address from the local IP and bind port.
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:712
↓ 2 callers
Function
nomt_default_options
()
crates/full-node/sov-db/src/config.rs:387
↓ 2 callers
Method
nonces
Returns a reference to the nonces used by the state runner
crates/utils/sov-test-utils/src/runtime/mod.rs:339
↓ 2 callers
Function
object_field_or_insert
( parent: &'a mut Value, key: &str, )
examples/demo-rollup/src/hive/types.rs:84
↓ 2 callers
Method
offset
(&self)
crates/universal-wallet/schema/src/schema/transaction_templates.rs:22
↓ 2 callers
Function
oldest_available_after_drain
Oldest historical version still queryable after the "drain the pruner, then finalize one more block" bookkeeping shared by the periodic-pruning tests.
crates/full-node/sov-db/src/storage_manager/nomt_based/tests.rs:204
↓ 2 callers
Method
on_transfer
Updates the limits based on current visible slot number and the transferred amount. Returns error if transfer exceeds current limit.
crates/module-system/hyperlane/src/warp/types.rs:278
↓ 2 callers
Function
one_request
()
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:491
↓ 2 callers
Method
open_api_spec
Returns the OpenAPI spec for the runtime.
crates/utils/sov-test-utils/src/runtime/mod.rs:938
↓ 2 callers
Function
open_api_v3_spec
Returns parsed [`openapiv3::OpenAPI`] for Ledger JSON API. Performs clone of the whole spec, so might be slow.
crates/full-node/sov-api-spec/src/lib.rs:9
↓ 2 callers
Method
outbound_amount
Scales the amount to account for the differences in decimals when sending to a destination chain.
crates/module-system/hyperlane/src/warp/types.rs:167
↓ 2 callers
Method
parent_byte_references
(&self)
crates/universal-wallet/schema/src/ty/mod.rs:169
↓ 2 callers
Function
parseChainId
(value: string)
typescript/apps/evm-rpc-diff-harness/src/run.ts:24
↓ 2 callers
Method
parse_gas_config
Parses a gas config constant from the manifest file. Returns a `TokenStream` with the following structure: ```rust,ignore const GAS_CONFIG: Self::Gas
crates/module-system/sov-modules-macros/src/manifest.rs:111
↓ 2 callers
Function
parse_hex_u128
(value: &str)
crates/full-node/sov-ethereum/tests/integration/common/rpc.rs:47
↓ 2 callers
Function
parse_label_string
Parses a Prometheus label string like `label1="value1",label2="value2"`.
crates/module-system/hyperlane/tests/integration/with_agent/helpers/metrics.rs:204
↓ 2 callers
Function
parse_serialized_batch
( data: Vec<u8>, sequence_number: u64, )
crates/full-node/sov-sequencer/src/preferred/replica/db_data.rs:199
↓ 2 callers
Function
parse_synthetic_block_hash
(hash: &B256)
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:41
↓ 2 callers
Function
parse_vec_u8
(s: &str)
crates/rollup-interface/src/common/hex_string.rs:227
↓ 2 callers
Function
parse_version_string
(string: &str)
crates/utils/sov-zkvm-utils/src/lib.rs:68
↓ 2 callers
Method
pay_revenue_share
Directly pay revenue share (assuming the revenue share has already been computed by multiplying total revenue by the revenue share percentage). This m
crates/module-system/module-implementations/sov-revenue-share/src/lib.rs:176
↓ 2 callers
Function
payload_bytes_for_shares_with_signer
(share_count: usize, has_signer: bool)
crates/adapters/celestia/src/shares.rs:405
↓ 2 callers
Function
payload_bytes_in_first_share
(has_signer: bool)
crates/adapters/celestia/src/shares.rs:414
↓ 2 callers
Function
paymaster_address
()
examples/demo-rollup/tests/evm/evm_paymaster_balance_check.rs:30
↓ 2 callers
Function
paymaster_address
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_paymaster_balance_check.rs:28
↓ 2 callers
Function
permutation_key
Generate a permutation of 0..255
crates/full-node/sov-sequencer/tests/integration/state_map_iteration.rs:147
↓ 2 callers
Method
pick_random_balance
Picks a balance at random from the balances list, if possible.
crates/utils/transaction-generator/src/generators/bank/account.rs:142
↓ 2 callers
Method
poll_subscription
( &mut self, cx: &mut futures::task::Context<'_>, )
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:497
↓ 2 callers
Function
poll_until_head_ok
Polls `get_head_block_header` until it succeeds, returning the head height; panics after `deadline`. Lets a failover test wait for the client to land
crates/adapters/celestia/src/da_service/tests.rs:2151
↓ 2 callers
Method
populate_batch_response
( &self, batch: StoredBatch, mode: QueryMode, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:587
↓ 2 callers
Method
post_dispatch
( &mut self, _message_id: &HexHash, _message: &Message, _metadata: &HexString,
crates/module-system/hyperlane/src/traits.rs:65
↓ 2 callers
Function
pre_exec_err_to_accept_tx_err
(err: PreExecError)
crates/full-node/sov-sequencer/src/common.rs:557
↓ 2 callers
Method
pre_flight
( &self, _runtime: &RT, _context: &Context<S>, _call: &<RT as DispatchCall>::D
crates/module-system/sov-modules-api/src/batch.rs:319
↓ 2 callers
Method
pre_state_root_at_height
( &mut self, chain_state: &ChainState<S>, slot_number: SlotNumber, )
crates/module-system/module-implementations/sov-chain-state/src/capabilities.rs:49
↓ 2 callers
Method
precompile_state_mut
(&mut self)
crates/module-system/module-implementations/sov-evm/src/db/mod.rs:132
↓ 2 callers
Function
predefined_sleep_durations
Builds predefined sleep durations spanning the full range relative to block time. Categories cover: early startup, just before/at/after block product
examples/demo-rollup/tests/restart/graceful.rs:67
↓ 2 callers
Method
preferred_sequencer
( &self, scratchpad: &mut impl InfallibleStateAccessor, )
crates/module-system/sov-capabilities/src/lib.rs:470
↓ 2 callers
Function
prefill_state
Prefills the state with benchmark transactions
examples/demo-rollup/sov-benchmarks/src/node/mod.rs:154
↓ 2 callers
Function
prepareEndpoint
(config: EndpointConfig, contracts: CompiledContracts)
typescript/apps/evm-rpc-diff-harness/src/harness/deploy.ts:408
↓ 2 callers
Method
prepare_container
(&self)
crates/module-system/hyperlane/tests/integration/with_agent/helpers/hyperlane_cli.rs:50
↓ 2 callers
Method
prepare_quote
Get quote data (gas limit & gas required) On any failure fallbacks to relayer default gas
crates/module-system/hyperlane/src/igp/mod.rs:158
↓ 2 callers
Method
prev
The current [`SlotNumber`] minus one. # Panics Panics if the result underflows.
crates/rollup-interface/src/common/slot_numbering.rs:86
↓ 2 callers
Method
print_summary
Print the summary of the experiment.
crates/utils/rest-api-load-testing/src/report.rs:96
↓ 2 callers
Function
process_instruction
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program/src/lib.rs:56
↓ 2 callers
Method
process_proof
( &mut self, blob_id: BlobInternalId, proof_bytes: PreferredProofDataBytes, se
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:1034
↓ 2 callers
Method
process_proof
( &self, runtime: &mut RT, blob_hash: [u8; 32], slot_gas: &S::Gas, sen
crates/module-system/sov-modules-stf-blueprint/src/stf_blueprint.rs:55
↓ 2 callers
Method
process_sequence
Helper function for processing arrays and vectors, which share the same logic except for how they determine their length.
crates/universal-wallet/schema/src/visitors/eip712.rs:203
↓ 2 callers
Method
process_tx_receipt
( &mut self, tx_receipt: TransactionReceipt<S>, tx: FullyBakedTx, timestamp: O
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:651
↓ 2 callers
Method
produce_batch
(&self)
crates/full-node/sov-sequencer/src/standard/mod.rs:336
↓ 2 callers
Method
proofs_and_completed_batches_for_replay
( &self, sequence_number: SequenceNumber, include_in_progress_batch: bool, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:380
↓ 2 callers
Function
protocol_fee_config
()
crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program-tests/src/setup.rs:11
↓ 2 callers
Method
prove_any_unproven_blocks
(&mut self, prover_service: &Ps)
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:95
↓ 2 callers
Function
prover_and_pk
(elf: &[u8])
crates/adapters/sp1/src/host.rs:355
↓ 2 callers
Method
proxied_postgres_connection_string
Returns the Postgres connection string rewritten to point at toxiproxy.
crates/utils/sov-test-utils/src/sov_toxi_proxi_image.rs:199
↓ 2 callers
Method
prune
(&mut self, up_to_including: SequenceNumber)
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:607
↓ 2 callers
Method
prune_changes_through
Prune all changes which took place up to and including the given height.
crates/module-system/sov-state/src/sequencer_state.rs:181
← previous
next →
2,401–2,500 of 9,860, ranked by callers