MCPcopy Create free account

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

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

↓ 4 callersMethodreserve_gas
( &mut self, tx: &AuthenticatedTransactionData<S>, gas_price: <S::Gas as Gas>::Price,
crates/module-system/module-implementations/sov-bank/src/capability.rs:38
↓ 4 callersMethodresolve_account
Resolving id into AddressEntry
crates/module-system/sov-cli/src/wallet_state.rs:140
↓ 4 callersMethodresolve_batch_identifier
( &self, batch_id: &BatchIdentifier, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:483
↓ 4 callersMethodresolve_block_number
Converts BlockNumberOrTag into number. Can panic if passed ApiStateAccessor has been constructed with wrong finalized_slot_height.
crates/module-system/module-implementations/sov-evm/src/rpc/block_resolution.rs:393
↓ 4 callersMethodresolve_method
Resolves a wire method name against the known-method set, folding unregistered names into [`UNKNOWN_METHOD`]. The returned `&'static str` outlives the
crates/full-node/sov-metrics/src/influxdb/rpc_aggregator.rs:334
↓ 4 callersMethodresolve_slot_identifier
( &self, slot_id: &SlotIdentifier, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:473
↓ 4 callersMethodrollback
Rollback the AccessoryDb. This will delete all key-value pairs that were written at the specified version.
crates/full-node/sov-db/src/accessory_db.rs:116
↓ 4 callersFunctionrpc_error
(req_id, code: int, message: str)
examples/demo-rollup/hive/hive_services.py:16
↓ 4 callersMethodrun
(&self)
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:254
↓ 4 callersMethodrun
Generates a compressed aggregation proof over the supplied inner `proofs_and_headers`. If a previous aggregation proof exists it is included as a def
crates/adapters/sp1/src/host.rs:87
↓ 4 callersMethodrun
(self)
crates/bench/sp1-microbenches/src/main.rs:25
↓ 4 callersMethodrun
(self, state: &mut impl TxState<S>)
crates/module-system/module-implementations/sov-test-modules/src/cache_module.rs:65
↓ 4 callersFunctionrun_actions_against_test_rollup
( actions: Vec<TestingAction>, test_rollup: TestRollup<TestBlueprint>, admin: &TestUser<TestSpec>,
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:3977
↓ 4 callersMethodruntime
Returns the underlying runtime.
crates/module-system/sov-modules-stf-blueprint/src/utils.rs:7
↓ 4 callersFunctionruntime_returning_opcode
(opcode: u8)
crates/module-system/module-implementations/sov-evm/tests/integration/rpc_call_overrides.rs:70
↓ 4 callersFunctionsafe_telegraf_string
Returns a string that is the right format for telegraf. Source: (Special telegraf characters)[`https://docs.influxdata.com/influxdb/cloud/reference/sy
crates/full-node/sov-metrics/src/influxdb/mod.rs:172
↓ 4 callersFunctionsample_accept_tx_error
(status: u16)
crates/full-node/sov-ethereum/src/handlers/mod.rs:506
↓ 4 callersFunctionsendTransactionWithFallback
( wallet: Wallet, tx: { to?: string; data?: string; value?: bigint; gasLimit?: bigint } )
typescript/apps/evm-rpc-diff-harness/src/harness/deploy.ts:251
↓ 4 callersMethodsend_event_if_necessary
(&mut self, event: DbEvent)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:373
↓ 4 callersMethodsend_notification
(&self, state: BlobExecutionStatus<Da::Spec>)
crates/full-node/sov-blob-sender/src/lib.rs:855
↓ 4 callersMethodsend_tx_and_wait_finalized
Send a transaction and wait for it to be in a finalized block.
crates/utils/sov-eth-client/src/lib.rs:145
↓ 4 callersMethodsend_tx_to_sequencer_with_retry
( &self, tx: &Tx, )
crates/full-node/sov-api-spec/src/client.rs:140
↓ 4 callersMethodsend_txs_to_sequencer
Produces a batch of transactions from bench messages and publishes it to DA through the sequencer.
examples/demo-rollup/sov-benchmarks/src/bench_runner/helpers.rs:220
↓ 4 callersMethodsequence_number
(&self)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:202
↓ 4 callersMethodsequencing_data
Returns the sequencing data
crates/module-system/sov-modules-api/src/module/spec.rs:219
↓ 4 callersFunctionserve_generic_ws_subscription_with_config
A utility function for serving some data inside a [`futures::Stream`] over a WebSocket connection, with configurable behavior. This function handles:
crates/utils/sov-rest-utils/src/lib.rs:237
↓ 4 callersMethodset_postgres_partition
Simulates or heals a Postgres partition by toggling the postgres proxy.
crates/utils/sov-test-utils/src/sov_toxi_proxi_image.rs:161
↓ 4 callersFunctionsetup
Spins up a Postgres container with [`MIGRATIONS`] applied. Returns `None` when Docker is unavailable so the test can skip cleanly. The returned [`Con
crates/utils/sov-proxy-utils/tests/common/mod.rs:37
↓ 4 callersFunctionsetup
()
crates/module-system/module-implementations/sov-test-modules/tests/integration/cache_tests.rs:14
↓ 4 callersFunctionsetup
()
crates/module-system/module-implementations/sb-blacklist/tests/test_session_blacklist.rs:31
↓ 4 callersFunctionsetup
()
crates/module-system/module-implementations/sb-session-registry/tests/test_session_registry.rs:31
↓ 4 callersFunctionsetup_with_accounts
(account_count: usize)
crates/module-system/module-implementations/sov-timelock/tests/integration/timelock.rs:63
↓ 4 callersFunctionsetup_with_contract
Setup helper: Create a rollup with contract deployed, ready for pending tx tests. Returns the rollup (NOT paused), the storage client, and the contrac
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_by_number_hash.rs:43
↓ 4 callersFunctionsetup_with_resume
( path: &Path, max_channel_size: u64, max_nb_of_infos_in_db: u64, latest_proof
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:545
↓ 4 callersFunctionsetup_with_wrong_attestation
Helper that sets up a configuration where: - the challenger is bonded and - there is a wrong attestation to challenge in the first slot.
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/challenger.rs:24
↓ 4 callersMethodshutdown_with_location
( &self, name: &'static str, location: &'static std::panic::Location<'static>, )
crates/utils/sov-shutdown/src/shutdown_controller.rs:33
↓ 4 callersMethodsignTransaction
* Signs an unsigned transaction using the provided signer. * Creates a signature by combining the serialized unsigned transaction with the chain ha
typescript/packages/web3/src/rollup/rollup.ts:280
↓ 4 callersFunctionsimulate_da_with_multiple_direct_registration_msg
( sequencers: Vec<Vec<u8>>, admin: TestPrivateKey, )
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/da_simulation.rs:110
↓ 4 callersMethodslash_prover
( &mut self, prover_address: &S::Address, state: &mut impl TxState<S>, )
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:639
↓ 4 callersFunctionsort_values_by_modules_dependencies
Accepts `Vec<>` of tuples `(&ModuleInfo, &TValue)`, and returns `Vec<&TValue>` sorted by mapped module dependencies # Errors Returns an error if any
crates/module-system/sov-modules-api/src/lib.rs:314
↓ 4 callersMethodspawn_log_watcher
( &mut self, mut sub: alloy_pubsub::Subscription<alloy_rpc_types_eth::Log>, expected_n
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:309
↓ 4 callersFunctionspawn_metrics_udp_receiver
( socket: tokio::net::UdpSocket, metrics_write: tokio::sync::mpsc::Sender<String>, )
crates/full-node/sov-metrics/src/influxdb/publisher.rs:186
↓ 4 callersFunctionsplit_blob_range_by_rows
( ns_range: &std::ops::Range<usize>, first_row_offset: usize, square_size: usize, )
crates/adapters/celestia/src/verifier/proofs.rs:472
↓ 4 callersMethodsquare_width
(&self)
crates/adapters/celestia/src/celestia.rs:167
↓ 4 callersMethodstart
Starts a timer if the `native` feature is enabled. Otherwise, does nothing.
crates/full-node/sov-metrics/src/maybe_timer.rs:34
↓ 4 callersFunctionstart_stop_empty
Starts a TestNode, lets it run for some time and then shuts it down. Repeats that several times. Rollup and MockDa data are preserved between restarts
examples/demo-rollup/tests/restart/graceful.rs:201
↓ 4 callersFunctionstart_stop_under_load
Like `start_stop_empty`, but sends transactions in the background while the rollup runs, testing restart behavior under load. Uses fewer restarts (2x
examples/demo-rollup/tests/restart/graceful.rs:303
↓ 4 callersFunctionstart_test_rollup
Single place for configuring test rollup. Applies all necessary configuration changes to make it work with the tests. Starts it and ensures it is read
examples/demo-rollup/tests/zk_proving/mod.rs:39
↓ 4 callersMethodsubmitSerializedMessage
* Submits serialized data to the Solana endpoint.
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:191
↓ 4 callersFunctionsubmit_blobs_and_restart
Gets vector of blocks. Block contains Vec of blobs and sender. Checks that submission works and finalized headers are sent. And that same data is ther
crates/adapters/mock-da/src/storable/layer.rs:1048
↓ 4 callersMethodsubmit_known_metric
Submits a metric with a timestamp.
crates/full-node/sov-metrics/src/influxdb/tracker.rs:78
↓ 4 callersFunctionsubmit_parallel_txs
Helper that submits several transactions in parallel, but with a small delay between each to ensure that the API requests land in order, as specified
crates/full-node/sov-sequencer/tests/integration/preferred_tx_nonce_queue.rs:183
↓ 4 callersFunctionsubmit_single_transaction_with_hash
Same as submit_single_transaction but allows overriding the hash, for submitting transactions with identical nonces but different hashes.
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1539
↓ 4 callersMethodsubscribe_finalized_header
Subscribe to finalized headers as they are finalized. Expect only to receive headers which were finalized after subscription Optimized version of `get
crates/adapters/celestia/src/da_service/mod.rs:485
↓ 4 callersMethodsubscribe_finalized_slots
(&self)
crates/full-node/sov-api-spec/src/client.rs:113
↓ 4 callersMethodsubscribe_starting_from_tx_number
( &self, starting_from: Option<u64>, )
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:335
↓ 4 callersMethodsubscribe_to_head_updates
Get updates on the latest head block
crates/adapters/mock-da/src/storable/layer.rs:396
↓ 4 callersMethodterminate_batch
(&mut self)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:460
↓ 4 callersFunctiontest_helper
Helper function that initializes the gas elasticity tests for the multidimensional case. It computes the new base fee per gas given the amount of gas
crates/module-system/module-implementations/sov-chain-state/src/tests/gas_elasticity_multidimensional.rs:16
↓ 4 callersFunctiontest_push_and_read
(finalization: u64, num_blocks: usize)
crates/adapters/mock-da/src/in_memory/service.rs:499
↓ 4 callersFunctiontest_push_many_then_read
(finalization: u64, num_blocks: usize)
crates/adapters/mock-da/src/in_memory/service.rs:539
↓ 4 callersMethodtimestamp
The block timestamp.
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:447
↓ 4 callersFunctionto_json_object
Calls [`serde_json::to_value`] on the given value but panics if the resulting value is not a JSON object.
crates/utils/sov-rest-utils/src/lib.rs:117
↓ 4 callersMethodto_state_accesses_for_sequencer_state_root_computation
Convert the raw state changes to a [`StateAccesses`] instance for use in state root computation. Note that this excludes reads and does *not* sort the
crates/module-system/sov-state/src/sequencer_state.rs:33
↓ 4 callersFunctiontrack_metrics
(request_name: &'static str, start: Instant, result: &RpcResult<T>)
crates/full-node/sov-ethereum/src/handlers/mod.rs:464
↓ 4 callersMethodtransfer
Transfers the set of `coins` to the address specified by `to`.
crates/module-system/module-implementations/sov-bank/src/call.rs:199
↓ 4 callersMethodtry_decode
(&self, bytes: &[u8])
crates/module-system/sov-state/src/codec/bcs_codec.rs:25
↓ 4 callersMethodtx_hash
Get the transaction hash that emitted this event.
crates/rollup-interface/src/state_machine/stf/events.rs:34
↓ 4 callersMethodtx_range
The range of transactions in the block
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:424
↓ 4 callersFunctiontx_set_relayer_config
(relayer: &TestUser<TestSpec>)
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:841
↓ 4 callersMethodty_tokens
(&self)
crates/universal-wallet/macro-helpers/src/schema.rs:969
↓ 4 callersMethodtypes
(&self)
crates/universal-wallet/schema/src/schema/mod.rs:606
↓ 4 callersFunctionu256_bytes
(value: u128)
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:892
↓ 4 callersFunctionunfunded_caller
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_call_fee_fields.rs:21
↓ 4 callersFunctionunwrap_continuation
Helper to extract (pre_state, pre_state_root, ledger_pre_state) from BlockCandidateResolution::KnownContinuation. Panics if result is NoMatch - use th
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:42
↓ 4 callersMethodupdate_api_state
(&self, checkpoint: StateCheckpoint<S>)
crates/full-node/sov-sequencer/src/preferred/side_effects.rs:63
↓ 4 callersMethodupdate_version
(&mut self, visible_slot_number: u64)
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:253
↓ 4 callersFunctionvalid_tx_bytes
( setup: &TestSequencerSetup<RT>, generation: u64, value_to_set: u32, )
crates/full-node/sov-sequencer/tests/integration/utils.rs:156
↓ 4 callersFunctionvalidate
(kind: SubscriptionKind, params: Params)
crates/full-node/sov-ethereum/src/handlers/subscribe/params.rs:38
↓ 4 callersMethodvalidate_dah
Validates that [`DataAvailabilityHeader`] is correct and not malformed. This means: - Well-formed row_roots and column_roots. - Hash of [`DataAvailabi
crates/adapters/celestia/src/celestia.rs:209
↓ 4 callersFunctionvalue_as_optional_u64
( value: Option<&Value>, field_name: &str, )
examples/demo-rollup/src/hive/types.rs:61
↓ 4 callersFunctionvalue_setter_call
(value_to_set: u32)
crates/full-node/sov-sequencer/tests/integration/setup_mode.rs:293
↓ 4 callersFunctionverifying_key_from_elf
Verification key.
crates/adapters/sp1/src/host.rs:339
↓ 4 callersMethodvisible_state
Returns the state of the rollup at the visible height.
crates/utils/sov-test-utils/src/runtime/mod.rs:349
↓ 4 callersFunctionwait
()
crates/full-node/sov-sequencer/src/tx_status.rs:216
↓ 4 callersMethodwait_for_condition
Generic helper for waiting on a condition with timeout and polling. condition_string: inserted into "Timeout waiting for {condition_string}", format a
crates/utils/sov-test-utils/src/test_rollup.rs:964
↓ 4 callersFunctionwait_until_rpc_latency
Polls [`measure_active_rpc_latency`] until the median crosses `threshold` in the requested direction (`below` = faster than `threshold`), panicking af
crates/adapters/celestia/src/da_service/tests.rs:1966
↓ 4 callersMethodwith_code_commitment
Override the [`MockCodeCommitment`] this host stamps into produced proofs.
crates/adapters/mock-zkvm/src/host.rs:69
↓ 4 callersMethodwith_custom_api_path
Adds a custom path to the API endpoint.
crates/utils/sov-test-utils/src/runtime/mod.rs:234
↓ 4 callersMethodwith_id
Tag the blob with the given ID.
crates/module-system/sov-modules-api/src/batch.rs:104
↓ 4 callersMethodwith_standard_sequencer
Sets the sequencer "kind" to [`SequencerKindConfig::Standard`].
crates/utils/sov-test-utils/src/test_rollup.rs:225
↓ 4 callersFunctionwrite_cargo_toml
(cargo_toml_path: &Path, doc: &DocumentMut)
scripts/switcheroo/src/main.rs:233
↓ 3 callersMethod_fetchSchema
()
typescript/packages/web3/src/rollup/rollup.ts:386
↓ 3 callersMethodadd_accounts_with_balance
Generates a new high-level genesis config with a given number of additional accounts with random addresses and given balance.
crates/utils/sov-test-utils/src/runtime/genesis/zk/config.rs:96
↓ 3 callersMethodadd_deserialize_metric
Adds metrics for a deserialization.
crates/full-node/sov-metrics/src/influx_db_nonnative.rs:206
↓ 3 callersMethodadd_hint_deferred_and_run
( &mut self, _item: &T, _agg_proofs: Vec<SerializedAggregatedProof>, )
crates/adapters/mock-zkvm/src/host.rs:166
↓ 3 callersMethodadd_proof_helper
( &self, stdin: &mut SP1Stdin, proof: &SerializedZkProof, vk: &sp1_sdk::SP1Ver
crates/adapters/sp1/src/host.rs:214
↓ 3 callersMethodaddress
(&self)
crates/module-system/module-implementations/sov-evm/benches/ecrecover.rs:98
↓ 3 callersMethodaddress
(&self)
crates/module-system/module-implementations/sov-uniqueness/tests/integration/utils.rs:42
↓ 3 callersFunctionalloy_client
Creates an Alloy HTTP client connected to the specified RPC server.
crates/utils/sov-evm-soak-testing/src/main.rs:102
← previousnext →1,401–1,500 of 9,860, ranked by callers