MCPcopy Create free account

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

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

↓ 1 callersFunctioncheck_ledger_consistency
Verify LedgerDb consistency after processing a block. Checks: 1. Head slot matches expected slot number 2. State root matches expected value 3. Next s
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:1517
↓ 1 callersMethodcheck_nonce_uniqueness
( &self, credential_id: &CredentialId, transaction_nonce: u64, state: &mut imp
crates/module-system/module-implementations/sov-uniqueness/src/nonces.rs:6
↓ 1 callersMethodcheck_nonce_uniqueness_allow_nonconsecutive
( &self, credential_id: &CredentialId, transaction_nonce: u64, state: &mut imp
crates/module-system/module-implementations/sov-uniqueness/src/nonces.rs:22
↓ 1 callersMethodcheck_proof_outputs
Check that the initial and final state values of the proof output are valid against the chain state module
crates/module-system/module-implementations/sov-prover-incentives/src/capabilities.rs:745
↓ 1 callersMethodcheck_readiness_msg
( &self, max_concurrent_batch_blobs: usize, height_to_stop_at: Option<RollupHeight>,
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:113
↓ 1 callersMethodcheck_replica_status_or_ok_for_leader
If the sequencer is in replica mode, we check whether the replica sync task has processed its first batch, which indicates that all services are up an
crates/full-node/sov-sequencer/src/preferred/replica/event_receiver.rs:69
↓ 1 callersFunctioncheck_runner
( da_service: Arc<MockDaService>, tmpdir: &TempDir, init_variant: MockInitVariant, expected_st
crates/full-node/sov-stf-runner/tests/integration/runner_reorg_tests.rs:381
↓ 1 callersFunctioncheck_state_map
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:217
↓ 1 callersFunctioncheck_state_value
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:196
↓ 1 callersFunctioncheck_state_vec
(client: &demo_stf_json_client::Client)
examples/demo-rollup/tests/rest_api/mod.rs:233
↓ 1 callersFunctioncheck_test_case_action
( state_vec: &mut NamespacedStateVec<N, T>, action: TestCaseAction<T>, state: &mut W,
crates/module-system/sov-modules-api/src/containers/vec.rs:835
↓ 1 callersMethodcheck_timeout
( &self, start_time: SystemTime, blob_hash: HexHash, da_tx_id: &<<Da as DaServ
crates/full-node/sov-blob-sender/src/lib.rs:570
↓ 1 callersMethodcheck_transition
( &self, claimed_slot_number: SlotNumber, attestation: &Attestation< <S::D
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:192
↓ 1 callersMethodcheck_window_uniqueness
( &self, credential_id: &CredentialId, nonce: u64, state: &mut impl StateReade
crates/module-system/module-implementations/sov-uniqueness/src/window.rs:131
↓ 1 callersFunctioncheck_zero_or_one_gas
(fields: &[ModuleField])
crates/module-system/sov-modules-macros/src/module_info.rs:583
↓ 1 callersMethodchoose_fork_point
If reorg happened, the next incremental continuation of that fork that hasn't been processed should be found. Returns a ForkPointSearchResult that cal
crates/full-node/sov-stf-runner/src/state_manager/mod.rs:681
↓ 1 callersMethodchunk
(&self)
crates/adapters/celestia/src/shares.rs:182
↓ 1 callersMethodclaim
Beneficiary (sender) claim of relayer rewards. If beneficiary is `None` or sender doesnt match - error will be returned. Emits `RewardsClaimed` even
crates/module-system/hyperlane/src/igp/call.rs:175
↓ 1 callersMethodclean_all_batches
(&mut self)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:433
↓ 1 callersMethodclean_and_overwrite_next_tx_number
(&self, tx_number: u64)
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:91
↓ 1 callersMethodclean_expired_proposal
( &mut self, key: &ProposalKey<S>, current_time: u64, state: &mut impl TxState
crates/module-system/module-implementations/sov-timelock/src/call.rs:104
↓ 1 callersMethodclean_expired_proposals
( &mut self, proposal_keys: SafeVec<ProposalKey<S>, MAX_PROPOSAL_KEYS_PER_CLEANUP>, st
crates/module-system/module-implementations/sov-timelock/src/call.rs:91
↓ 1 callersMethodclear_caches
(&mut self)
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:937
↓ 1 callersMethodclear_failure_behavior
Clear any configured failure behavior, returning to normal operation.
crates/adapters/mock-da/src/storable/local_service.rs:205
↓ 1 callersMethodclone_for_tx
Create a new responder for a single tx that shares the same config as the old value. Note that the timestamp is a fresh atomic initialized to zero Thi
crates/full-node/sov-sequencer/src/preferred/async_batch.rs:198
↓ 1 callersMethodclone_with_empty_witness
(&self)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:43
↓ 1 callersMethodclose_and_publish_current_batch
( &mut self, checkpoint: StateCheckpoint<S>, batch: ReadBatch, info_to_store:
crates/full-node/sov-sequencer/src/preferred/side_effects.rs:109
↓ 1 callersMethodclose_batch
( &mut self, checkpoint: StateCheckpoint<S>, forced_txs: Vec<AcceptedTx<Confirmation<S
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:168
↓ 1 callersMethodclose_batch_if_nearly_full
Closes the current batch if it is nearly full (by gas limit) or has reached the target batch execution time.
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/inner.rs:409
↓ 1 callersMethodclose_current_batch_msg_replica
( &self, batch_from_master: BatchToStore, reason: &'static str, )
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:345
↓ 1 callersMethodclose_newest_proof
Creates a new aggregate proof metadata instance at the tail of the queue, causing subsequent `append` calls to modify the new metadata.
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:206
↓ 1 callersMethodcmp
(&self, other: &Self)
crates/full-node/sov-sequencer/src/standard/mempool.rs:200
↓ 1 callersMethodcmp
(&self, other: &Self)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:65
↓ 1 callersMethodcmp
(&self, other: &Self)
crates/full-node/sov-db-types/src/lib.rs:282
↓ 1 callersMethodcmp
(&self, other: &Self)
crates/adapters/mock-zkvm/src/crypto.rs:148
↓ 1 callersFunctioncoinbase_override_and_sanitize
(genesis_json: &mut Value)
examples/demo-rollup/src/hive/genesis_adapter.rs:58
↓ 1 callersMethodcollect_fees_and_usage
Collects the base fees and gas used for the blocks in the pre-validated block range
crates/module-system/module-implementations/sov-evm/src/rpc/fee_history.rs:106
↓ 1 callersMethodcollect_pruning_batch_for_module_accessory_state
For accessory DB
crates/full-node/sov-db/src/pruner.rs:122
↓ 1 callersMethodcombine_prefix
(&self)
crates/module-system/sov-modules-api/src/module/prefix.rs:62
↓ 1 callersMethodcommit
(self)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/pre_exec_working_set.rs:33
↓ 1 callersMethodcommit
Commits the changes of this [`TxScratchpad`] and returns a [`StateCheckpoint`].
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:96
↓ 1 callersMethodcommit_accessory
( &self, accessory: &SchemaBatch, root_hash_batch: &SchemaBatch, )
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:274
↓ 1 callersMethodcommit_account
( &mut self, address: Address, account: Account, )
crates/module-system/module-implementations/sov-evm/src/db/commit.rs:37
↓ 1 callersMethodcommit_kernel
(&self, kernel: Overlay)
crates/full-node/sov-db/src/state_db_nomt.rs:72
↓ 1 callersMethodcommit_ledger
(&self, ledger: &SchemaBatch)
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:284
↓ 1 callersMethodcommit_migration_change_set_at_head
Commits migration changes directly at the current head version.
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:245
↓ 1 callersMethodcommit_pruning
Flush pruning schema batches to disk.
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:293
↓ 1 callersMethodcommit_revertable_storage_cache
Commits the revertable part of the `StateCheckpoint` cache.
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:77
↓ 1 callersMethodcommit_storage
( &mut self, address: Address, storage: HashMap<U256, EvmStorageSlot>, )
crates/module-system/module-implementations/sov-evm/src/db/commit.rs:78
↓ 1 callersMethodcommit_user
(&self, user: Overlay)
crates/full-node/sov-db/src/state_db_nomt.rs:84
↓ 1 callersMethodcommits_count
(&self)
crates/full-node/sov-db/src/storage_manager/nomt_based/pruning.rs:225
↓ 1 callersMethodcompact_pruned_cfs
Runs a full RocksDB compaction on the column families that pruning deletes from, to drop the resulting tombstones and reclaim disk space. Intended onl
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:318
↓ 1 callersFunctioncompare_block_at_height
(height: u64, da_service: &StorableMockDaService)
crates/full-node/sov-sequencer/tests/integration/thin_sequencer.rs:154
↓ 1 callersFunctioncompare_compute_state_update
( prev_state_root: <Prover as Storage>::Root, state_accesses: StateAccesses, prover_storage: &Prov
crates/module-system/sov-modules-api/tests/integration/state_tests/compute_state_update/mod.rs:145
↓ 1 callersFunctioncompile_toml_value_to_rust
Converts a TOML value into a Rust expression of the most appropriate type. Nulls and objects are not supported because they don't map naturally to an
crates/module-system/sov-modules-macros/src/compile_manifest_constants.rs:414
↓ 1 callersFunctioncompress_json
Serializes the value as JSON and compresses it with gzip.
crates/utils/sov-rest-utils/src/lib.rs:443
↓ 1 callersMethodcompute_and_pay_revenue_share
Compute and pay revenue share. This method is intended to be called by other modules that collect revenue. # Arguments `from` - The address to pay re
crates/module-system/module-implementations/sov-revenue-share/src/lib.rs:152
↓ 1 callersMethodcompute_derived_holder
( &self, blob: &BlobDataWithId<S, BatchWithId<S>>, idx: u32, state: &mut Kerne
crates/module-system/module-implementations/sov-blob-storage/src/validation.rs:144
↓ 1 callersMethodcompute_remaining_funds
( &self, remaining_funds: Amount, amount: S::Gas, )
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:94
↓ 1 callersMethodcompute_remaining_gas
( &self, remaining_gas: S::Gas, amount: S::Gas, )
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:115
↓ 1 callersMethodconfidence_url
(&self, block_num: u64)
crates/adapters/avail/src/service.rs:57
↓ 1 callersFunctionconfig_gas_token_decimals
The number of decimal places of the rollup's gas token.
crates/module-system/module-implementations/sov-bank/src/lib.rs:59
↓ 1 callersMethodconnect_to_ws
( &self, path: &str, )
crates/full-node/sov-api-spec/src/client.rs:384
↓ 1 callersMethodconnect_txs_ws
( &self, )
crates/full-node/sov-api-spec/src/client.rs:371
↓ 1 callersMethodcontains_attr
(&self, attr_ident: &str)
crates/module-system/sov-modules-macros/src/common.rs:19
↓ 1 callersMethodcontains_special_config
(&self, k: &K)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/limiter.rs:327
↓ 1 callersMethodcontents
Returns the inner enum associated with this variant as a type-safe [`InnerEnumVariant`]
crates/module-system/sov-modules-api/src/module/dispatch.rs:33
↓ 1 callersFunctioncopy_dir_all
(src: &Path, dst: &Path)
examples/demo-rollup/src/hive/genesis_adapter.rs:22
↓ 1 callersFunctioncors_layer
A pre-configured [`CorsLayer`] with permissive configurations. Note that allowing CORS is necessary for Metamask Snap.
crates/utils/sov-rest-utils/src/lib.rs:168
↓ 1 callersFunctioncount_failed_entries
Counts the entries of a serialized JSON-RPC batch response that carry an `error` member. Returns 0 when the body is not a JSON array (e.g. a whole-bat
crates/full-node/sov-stf-runner/src/http/rpc_metrics.rs:277
↓ 1 callersFunctioncount_proof_blobs
(db: &DB, sequence_number: SequenceNumber)
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/db_operations.rs:369
↓ 1 callersFunctioncount_sequence_starts_by_share_version
(namespace_data: &NamespaceData)
crates/adapters/celestia/src/test_helper/files.rs:770
↓ 1 callersMethodcreate
( sequencer: Seq, rollup_config: &RollupConfig<S::Address, StorableMockDaService>, pri
crates/full-node/sov-ethereum/tests/integration/runtime.rs:73
↓ 1 callersFunctioncreateAnvilLogCollector
(verbose: boolean, maxTailLines: number)
typescript/apps/evm-rpc-diff-harness/src/scripts/testAnvil.ts:64
↓ 1 callersFunctioncreateMockProvider
* Creates a mock provider that signs whatever typed data the signer sends. * The provider receives typed data from the signer (not pre-computed in te
typescript/packages/signers/src/wasm/eip712.test.ts:80
↓ 1 callersFunctioncreateSolanaPreamble
( pubkey: Uint8Array, chainHash: Uint8Array, messageLength: number, )
typescript/packages/signers/src/ledger-solana/node.test.manual.ts:15
↓ 1 callersFunctioncreate_aggregate_proof_with_retries
( mut metadata: AggregateProofMetadata<Ps>, prover_service: &Ps, backoff_policy: &ExponentialBuild
crates/full-node/sov-stf-runner/src/processes/zk_manager/mod.rs:394
↓ 1 callersFunctioncreate_auth_tx_and_hash
Creates the transaction details and tx hash for an EVM transaction.
crates/module-system/module-implementations/sov-evm/src/authenticate.rs:151
↓ 1 callersFunctioncreate_batch
( private_key_file: &str, url: String, )
examples/demo-rollup/rest-api-load-testing/src/main.rs:181
↓ 1 callersFunctioncreate_blob
( status: &TxStatus, max_priority_fee_bips: PriorityFeeBips, potential_seq: &Potential
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/unregistered.rs:316
↓ 1 callersFunctioncreate_blob
(blob_type: BlobType, sequence_number: u64, idx: u8)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:1588
↓ 1 callersFunctioncreate_blobs_from_unregistered_seq
( max_priority_fee_bips: PriorityFeeBips, potential_seqs_with_statuses: Vec<(TxStatus, Potenti
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/unregistered.rs:302
↓ 1 callersFunctioncreate_blobs_to_send
( completed_blobs: Vec<ReadBlob>, )
crates/full-node/sov-sequencer/src/preferred/preferred_blob_sender.rs:178
↓ 1 callersMethodcreate_call_dispatch
(&self)
crates/module-system/sov-modules-macros/src/dispatch/dispatch_call.rs:25
↓ 1 callersMethodcreate_call_enum_legs
(&self)
crates/module-system/sov-modules-macros/src/dispatch/dispatch_call.rs:10
↓ 1 callersMethodcreate_call_message
(&self, bond_amount: u128)
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/bond_value.rs:42
↓ 1 callersFunctioncreate_call_tx
( nonce: u64, gas_limit: u64, account: &EvmAccount, to: alloy_primitives::Address, input:
crates/module-system/module-implementations/sov-evm/tests/integration/rpc_basefee.rs:47
↓ 1 callersFunctioncreate_da
(da_dir: &TempDir)
crates/full-node/sov-blob-sender/tests/blob_sender.rs:533
↓ 1 callersMethodcreate_da_service
( &self, rollup_config: &RollupConfig<<Self::Spec as Spec>::Address, Self::DaService>,
crates/module-system/sov-solana-offchain-auth/tests/integration/blueprint.rs:123
↓ 1 callersMethodcreate_default_messages_without_gas_usage
Generates a list of messages originating from the module using default transaction details and no gas usage.
crates/utils/sov-test-utils/src/generators/mod.rs:128
↓ 1 callersFunctioncreate_deploy_tx_with_init_code
( nonce: u64, account: &EvmAccount, init_code: Bytes, )
crates/module-system/module-implementations/sov-evm/tests/integration/rpc_basefee.rs:24
↓ 1 callersMethodcreate_endpoints
( &self, state_update_receiver: StateUpdateReceiver<<Self::Spec as Spec>::Storage>, sy
crates/module-system/sov-solana-offchain-auth/tests/integration/blueprint.rs:77
↓ 1 callersMethodcreate_event_enum_legs
(&self)
crates/module-system/sov-modules-macros/src/event.rs:16
↓ 1 callersFunctioncreate_genesis_config
Creates a new [`RuntimeTrait::GenesisConfig`] from the files contained in the given directory.
examples/demo-rollup/stf/src/genesis_config.rs:77
↓ 1 callersFunctioncreate_genesis_params
()
crates/full-node/sov-sequencer/tests/integration/sequencing_metadata.rs:112
↓ 1 callersFunctioncreate_genesis_params
()
crates/full-node/sov-sequencer/tests/integration/preferred_with_proofs.rs:23
↓ 1 callersFunctioncreate_inc_tx
( nonce: u64, contract: &LegacySimpleStorage, contract_addr: Address, account: &EvmAccount, )
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:189
↓ 1 callersFunctioncreate_insert_credentials
( from_addr: Address, chain_id: u64, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_account_abstraction.rs:40
↓ 1 callersFunctioncreate_key
(key: u8)
crates/module-system/sov-state/src/cache.rs:698
↓ 1 callersMethodcreate_message_codec
(&self)
crates/module-system/sov-modules-macros/src/dispatch/message_codec.rs:9
← previousnext →3,101–3,200 of 9,860, ranked by callers