MCPcopy Create free account

hub / github.com/Sovereign-Labs/sovereign-sdk / functions

Functions9,860 in github.com/Sovereign-Labs/sovereign-sdk

↓ 2 callersMethodspawn_block_producing_if_needed
Spawns periodic block producing. Useful for testing or custom setup.
crates/adapters/mock-da/src/storable/local_service.rs:51
↓ 2 callersMethodspawn_exec_task
( &mut self, start_block_data: StartBlockData<S>, executor_context: ExecutionContext,
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:576
↓ 2 callersMethodspawn_heartbeat_loop
Drives the periodic heartbeat loop shared by the leader and replica tasks. Each tick acquires a fresh leadership status and dispatches it to the mode
crates/full-node/sov-sequencer/src/preferred/db/heartbeat_task.rs:155
↓ 2 callersMethodspawn_node_registration_task
Spawns a task that only maintains node registration. Periodically updates the node's entry in the `nodes` table without competing for leadership. Fai
crates/full-node/sov-sequencer/src/preferred/db/heartbeat_task.rs:292
↓ 2 callersFunctionstale_reader_past_pruned_floor
Builds a pruning-enabled storage manager, captures a reader pinned at version 1, then writes and finalizes enough blocks (draining the pruner each tim
crates/module-system/sov-state/src/nomt/prover_storage.rs:1640
↓ 2 callersFunctionstart_and_stop_node_in_dir
(dir: Arc<TempDir>)
crates/utils/sov-test-utils/tests/integration/test_rollup.rs:97
↓ 2 callersFunctionstart_and_wait
(builder: RollupBuilder<R>)
examples/demo-rollup/sov-soak-testing/src/bin/main.rs:67
↓ 2 callersMethodstart_batch
( &mut self, visible_slot_number_after_increase: VisibleSlotNumber, visible_slots_to_a
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:402
↓ 2 callersMethodstart_db_elected_node
Starts one DB-elected node against the provided DA and Postgres endpoints and checks its role.
examples/demo-rollup/tests/replica/toxi_proxy_helper.rs:107
↓ 2 callersFunctionstart_http_server
Starts the HTTP server and the RPC metrics flush task, returning both join handles so callers can observe either task's termination.
crates/full-node/sov-stf-runner/src/http/mod.rs:87
↓ 2 callersFunctionstart_node
Starts test rollup node.
examples/demo-rollup/tests/restart/crash.rs:31
↓ 2 callersMethodstart_node_with_prover
Start the node with the Zk prover pipeline enabled.
examples/demo-rollup/tests/replica/mod.rs:279
↓ 2 callersMethodstart_peek
(&mut self)
crates/universal-wallet/schema/src/visitors/display.rs:81
↓ 2 callersFunctionstart_proxied_discovery
Starts toxiproxy in front of Postgres and spawns a [`NodeDiscovery`] task that connects through it.
crates/utils/sov-proxy-utils/tests/common/mod.rs:117
↓ 2 callersMethodstart_pruner
(&self, versions_to_keep: usize, max_batch_size: usize)
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:430
↓ 2 callersFunctionstart_rollup
( rollup_storage_path: Arc<TempDir>, )
examples/demo-rollup/tests/resync/mod.rs:97
↓ 2 callersMethodstart_rollup_block
(&mut self, start_block_data: StartBlockData<S>)
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:556
↓ 2 callersMethodstart_rollup_block_for_replay
A wrapper function for starting batches for replay which makes a few additional safety checks and does some logging that wouldn't be carried out in th
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:455
↓ 2 callersFunctionstart_rollup_with_connection_string
( addr: SocketAddr, postgres: Option<(Arc<PostgresData>, String, ConfiguredNodeRole)>, postgres_co
examples/demo-rollup/tests/replica/mod.rs:69
↓ 2 callersMethodstartup
(&mut self)
crates/full-node/sov-stf-runner/src/state_manager/mod.rs:187
↓ 2 callersMethodstartup_notify_about_infos_from_db
This method is only called when starting up the stf info manager. It ensures that the state is correctly set and synchronized.
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:100
↓ 2 callersMethodstate_at_true_height
Returns the state of the rollup at the most recent version of the rollup.
crates/utils/sov-test-utils/src/runtime/mod.rs:372
↓ 2 callersFunctionstate_map_paths_with_response
The OpenAPI paths specification for [`StateMap`](crate::containers::StateMap) with optional custom response type.
crates/module-system/sov-modules-api/src/rest/__private/openapi.rs:384
↓ 2 callersFunctionstate_value_paths
The OpenAPI paths specification for [`StateValue`](crate::containers::StateValue).
crates/module-system/sov-modules-api/src/rest/__private/openapi.rs:105
↓ 2 callersFunctionstate_vec_paths_with_response
The OpenAPI paths specification for [`StateVec`](crate::containers::StateVec) with optional custom response type.
crates/module-system/sov-modules-api/src/rest/__private/openapi.rs:494
↓ 2 callersMethodstop
()
typescript/apps/indexer/src/indexer.ts:47
↓ 2 callersMethodstop_and_get_elapsed
Returns the elapsed time since the timer if the `native` feature is enabled. Otherwise does nothing.
crates/full-node/sov-metrics/src/maybe_timer.rs:52
↓ 2 callersMethodstorage_manager
Returns a reference to the storage manager of the test runner.
crates/utils/sov-test-utils/src/runtime/mod.rs:289
↓ 2 callersMethodstore_batches
Store blobs for given block number, overwrite if already exists
crates/module-system/module-implementations/sov-blob-storage/src/lib.rs:189
↓ 2 callersFunctionstr_to_url_segment
Converts a Rust identifier into a human-readable URL path segment on a "best-effort" basis (i.e. some identifiers may result in invalid or unreadable
crates/module-system/sov-modules-macros/src/common.rs:328
↓ 2 callersMethodsubmitSolanaMessage
* Submits a Solana offchain message to the rollup.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:206
↓ 2 callersMethodsubmitSolanaSpecMessage
* Submits a Solana spec-compliant message to the rollup.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:216
↓ 2 callersMethodsubmit_blob_on_da
( &mut self, blob: BlobToSend, blob_id: BlobInternalId, latest_known_processin
crates/full-node/sov-blob-sender/src/lib.rs:282
↓ 2 callersMethodsubmit_blob_to_namespace
( &self, blob: &[u8], namespace: Namespace, )
crates/adapters/celestia/src/da_service/mod.rs:116
↓ 2 callersFunctionsubmit_preferred_tx
( client: &NodeClient, tx: &Transaction<Runtime<TestSpec>, TestSpec>, )
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:133
↓ 2 callersMethodsubscribe_proof_posted
Will receive notification one block before the proof is included on the DA.
crates/adapters/mock-da/src/in_memory/service.rs:246
↓ 2 callersMethodsubscribe_storage
Returns a receiver for storage-only updates.
crates/full-node/sov-rollup-full-node-interface/src/lib.rs:73
↓ 2 callersFunctionsubscribe_to_bank_events
( test_rollup: &TestRollup<MockDemoRollup<Native>>, )
examples/demo-rollup/tests/restart/crash.rs:298
↓ 2 callersFunctionsync_rollup_with_path
Does a full resync test using a given data directory. 1. Starts a rollup in the given directory 2. Verifies the state matches the expected state at in
examples/demo-rollup/tests/resync/mod.rs:357
↓ 2 callersFunctionsynthetic_load_tx
()
examples/demo-rollup/tests/rest_api/mod.rs:87
↓ 2 callersMethodtake_background_join_handle
(&self)
crates/adapters/mock-da/src/storable/service.rs:93
↓ 2 callersMethodtake_blobs_for_slot
Take all blobs for given block number, return empty vector if not exists Returned blobs are removed from the storage
crates/module-system/module-implementations/sov-blob-storage/src/lib.rs:206
↓ 2 callersMethodtake_sequence_number_for_proof
Take a sequence number for a proof blob.
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:296
↓ 2 callersMethodtake_sequence_number_internal
(&mut self)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:300
↓ 2 callersMethodtake_sequencing_scratchpad
Takes the native sequencing scratchpad contents.
crates/module-system/sov-modules-api/src/module/spec.rs:346
↓ 2 callersMethodtake_signed_transactions
Returns the serialized, signed transactions of the state. Consumes unsigned transactions, signing them with the provided key and using the supplied g
crates/module-system/sov-cli/src/wallet_state.rs:122
↓ 2 callersMethodtake_stf_info_receiver
Subscribes to this runner's [`StateUpdateInfo`] channel, if enabled. Only one [`Receiver`] is allowed, and subsequent calls to this method will retur
crates/full-node/sov-stf-runner/src/runner.rs:300
↓ 2 callersMethodtemplate_ty_tokens
(&self, virtual_typename: &Ident)
crates/universal-wallet/macro-helpers/src/schema.rs:1017
↓ 2 callersFunctiontest_cache_warmup_changeset_with_namespace
(namespace: Namespace)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:198
↓ 2 callersFunctiontest_cache_warmup_overrides_with_namespace
(namespace: Namespace)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:239
↓ 2 callersFunctiontest_cannot_prove_when_gas_price_is_too_high
This test ensures that the attester cannot send proofs when the gas price is too high. That is, if the gas price increases, the attester will not have
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/bond_value.rs:54
↓ 2 callersFunctiontest_gasless_setup_mode
(disable_fn: F)
crates/full-node/sov-sequencer/tests/integration/setup_mode.rs:107
↓ 2 callersFunctiontest_outcomes
(outcomes: Vec<Arc<TransactionOutcome>>, txs_count: usize)
crates/utils/transaction-generator/tests/message_generators/transactions.rs:30
↓ 2 callersFunctiontest_publisher_submits_metric
( telegraf_address: TelegrafSocketConfig, mut metrics_back_receiver: tokio::sync::mpsc::Receiv
crates/full-node/sov-metrics/src/influxdb/publisher.rs:272
↓ 2 callersFunctiontest_receipts
Test cases with enough variability to catch serialization mismatches.
crates/module-system/module-implementations/sov-evm/src/evm/eth_receipt.rs:251
↓ 2 callersFunctiontest_rollback
This test commits data for version 0 of the rollup state and panics at various points during the commit for version 1. Afterward, it checks whether th
crates/full-node/sov-db/src/flat_db.rs:641
↓ 2 callersFunctiontest_values
(state: &mut StateCheckpoint<S>)
crates/module-system/sov-modules-api/src/state/accessors/tests.rs:109
↓ 2 callersMethodtime
(&self)
crates/adapters/celestia/src/celestia.rs:272
↓ 2 callersFunctiontoRpcError
(error: unknown)
typescript/apps/evm-rpc-diff-harness/src/harness/deploy.ts:223
↓ 2 callersMethodto_attestation
Deserializes an attestation.
crates/rollup-interface/src/state_machine/optimistic.rs:121
↓ 2 callersFunctionto_b256
(value: U256)
crates/module-system/module-implementations/sov-evm/tests/integration/rpc_call_overrides.rs:128
↓ 2 callersMethodto_config
Converts the query into a [`WsSubscriptionConfig`].
crates/full-node/sov-sequencer/src/rest_api.rs:122
↓ 2 callersMethodto_error_object
Converts Self to ErrorObject.
crates/utils/sov-rest-utils/src/get_ip.rs:22
↓ 2 callersMethodto_hash
(&self)
crates/adapters/mock-zkvm/src/lib.rs:73
↓ 2 callersMethodto_multisig_tx
Creates a new `V1` transaction from this unsigned transaction.
crates/module-system/sov-modules-api/src/transaction/unsigned.rs:103
↓ 2 callersMethodto_ordered_writes_and_reads
Converts the `ProvableStorageCache` into `OrderedReadsAndWrites`.
crates/module-system/sov-state/src/cache.rs:339
↓ 2 callersMethodto_rpc_error
(&self)
crates/utils/sov-rpc-eth-types/src/to_rpc_error.rs:12
↓ 2 callersMethodto_signed
(&self, pub_key: Vec<u8>, signature: Vec<u8>)
crates/web3/src/schema.rs:376
↓ 2 callersMethodto_signed_tx
Creates a new [`Transaction`] from this [`UnsignedTransaction`] when given a signature and a public key.
crates/module-system/sov-modules-api/src/transaction/unsigned.rs:88
↓ 2 callersMethodto_unsigned_transaction
Converts the transaction to an unsigned transaction.
crates/module-system/sov-modules-api/src/transaction/mod.rs:305
↓ 2 callersMethodtokenIdOrElseGasTokenId
(tokenId?: string)
typescript/packages/modules/src/bank.ts:182
↓ 2 callersMethodtoken_names
Returns the list of token names that are used in the genesis config. Clones the underlying list of token names.
crates/utils/sov-test-utils/src/runtime/genesis/optimistic/config.rs:95
↓ 2 callersMethodtrace_transaction_inner
( &self, block_env: &BlockEnv, tx_env: TxEnv, cfg: CfgEnv, db: &mut Ev
crates/module-system/module-implementations/sov-evm/src/rpc/trace.rs:172
↓ 2 callersFunctiontrack_admin_upgrade
( slot: SlotNumber, execution_context: ExecutionContext, status: AdminUpgradeMetricSta
crates/module-system/module-implementations/sov-prover-incentives/src/metrics.rs:158
↓ 2 callersFunctiontrack_in_progress_batch_size
(num_txs: u64)
crates/full-node/sov-sequencer/src/metrics.rs:59
↓ 2 callersMethodtrack_key_value_size
(&mut self, key: &SlotKey, value: &Option<SlotValue>)
crates/full-node/sov-db/src/metrics/mod.rs:59
↓ 2 callersMethodtrack_runner_metrics
Tracks all runner-related metrics
crates/full-node/sov-metrics/src/influxdb/tracker.rs:99
↓ 2 callersFunctiontrack_sequence_number
(sequence_number: u64)
crates/full-node/sov-sequencer/src/metrics.rs:53
↓ 2 callersMethodtransaction_consumption
Builds a [`crate::TransactionConsumption`] from the [`WorkingSet`].
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:85
↓ 2 callersMethodtransfer_bond_from_staker
( &mut self, address: &Self::RollupAddress, amount: Amount, state: &mut ST,
crates/module-system/module-implementations/sov-prover-incentives/src/registration.rs:51
↓ 2 callersMethodtransfer_with_memo
Transfers the set of `coins` to the address specified by `to` with an optional memo.
crates/module-system/module-implementations/sov-bank/src/call.rs:210
↓ 2 callersMethodtrigger_batch_production
(&mut self)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:488
↓ 2 callersMethodtrue_slot_number_at_bootstrap
Returns the slot number of the current slot using a `BootstrapWorkingSet`. This value is likely to be stale, because the BootstrapWorkingSet usually o
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:263
↓ 2 callersMethodtrue_slot_number_at_historical_height
( &self, height: super::RollupHeight, _state: &mut crate::state::ApiStateA
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:251
↓ 2 callersMethodtrue_slot_number_to_rollup_height
( &self, _true_slot_number: SlotNumber, _state: &mut crate::state::ApiStat
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:267
↓ 2 callersMethodtry_push
Appends the given `char`` to the end of this `SizedSafeString` if possible.
crates/universal-wallet/schema/src/schema/safe_string.rs:66
↓ 2 callersMethodtry_send_aggregated_proof
Creates a DA block containing an empty transaction blob, optionally including an aggregated proof.
crates/full-node/sov-stf-runner/tests/integration/helpers/runner_init.rs:84
↓ 2 callersFunctiontry_to_clog_channel_instant_finality
(operating_mode: OperatingMode)
examples/demo-rollup/tests/restart/graceful.rs:724
↓ 2 callersMethodtry_to_create_and_start_batch_if_none_in_progress
( &mut self, leave_space_for_next_batch: bool, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:567
↓ 2 callersMethodtry_update_leader_inner
( &self, conn: &mut PgConnection, leader_timeout: Duration, grace_period: Dura
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:282
↓ 2 callersFunctiontuple_displays_as_enum_contents
In case an enum variant contains nested trivial tuples, propagate the virtual-ness transitively to the actual content
crates/universal-wallet/schema/src/visitors/display.rs:220
↓ 2 callersFunctiontx_delayed_call
(key: &Ed25519PrivateKey, generation: u64)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:4211
↓ 2 callersFunctiontx_hash_bytes
(tx_hash: TxHash)
crates/full-node/sov-ethereum/tests/integration/evm/evm_sequencing_data_pruning.rs:754
↓ 2 callersFunctiontx_modify_state_map
( key: &Ed25519PrivateKey, generation: u64, address: HexHash, index: u32, new_value: Optio
crates/full-node/sov-sequencer/tests/integration/state_map_iteration.rs:35
↓ 2 callersFunctiontx_set_many_values
(key: &Ed25519PrivateKey, nonce: u64, values_to_set: Vec<u8>)
crates/full-node/sov-sequencer/tests/integration/preferred_blob_sender.rs:216
↓ 2 callersFunctiontx_set_value_for_check
( key: <<DemoRollupSpec as Spec>::CryptoSpec as CryptoSpec>::PrivateKey, value: u64, generation: u
examples/demo-rollup/tests/resync/mod.rs:66
↓ 2 callersMethodtx_status
( &self, tx_hash: &TxHash, )
crates/full-node/sov-sequencer/src/standard/mod.rs:753
↓ 2 callersMethodty
(&self)
crates/module-system/module-implementations/sov-evm/src/evm/eth_receipt.rs:99
↓ 2 callersMethodtype_link
(&self)
crates/universal-wallet/schema/src/schema/transaction_templates.rs:18
↓ 2 callersFunctionu256_words
(values: impl IntoIterator<Item = u64>)
crates/full-node/sov-ethereum/tests/integration/evm/evm_sequencing_data_pruning.rs:746
← previousnext →2,701–2,800 of 9,860, ranked by callers