MCPcopy Create free account

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

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

Methodchain_id
(&self)
crates/module-system/sov-modules-api/src/cli.rs:123
Functionchain_id_u128
()
crates/module-system/sov-modules-macros/tests/integration/trybuild/constants/valid_constants.rs:73
Functionchain_state_kernel_genesis
()
crates/module-system/module-implementations/sov-chain-state/tests/integration-tests/genesis.rs:9
Functionchain_state_kernel_updates_basic_kernel
()
crates/module-system/module-implementations/integration-tests/tests/chain_state.rs:42
Functionchain_state_rollup_height_subscription_streams_live_height
()
examples/demo-rollup/tests/rest_api/mod.rs:350
Methodchange_gas_limit_after_height
()
crates/module-system/sov-modules-api/src/module/gas_spec.rs:275
Methodchange_strict_mode
(&mut self, use_strict_mode: bool)
crates/module-system/sov-state/src/nomt/prover_storage.rs:132
Methodchanges
Returns the list of all changes contained in the state checkpoint.
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:259
Methodcharge_gas
Attempts to charge the provided amount of gas from the working set reverting the transaction if unsuccessful. The amount of funds to charge will be c
crates/module-system/sov-modules-api/src/module/mod.rs:101
Methodcharge_gas
(&mut self, amount: S::Gas)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/pre_exec_working_set.rs:50
Methodcharge_gas
(&mut self, amount: S::Gas)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/revertable_tx_state.rs:145
Methodcharge_gas
(&mut self, gas: S::Gas)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:212
Methodcharge_gas
Charges a fix amount of gas in the gas meter. # Errors Raises an error if the gas to charge is greater than the funds available, or if calculating th
crates/module-system/sov-modules-api/src/gas/traits.rs:142
Functioncharge_gas_for_sig
Charge gas for transaction signature verification.
crates/module-system/sov-modules-api/src/gas/metered_utils.rs:173
Methodcharge_linear_gas
( &mut self, amount: <Self::Spec as Spec>::Gas, parameter: u32, )
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/pre_exec_working_set.rs:56
Methodcharge_linear_gas
( &mut self, amount: <Self::Spec as Spec>::Gas, parameter: u32, )
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/revertable_tx_state.rs:152
Methodcharge_linear_gas
( &mut self, amount: <Self::Spec as Spec>::Gas, parameter: u32, )
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:220
Methodcharge_linear_gas
Charges an amount of gas equal to `amount *_point parameter`, the pointwise product of `amount` times `parameter`. # Errors Raises an error if the ga
crates/module-system/sov-modules-api/src/gas/traits.rs:154
Functioncharge_sig_gas
( signature: &<S::CryptoSpec as CryptoSpec>::Signature, msg_len: usize, raw_tx_hash: TxHash, m
crates/module-system/sov-solana-offchain-auth/src/authentication/mod.rs:40
Functioncheck_404
()
crates/utils/sov-rest-utils/src/errors.rs:140
Functioncheck_500
()
crates/utils/sov-rest-utils/src/errors.rs:146
Functioncheck_blob_selection
()
crates/module-system/module-implementations/sov-blob-storage/tests/integration/soft_confirmation.rs:611
Functioncheck_blob_selection2
()
crates/module-system/module-implementations/sov-blob-storage/tests/integration/base_sequencing.rs:44
Methodcheck_cached_state_root_against_node
( inner: &Inner<S, Rt>, info: &StateUpdateInfo<S::Storage>, node_rollup_height: Rollup
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:690
Methodcheck_hashes
(root_hash: &[u8], root_hash_name: &str, root_hash_from_live_db: &[u8])
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:691
Functioncheck_hashes_for_token_holders
()
crates/module-system/module-implementations/sov-bank/src/utils.rs:321
Functioncheck_ranges_sorted
(ranges: &[std::ops::Range<usize>])
crates/adapters/celestia/src/verifier/proofs.rs:449
Methodcheck_runtime_address_match
( latest_state_update: &StateUpdateInfo<<S as Spec>::Storage>, da_address: <<S as Spec>::Da as
crates/full-node/sov-sequencer/src/preferred/initialization.rs:306
Functioncheck_snapshots_ordering
it is similar to [`linear_progression`], but it writes different data. block 1 writes its own hash to all keys from 1 to max height. block 2 writes it
crates/full-node/sov-db/src/storage_manager/tests/generic_tests.rs:764
Methodcheck_state_root_delay
()
crates/module-system/sov-modules-stf-blueprint/src/lib.rs:224
Functioncheck_that_all_blocks_are_collected_instant_finality
()
crates/full-node/sov-stf-runner/src/da/bulk_finalized_blocks_fetcher.rs:388
Functioncheck_transaction
(index: u64, evm: &Evm<S>, state: &mut ApiStateAccessor<S>)
crates/module-system/module-implementations/sov-evm/tests/integration/pruning.rs:23
Methodcheck_uniqueness
( &self, auth_data: &AuthorizationData<S>, context: &Context<S>, execution_con
crates/full-node/sov-ethereum/tests/integration/evm/evm_sequencing_data_pruning.rs:353
Methodcheck_uniqueness
Checks the provided uniqueness number. ## Note This method should perform all the checks required to ensure that the execution of [`Self::mark_tx_atte
crates/module-system/module-implementations/sov-uniqueness/src/capabilities.rs:16
Functionchecked_combine_test
()
crates/module-system/sov-modules-api/src/gas/unit.rs:144
Functionchecked_scalar_product_test
()
crates/module-system/sov-modules-api/src/gas/unit.rs:130
Functionchecked_value_test
()
crates/module-system/sov-modules-api/src/gas/traits.rs:210
Methodclaimed_public_outputs
( proof: &SerializedAggregatedProof, )
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:336
Functionclassifier_false_positive_before_reader_is_exhausted
()
crates/module-system/module-implementations/sov-blob-storage/src/capabilities/deserialization_tests.rs:239
Functioncleanup_failed_startup_before_sequencer
( primary_shutdown: &PrimaryShutdownController, secondary_shutdown_controller: &SecondaryShutdownContr
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:860
Functioncleanup_reverts_on_unexpired_or_missing_proposals
()
crates/module-system/module-implementations/sov-timelock/tests/integration/timelock.rs:629
Functioncli_parser
(input: TokenStream)
crates/module-system/sov-modules-macros/src/lib.rs:435
Methodclone
(&self)
crates/module-system/sov-state/src/storage_internals.rs:50
Methodclone
(&self)
crates/module-system/sov-modules-api/src/configurable_spec.rs:95
Functionclose
(actual: f64, expected: f64)
crates/utils/sov-gas-tools/src/fit.rs:104
Functionclose_before_producing_block
()
crates/adapters/mock-da/src/storable/layer.rs:1221
Methodcluster
( leader_id: Option<String>, all_nodes: Vec<(String, String, OffsetDateTime)>, )
crates/utils/sov-proxy-utils/src/node_discovery.rs:330
Functioncluster_errors_on_duplicate_node_id
()
crates/utils/sov-proxy-utils/src/node_discovery.rs:604
Functioncluster_errors_when_leader_not_in_nodes
()
crates/utils/sov-proxy-utils/src/node_discovery.rs:621
Functioncode_at
(client: &SimpleStorageClient, address: Address, block: impl Serialize)
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_pinned_state_reads.rs:40
Methodcode_by_hash
(&mut self, code_hash: B256)
crates/module-system/module-implementations/sov-evm/src/db/mod.rs:85
Methodcode_by_hash
(&mut self, t: Duration)
crates/module-system/module-implementations/sov-evm/src/db/metrics.rs:72
Methodcode_commitment
(&self)
crates/adapters/mock-zkvm/src/host.rs:162
Methodcode_commitment
(&self)
crates/adapters/risc0/src/host.rs:99
Functioncode_commitment_rotation_requires_fresh_start
()
examples/demo-rollup/tests/zk_proving/commitment_rotation.rs:14
Methodcode_commitments
()
examples/demo-rollup/sov-soak-testing/src/sp1.rs:119
Methodcode_commitments
()
crates/utils/sov-test-utils/src/rt_agnostic_blueprint.rs:56
Functioncodec
(input: TokenStream)
crates/module-system/sov-modules-macros/src/lib.rs:242
Methodcodec
Returns the codec used by the versioned state value.
crates/module-system/sov-modules-api/src/containers/versioned_value.rs:62
Methodcollect_aggregated_proofs_and_receipts
Any type alias needs the STF bounds, which are more complex than the original type
crates/full-node/sov-stf-runner/src/runner.rs:790
Methodcollect_concated_templates
Helper function doing the actual merging - as the only difference between the two origins of templates is whether we abort with an error or not on a m
crates/universal-wallet/schema/src/schema/transaction_templates.rs:217
Methodcombine_hash
(&self, hash: [u8; 32])
crates/adapters/avail/src/spec/transaction.rs:80
Methodcombine_val_hash_and_size
Combines the value hash with its size.
crates/full-node/sov-db-types/src/lib.rs:713
Functioncomfortable_gas_limit_for_height
( height: RollupHeight, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/mod.rs:322
Methodcommit
Write the accessory data to disc.
crates/full-node/sov-db/src/accessory_db.rs:91
Methodcommit
(&self, item: &T)
crates/adapters/mock-zkvm/src/guest.rs:45
Methodcommit
(&self, item: &T)
crates/adapters/risc0/src/guest.rs:16
Methodcommit
(&self, item: &T)
crates/adapters/sp1/src/guest.rs:21
Methodcommit
Commits the changes from this [`RevertableTxState`] into the underlying state.
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/revertable_tx_state.rs:61
Methodcommit_at_latest_checked
Commit the `state_changes` at the current latest version after checking an expected head. This is used by offline migration tooling that rewrites sta
crates/full-node/sov-db/src/flat_db.rs:327
Methodcommit_entry
(inner: &mut T, namespace: Namespace, key: &SlotKey, value: Option<SlotValue>)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:503
Methodcommit_revertable_storage_cache
Commit the revertable part of the cache.
crates/module-system/sov-state/src/sequencer_state.rs:92
Methodcommon_for_final_catchup_and_new_storage
( inner: &mut InnerGuard<'_, S, Rt>, info: StateUpdateInfo<S::Storage>, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:786
FunctioncompareByteArrays
(left: Uint8Array, right: Uint8Array)
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:107
Functioncomposite_precompile_runtime_includes_both_custom_precompiles
()
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:494
Functioncompressed_envelope_round_trips_through_blob_with_sender
()
crates/adapters/celestia/src/types/mod.rs:894
Functioncompressed_handler
Handler that uses compression for WebSocket messages.
crates/utils/sov-rest-utils/src/ws_tests.rs:208
Functioncompression_accepts_lowercase_variants
()
crates/adapters/celestia/src/config.rs:1032
Functioncompression_chunk_size_in_range_is_accepted
()
crates/adapters/celestia/src/config.rs:1096
Functioncompression_chunk_size_out_of_range_is_rejected
()
crates/adapters/celestia/src/config.rs:1104
Methodcompute_base_fee_per_gas
Computes the gas price for the a slot given it's parent's gas consumption and the number of *slots* elapsed since the parent *block* was executed. Th
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:208
Methodcompute_base_fee_per_gas_unidimensional
Computes the updated gas price following a block execution for a single dimension. This reproduces the logic of the EIP-1559 specification to compute
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:111
Methodcompute_base_fee_update_for_slot
( parent_gas_info: &BlockGasInfo<S::Gas>, )
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:228
Methodcompute_code_commitments
()
examples/demo-rollup/src/external_mock_sp1_rollup.rs:163
Methodcompute_code_commitments
()
examples/demo-rollup/src/mock_sp1_rollup.rs:163
Methodcompute_code_commitments
()
examples/demo-rollup/src/external_mock_rollup.rs:170
Methodcompute_code_commitments
()
examples/demo-rollup/src/mock_rollup.rs:173
Methodcompute_code_commitments
()
crates/utils/sov-test-utils/src/rt_agnostic_blueprint.rs:253
Methodcompute_code_commitments
Computes the inner (state-transition) and outer (aggregation) code commitments for this rollup's zkVM(s), typically derived from the guest ELF(s).
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:189
Methodcompute_code_commitments
()
crates/module-system/sov-solana-offchain-auth/tests/integration/blueprint.rs:173
Methodcompute_delta_limbs
( gas_used_delta: u64, gas_target: u64, base_fee_per_gas: u128
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:133
Functioncompute_state_root
( state_accesses: StateAccesses, storage: S::Storage, rollup_height: RollupHeight, slot_number
crates/full-node/sov-sequencer/src/preferred/state_root_compute.rs:176
Methodcompute_state_update_namespace
( state_accesses: OrderedReadsAndWrites, array_witness: &S::Witness, prev_root: Node,
crates/module-system/sov-state/src/nomt/zk_storage.rs:33
Methodcompute_tx_hash
( tx: &sov_modules_api::FullyBakedTx, )
examples/demo-rollup/stf/src/authentication.rs:120
Methodcompute_tx_hash
( tx: &sov_modules_api::FullyBakedTx, )
crates/module-system/module-implementations/sov-evm/src/authenticate.rs:467
Methodcompute_tx_hash
( tx: &sov_modules_api::FullyBakedTx, )
crates/module-system/sov-eip712-auth/src/lib.rs:141
Methodcompute_tx_hash
( tx: &sov_modules_api::FullyBakedTx, )
crates/module-system/sov-solana-offchain-auth/src/capabilities.rs:112
Methodcompute_tx_hash
(tx: &FullyBakedTx)
crates/module-system/sov-modules-api/src/runtime/capabilities/authentication.rs:219
Methodconcatenate_template_sets
Input: a vector of template sets, normally one for each field of a type. Outputs: a merged template set. This means: - Every individual template is co
crates/universal-wallet/schema/src/schema/transaction_templates.rs:177
Functionconcurrent_prover_storages
# Description The test verifies that [`NativeStorage`] only returns data it has access to, inclusive up to the latest version available when it was cr
crates/module-system/module-implementations/integration-tests/tests/concurrent_prover_storages.rs:62
← previousnext →5,201–5,300 of 9,860, ranked by callers