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
build_blob
( height: i32, data: &[u8], sender: &MockAddress, namespace: &'static str, )
crates/adapters/mock-da/src/storable/db/mod.rs:322
↓ 2 callers
Function
build_evm_accounts_and_alloc_balances
( alloc: &BTreeMap<Address, GenesisAccount>, )
examples/demo-rollup/src/hive/merge.rs:79
↓ 2 callers
Function
build_expected_pending_logs
Builds expected logs for pending block scenarios where tx_index equals the position in tx_hashes and logs are emitted with topic1 = tx_index, topic2 =
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2142
↓ 2 callers
Function
build_finalized_backlog_off
Builds a multi-version state backlog at `db_path` with pruning OFF and a CONSISTENT ledger: each block is finalized immediately and its state root is
crates/full-node/sov-db/src/storage_manager/nomt_based/tests.rs:510
↓ 2 callers
Function
build_rpc_receipt
modified from: https://github.com/paradigmxyz/reth many times
crates/module-system/module-implementations/sov-evm/src/rpc/receipt_builder.rs:33
↓ 2 callers
Function
build_sleep_schedule
( base_durations: &[Duration], exact_repeats: usize, jitter_repeats: usize, rng: &mut StdRng,
examples/demo-rollup/tests/restart/graceful.rs:86
↓ 2 callers
Function
build_sp1_inner_host
Runs the SP1 prover setup once per ELF and returns the inner host plus both code commitments. Callers that only need the commitments can drop `inner_h
examples/demo-rollup/src/sp1_helper.rs:36
↓ 2 callers
Function
build_task_with_channels
(backend: MockTxExecutionBackend)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1442
↓ 2 callers
Function
build_transfer_token_tx_uniqueness_data
Creates token transfer tx.
examples/demo-rollup/tests/test_helpers.rs:47
↓ 2 callers
Function
build_tx
( setup: &TestSequencerSetup<RT>, generation: u64, call_message: &<RT as DispatchCall>::Decodable,
crates/full-node/sov-sequencer/tests/integration/utils.rs:70
↓ 2 callers
Function
build_tx
(account: &EvmAccount, tx: TxEip1559)
crates/module-system/module-implementations/sov-evm/benches/ecrecover.rs:153
↓ 2 callers
Method
burn
Burns (permanently destroys) the specified amount of tokens, removing them from circulation. This operation cannot be undone - burned tokens are perma
crates/module-system/module-implementations/sov-bank/src/call.rs:256
↓ 2 callers
Method
bytes_for_signing
(&self, serializer: &Serializer)
crates/web3/src/schema.rs:369
↓ 2 callers
Function
bytes_to_array_expr
(bytes: &[u8])
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:530
↓ 2 callers
Function
calculate_and_check_rollup_height
(init_slot: u64, jump: usize)
crates/full-node/sov-stf-runner/tests/integration/aggregated_proof_tests.rs:128
↓ 2 callers
Method
calculate_block_hash
( &self, height: u32, prev_block_hash: &[u8; 32], blobs: &[BlobHashData],
crates/adapters/mock-da/src/storable/layer.rs:694
↓ 2 callers
Function
calculate_hash
(t: &T)
crates/module-system/module-implementations/sov-bank/src/utils.rs:314
↓ 2 callers
Method
call
( &self, request: TransactionRequest, block_id: Option<BlockId>, state_overrid
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:128
↓ 2 callers
Method
call
Returns a copy of the RuntimeCall from this unsigned transaction.
crates/module-system/sov-modules-api/src/transaction/unsigned.rs:121
↓ 2 callers
Function
call_all_endpoints
( client: &SimpleStorageClient, request: &TransactionRequest, signer: &PrivateKeySigner, )
examples/demo-rollup/tests/evm/evm_test_helper.rs:227
↓ 2 callers
Method
call_with_context
( &self, mut request: TransactionRequest, mut block_env: BlockEnv, mut maybe_a
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:148
↓ 2 callers
Method
can_accept_blob
Returns true if the blob can be accepted.
crates/module-system/module-implementations/sov-blob-storage/src/max_size_checker.rs:138
↓ 2 callers
Method
can_process_blob
(&self, sequencer_type: SequencerType, blob_len: usize)
crates/module-system/module-implementations/sov-blob-storage/src/max_size_checker.rs:15
↓ 2 callers
Method
cancellation_policy
( &self, address: &S::Address, state: &mut impl TxState<S>, )
crates/module-system/module-implementations/sov-timelock/src/lib.rs:283
↓ 2 callers
Method
candidate_supernets
The supernets of `ip` worth probing, longest-prefix first: only the prefix lengths actually present in the config for `ip`'s address family. Empty whe
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:340
↓ 2 callers
Function
canonicalize_ip_net
(net: ipnet::IpNet)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:225
↓ 2 callers
Method
chain_hash
(&self)
crates/module-system/sov-solana-offchain-auth/src/authentication/parsing/mod.rs:44
↓ 2 callers
Method
chain_id
(&self, _state: &mut ApiStateAccessor<S>)
crates/module-system/module-implementations/sov-evm/src/rpc/handlers.rs:55
↓ 2 callers
Method
chain_id
Returns the chain id.
crates/module-system/sov-modules-api/src/transaction/mod.rs:216
↓ 2 callers
Method
change_from
(&self, previous: &Self)
crates/utils/sov-proxy-utils/src/node_discovery.rs:73
↓ 2 callers
Method
charge_gas
( &mut self, amount: <Self::Spec as Spec>::Gas, )
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:524
↓ 2 callers
Function
charge_gas_for_sig_inner
( meter: &mut Meter, msg_len: usize, fixed_gas_to_charge_per_signature: GU, gas_to_charge_per_
crates/module-system/sov-modules-api/src/gas/metered_utils.rs:185
↓ 2 callers
Method
charge_gas_for_signature
Charge gas for verifying the transaction signature against the given message.
crates/module-system/sov-modules-api/src/transaction/mod.rs:254
↓ 2 callers
Method
charge_gas_inner
(&mut self, amount: S::Gas)
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:131
↓ 2 callers
Method
charge_linear_gas
( &mut self, amount: <Self::Spec as Spec>::Gas, parameter: u32, )
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:531
↓ 2 callers
Method
charge_sequencer_and_reward_prover
( &mut self, max_auth_cost: Amount, reserved_gas_tokens: Amount, state: &mut S
crates/module-system/sov-modules-stf-blueprint/src/proof_processing.rs:419
↓ 2 callers
Function
charge_storage_access
Amount to pay for access to a storage value.
crates/module-system/sov-modules-api/src/state/traits.rs:585
↓ 2 callers
Function
charge_write
Charge gas for state write
crates/module-system/sov-modules-api/src/state/traits.rs:659
↓ 2 callers
Method
check_and_apply_failure_behavior
Checks and applies any configured failure behavior before a DA call. Returns `Ok(())` if the call should proceed, or an error if it should fail. May t
crates/adapters/mock-da/src/storable/local_service.rs:427
↓ 2 callers
Function
check_attester_bonded_and_start_unbond
Checks that the attester is bonded and starts the unbonding process. Returns the gas consumed by the attester when submitting the unbonding transactio
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/unbonding.rs:19
↓ 2 callers
Function
check_consistency
( results: &EndpointResults, explicit_gas: Option<u64>, explicit_max_fee: Option<u128>, nonce_
crates/full-node/sov-ethereum/tests/integration/evm/evm_simulation_and_send_consistency.rs:201
↓ 2 callers
Function
check_expected_blobs
( da_layer: &StorableMockDaLayer, expected_blocks: &[Vec<(TestBlob, MockAddress)>], )
crates/adapters/mock-da/src/storable/layer.rs:971
↓ 2 callers
Method
check_for_evm_revert
( &self, request: &TransactionRequest, block_id: Option<BlockId>, state: &mut
crates/module-system/module-implementations/sov-evm/src/rpc/estimate_gas.rs:44
↓ 2 callers
Method
check_readiness
( &self, max_concurrent_batch_blobs: usize, height_to_stop_at: Option<RollupHeight>,
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:520
↓ 2 callers
Method
check_remaining_bytes
(&self, len: usize)
crates/universal-wallet/schema/src/visitors/eip712.rs:131
↓ 2 callers
Function
check_str_and_back
(credential_id: CredentialId)
crates/rollup-interface/src/state_machine/crypto/mod.rs:66
↓ 2 callers
Function
check_sync_task
(test_cases: Vec<DbData>, expected: Vec<DbData>, exec_seq_nr: u64)
crates/full-node/sov-sequencer/src/preferred/replica/replica_sync_task.rs:544
↓ 2 callers
Method
check_uniqueness
Prevents duplicate transactions from running.
crates/module-system/sov-capabilities/src/lib.rs:275
↓ 2 callers
Function
check_unreg_txs
(tx_statuses: Vec<TxStatus>, priority_fee_bips: PriorityFeeBips)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/unregistered.rs:23
↓ 2 callers
Function
check_value
(client: &demo_stf_json_client::Client, expected: u64)
examples/demo-rollup/tests/resync/mod.rs:86
↓ 2 callers
Function
check_visible_slot_height
( slot_num: usize, expected_visible_slot_heights_increases: Vec<u64>, current_visible_slot_height:
crates/module-system/module-implementations/sov-blob-storage/tests/integration/main.rs:63
↓ 2 callers
Function
check_with_increasing_stf_infos
Test setup is sneaky and might be redundant if prover takes its own database. Basically, ST info is saved to the storage manager in the same loop iter
examples/demo-rollup/tests/restart/graceful.rs:645
↓ 2 callers
Function
chunk_framing_valid
Validate a single chunk's framing *before* its (attacker-controlled-length) payload is read or allocated. Shared by the decoder and the native whole-c
crates/adapters/celestia/src/envelope.rs:239
↓ 2 callers
Method
clean_all_batches_from_cache
(&mut self)
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:321
↓ 2 callers
Function
collect_features
Collects features that can be passed to guest ZKVM. Checks all enabled features and passes all that are marked as forward. If there's a feature enable
crates/utils/sov-zkvm-utils/src/lib.rs:82
↓ 2 callers
Method
collect_transaction_numbers
( &self, tx_range: std::ops::Range<([u8; 32], TxNumber)>, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:226
↓ 2 callers
Method
combine
(&self, used: &ResourceUsed<G>)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/limiter.rs:76
↓ 2 callers
Method
combinePreambleAndMessage
* Concatenates a Solana preamble with the message bytes it signs.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:269
↓ 2 callers
Method
combine_val_hash_and_size
Combines the value hash with its size.
crates/module-system/sov-state/src/storage.rs:137
↓ 2 callers
Method
commit
(self)
crates/adapters/mock-da/src/storable/db/mod.rs:82
↓ 2 callers
Method
commit_at_latest_checked
( &mut self, group: CommitGroup, expected_latest: SlotNumber, )
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:214
↓ 2 callers
Method
commit_helper
( &mut self, group: CommitGroup, expected_latest: Option<SlotNumber>, )
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:135
↓ 2 callers
Function
commitment_hex
(commitment: &MockCodeCommitment)
examples/demo-rollup/src/mock_helper.rs:73
↓ 2 callers
Function
compare_equality
Assert two blobs carry the same authenticated projection: the verified DA prefix, the total DA length, and the identifying metadata. [`BlobWithSender
crates/adapters/celestia/src/test_helper/mod.rs:45
↓ 2 callers
Function
compare_ext_proof
(expected: &CelestiaRelevantProofs, deserialized: &CelestiaRelevantProofs)
crates/adapters/celestia/src/test_helper/serialization.rs:76
↓ 2 callers
Method
complete
Disarms the guard and returns the elapsed time since construction. Call on normal completion.
crates/full-node/sov-stf-runner/src/http/rpc_metrics.rs:93
↓ 2 callers
Function
completed_blobs_contain_batch
(blobs: &[PreferredBlobToReplay])
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:1579
↓ 2 callers
Function
compress_bytes
Compresses bytes with gzip.
crates/utils/sov-rest-utils/src/lib.rs:431
↓ 2 callers
Method
compute_below_finalized_height
Computes a "below finalized" height when `RewindBelowLastFinalized` is active. Returns `Some(height)` if the randomization should trigger, `None` othe
crates/adapters/mock-da/src/storable/layer.rs:421
↓ 2 callers
Function
compute_hash_for_signatures
Computes the hash of the message that was used to construct the validators' signatures. Note that this is *not* the simple keccak256 hash of the `Mess
crates/module-system/hyperlane/src/crypto.rs:18
↓ 2 callers
Method
compute_next_gas_price
Returns the next gas price starting from the provided rollup height using the given visible height increase.
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:594
↓ 2 callers
Function
compute_sp1_code_commitments
Shared body of `FullNodeBlueprint::compute_code_commitments` for the SP1 mock rollups.
examples/demo-rollup/src/sp1_helper.rs:132
↓ 2 callers
Function
compute_state_update_namespace
( session: NomtSession<S::Hasher>, accesses: Vec<(nomt::trie::KeyPath, nomt::KeyReadWrite)>, witne
crates/module-system/sov-state/src/nomt/prover_storage.rs:539
↓ 2 callers
Method
connection_string
Returns the PostgreSQL connection string.
crates/utils/sov-test-utils/src/test_rollup.rs:441
↓ 2 callers
Function
contains_subslice
(haystack: &[u8], needle: &[u8])
crates/full-node/sov-api-spec/src/client.rs:35
↓ 2 callers
Function
context
( db: DB, block_env: &BlockEnv, cfg: CfgEnv, )
crates/module-system/module-implementations/sov-evm/src/evm/executor.rs:127
↓ 2 callers
Function
conversion_decimals
Returns (local, remote) decimals for scaling the token for sythetic tokens or (1, 1) for other kinds, thus should only be used for conversion purposes
crates/module-system/hyperlane/src/warp/types.rs:154
↓ 2 callers
Method
convert
(typeIndex: number, input: unknown)
typescript/packages/serializers/src/js/json-to-borsh.ts:50
↓ 2 callers
Method
convertToBytes
( schema: Schema, typeIndex: number, input: unknown )
typescript/packages/serializers/src/js/json-to-borsh.ts:30
↓ 2 callers
Function
convert_to_interpreter_result
(result: PrecompileResult, gas_limit: u64)
crates/module-system/module-implementations/sov-evm/src/precompiles/mod.rs:182
↓ 2 callers
Function
core_config
Core config used by hyperlane-cli Result of setting up ethtest/metadata.yaml, sovtest/metadata.yaml and running `hyperlane core init --advanced` and
crates/module-system/hyperlane/tests/integration/with_agent/configs.rs:105
↓ 2 callers
Method
counterparty_balance_of
(&mut self, address: HexHash)
crates/module-system/hyperlane/tests/integration/with_agent/helpers/mod.rs:446
↓ 2 callers
Method
createSolanaJsonBytes
* Helper to create and serialize a SolanaOffchainUnsignedTransaction to JSON bytes.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:322
↓ 2 callers
Function
createSolanaPreamble
( pubkeys: Uint8Array[], chainHash: Uint8Array, messageLength: number, )
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:119
↓ 2 callers
Method
createSpecCompliantMultisigSignedMessage
* Creates the preamble+JSON bytes signed by every signer in a spec-compliant multisig flow.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:520
↓ 2 callers
Function
createSubscription
( subscription: T, callback: SubscriptionToCallbackMap[T], client: SovereignSDK, )
typescript/packages/web3/src/subscriptions.ts:100
↓ 2 callers
Function
createTestMessage
* Creates the message that would be passed to signer.sign(). * This is what rollup.signTransaction() does - serialize unsigned tx and append chain ha
typescript/packages/signers/src/wasm/eip712.test.ts:50
↓ 2 callers
Function
create_contract_call_tx
Creates an EVM transaction that calls a contract.
crates/module-system/module-implementations/sov-evm/tests/integration/bls_precompiles.rs:72
↓ 2 callers
Function
create_da
()
crates/adapters/mock-da/src/storable/rpc/tests.rs:12
↓ 2 callers
Function
create_deploy_tx
Creates an EVM transaction that deploys a contract.
crates/module-system/module-implementations/sov-evm/tests/integration/bls_precompiles.rs:46
↓ 2 callers
Function
create_emit_logs
( nonce: u64, contract: &LegacySimpleStorage, contract_addr: Address, account: &EvmAccount,
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:204
↓ 2 callers
Method
create_enum
Creates an enum type based on the underlying struct.
crates/module-system/sov-modules-macros/src/common.rs:129
↓ 2 callers
Function
create_mock_prover_service
Shared `create_prover_service` body for the mock-da-backed demo rollups.
examples/demo-rollup/src/mock_helper.rs:94
↓ 2 callers
Function
create_raw_evm_tx_with_hash
( nonce: u64, caller: &EvmAccount, to: TxKind, input: Bytes, gas_limit: u64, )
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:838
↓ 2 callers
Method
create_receipt
( &self, tx: &TxSignedAndRecovered, tx_index: u64, result: ExecutionResult,
crates/module-system/module-implementations/sov-evm/src/call.rs:447
↓ 2 callers
Function
create_sp1_prover_service
Shared body of `FullNodeBlueprint::create_prover_service` for the SP1 mock rollups. Builds the inner+outer SP1 hosts off the async runtime, reconciles
examples/demo-rollup/src/sp1_helper.rs:64
↓ 2 callers
Method
create_state_for_migration
Creates a strict storage view over the latest finalized state without mutating fork bookkeeping maps.
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:233
↓ 2 callers
Method
create_state_up_to
build a storage up to the given block_hash (inclusive).
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:191
↓ 2 callers
Function
create_storage_manager
( initial_values: Vec<(Vec<u8>, u64)>, )
crates/module-system/sov-modules-api/src/state/accessors/tests.rs:36
↓ 2 callers
Method
create_storage_manager
( &self, rollup_config: &RollupConfig<<Self::Spec as Spec>::Address, Self::DaService>,
crates/utils/sov-test-utils/src/rt_agnostic_blueprint.rs:236
← previous
next →
2,001–2,100 of 9,860, ranked by callers