MCPcopy Create free account

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

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

↓ 2 callersFunctionu64_to_bytes
(value: u64)
crates/adapters/mock-da/src/types/mod.rs:253
↓ 2 callersFunctionunique_holders
(holders: &[TokenHolderRef<'_, S>])
crates/module-system/module-implementations/sov-bank/src/token.rs:345
↓ 2 callersFunctionunlimited_gas_meter
()
crates/module-system/hyperlane/src/merkle/tree.rs:344
↓ 2 callersMethodunpack_body
(&self, body: &[u8])
crates/module-system/module-implementations/extern/hyperlane-solana-register/src/lib.rs:275
↓ 2 callersFunctionupdate_enabled_custom_precompiles
( runner: &mut TestRunner<composite_runtime::RT, S>, admin: &TestUser<S>, add: Vec<Address>, r
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:331
↓ 2 callersMethodupdate_kernel_with_user_state_root
(&mut self)
crates/full-node/sov-sequencer/src/preferred/block_executor.rs:707
↓ 2 callersMethodupdate_limit_replenishment_per_slot
Replenishes current limit and updates replenishment per slot.
crates/module-system/hyperlane/src/warp/types.rs:327
↓ 2 callersMethodupdate_max_limit
Updates the upper limit of transferrable tokens, truncating current limit if necessary..
crates/module-system/hyperlane/src/warp/types.rs:342
↓ 2 callersFunctionupdate_offered_rate_ewma
( previous_rate_per_second: f64, offered_since_last_tick: f64, time_since_last_tick: Duration,
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:1586
↓ 2 callersMethodupdate_oracle_time_from_sequencing_data
Updates the oracle time using sequencer-provided sequencing metadata. This method is best-effort: invalid, overflowing, or regressing timestamps are
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:378
↓ 2 callersMethodupdate_state
( &self, state_update_info: StateUpdateInfo<S::Storage>, )
crates/full-node/sov-sequencer/src/standard/mod.rs:676
↓ 2 callersMethodupdate_token
(&mut self, id: TokenId, info: TokenInfo)
crates/utils/transaction-generator/src/interface/mod.rs:380
↓ 2 callersFunctionupdate_tx_gas_limit
(runner: &mut TestRunner<RT, S>, admin: &TestUser<S>, new_tx_gas_limit: u64)
crates/module-system/module-implementations/sov-evm/tests/integration/archival_state.rs:118
↓ 2 callersMethodupdate_visible_slot_number
Updates the visible rollup height contained in the accessor
crates/module-system/sov-modules-api/src/state/accessors/kernel.rs:146
↓ 2 callersFunctionupsert_finalized_height
(executor: E, height: u32)
crates/adapters/mock-da/src/storable/db/sqlite.rs:147
↓ 2 callersMethodupsert_node_registration_inner
( &self, conn: &mut PgConnection, )
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:333
↓ 2 callersFunctionval_hash_and_size_inner
Combines the value hash with its size. We return `Vec<u8>` here because NOMT stores the value hash and size as bytes.
crates/full-node/sov-db-types/src/lib.rs:721
↓ 2 callersMethodvalidate_and_rollback_archival
Validate consistency between live and archival DBs, rollback archival changes if necessary.
crates/full-node/sov-db/src/flat_db.rs:453
↓ 2 callersMethodvalidate_blob
( &mut self, idx: u32, blob: BlobDataWithId<S, BatchWithId<S>>, sender: <<S as
crates/module-system/module-implementations/sov-blob-storage/src/validation.rs:35
↓ 2 callersFunctionvalidate_chain_id
( tx_chain_id: Option<u64>, tx_hash: TxHash, )
crates/module-system/module-implementations/sov-evm/src/authenticate.rs:183
↓ 2 callersFunctionvalidate_db_data_from_replica_for_open_batch
( has_finished_startup: bool, is_ready: &Result<(), SequencerNotReadyDetails>, ret: DbData, se
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:1518
↓ 2 callersFunctionvalidate_fallback_endpoint_urls
Rejects fallback endpoints with an empty/blank `url` at startup, so a misconfigured `[[da.<field>]]` entry fails fast with a clear, indexed message in
crates/adapters/celestia/src/config.rs:448
↓ 2 callersFunctionvalidate_get_finalized_header_response
Checks that last finalized height is always less than last submitted by blocks_to_finalization
crates/adapters/mock-da/src/in_memory/service.rs:486
↓ 2 callersFunctionvalidate_rpc_url
(rpc_url: &str)
crates/adapters/celestia/src/config.rs:437
↓ 2 callersFunctionvalidate_worker_count
Validates that the number of workers doesn't exceed the maximum supported.
crates/utils/sov-evm-soak-testing/src/main.rs:142
↓ 2 callersFunctionvalue
(v: u8)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:291
↓ 2 callersMethodvalue_codec
(&self)
crates/module-system/sov-state/src/codec/bcs_codec.rs:38
↓ 2 callersMethodvec
(&self)
crates/module-system/sov-modules-api/src/rest/__private/state.rs:203
↓ 2 callersMethodvec_delimiters
(&mut self, context: &Context)
crates/universal-wallet/schema/src/visitors/display.rs:399
↓ 2 callersFunctionvec_to_hashmap
(vec: Vec<(K, V)>)
crates/module-system/hyperlane/src/igp/mod.rs:245
↓ 2 callersFunctionverification_fails_for_forged_total_len
`BlobWithSender`'s record of its total payload length backs `BlobReaderTrait::total_len()`, which feeds gas accounting and size gates in the STF. It i
crates/adapters/celestia/src/da_service/tests.rs:1374
↓ 2 callersFunctionverify_aggregated_proof
( agg_proof: SerializedAggregatedProof, )
crates/full-node/sov-stf-runner/tests/integration/aggregated_proof_tests.rs:79
↓ 2 callersMethodverify_block_integrity
(&self, block: &FilteredCelestiaBlock)
crates/adapters/celestia/src/da_service/mod.rs:494
↓ 2 callersFunctionverify_block_integrity_for_params
( block: &FilteredCelestiaBlock, rollup_params: RollupParams, )
crates/adapters/celestia/src/da_service/mod.rs:505
↓ 2 callersFunctionverify_contract_creation_allowlist
( state_changes: &HashMap<Address, Account>, signer: &Address, cfg: &EvmRuntimeConfig, db: &mu
crates/module-system/module-implementations/sov-evm/src/call.rs:555
↓ 2 callersFunctionverify_fee_history_for_sealed_tag
Shared validation logic for finalized/safe block tags. Both tags map to the latest finalized block visible to the RPC.
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:331
↓ 2 callersFunctionverify_latest_aggregated_proof
Fetches the node's latest aggregated proof from the node at `node_url`, verifies it with an [`Sp1LightClient`], and prints the verified public values.
examples/demo-rollup/src/light_client/sp1.rs:34
↓ 2 callersMethodverify_signature
Verifies the signature
crates/module-system/sov-modules-api/src/common/crypto.rs:137
↓ 2 callersFunctionverify_split
(range: &Range<usize>, sub_ranges: &[Range<usize>], offset: usize)
crates/adapters/celestia/src/verifier/proofs.rs:600
↓ 2 callersMethodvisible_hash_for_inner
Get the *pre* execution state root for the specified rollup height, delayed by a configurable number of blocks ("STATE_ROOT_DELAY_BLOCKS"). We use th
crates/module-system/module-implementations/sov-chain-state/src/capabilities.rs:112
↓ 2 callersMethodwait_for_aggregated_proof_posted_to_da
The aggregated proof was posted to DA and will be included in the NEXT block.
crates/full-node/sov-stf-runner/tests/integration/helpers/runner_init.rs:100
↓ 2 callersMethodwait_for_aggregated_proof_saved_in_db
The aggregated proof was saved in the db.
crates/full-node/sov-stf-runner/tests/integration/helpers/runner_init.rs:105
↓ 2 callersFunctionwait_for_aggregated_proofs
( test_rollup: &TestRollup<ExternalMockDemoRollup<Native>>, count: usize, )
examples/demo-rollup/tests/restart/proofs.rs:48
↓ 2 callersFunctionwait_for_background_pruner
Awaits (up to 5s) any in-flight background pruner, yielding to the runtime between polls. Returns immediately if no pruner is running or it has alread
crates/full-node/sov-db/src/storage_manager/nomt_based/tests.rs:186
↓ 2 callersFunctionwait_for_balance
( node: &TestRollup<Rollup>, bank_events: &mut BoxStream<'static, anyhow::Result<types::LedgerEvent>>,
examples/demo-rollup/tests/replica/replica_partitioned_db.rs:119
↓ 2 callersFunctionwait_for_failed_startup_tasks
( background_handles_to_join: Vec<BackgroundHandle<()>>, sequencer_background_handles: Vec<BackgroundH
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:873
↓ 2 callersFunctionwait_for_many_values_item
( test_rollup: &TestRollup<TestBlueprint>, da_layer: &mut DaLayerWithSubscription, index: u64,
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:198
↓ 2 callersMethodwait_for_node_resync
( &self, state_update_receiver: &mut StateUpdateReceiver<S::Storage>, primary_shutdown
crates/full-node/sov-sequencer/src/preferred/mod.rs:323
↓ 2 callersFunctionwait_for_replica_to_catchup
(leader: &TestRollup<Rollup>, replica: &TestRollup<Rollup>)
examples/demo-rollup/tests/replica/replica_partitioned_db.rs:102
↓ 2 callersMethodwait_for_sequencer_recovering
Polls the sequencer until it enters recovery mode. Times out after TestRollup::POLLING_TIMEOUT seconds.
crates/utils/sov-test-utils/src/test_rollup.rs:933
↓ 2 callersMethodwait_for_sequencer_state
Helper that waits for the sequencer to reach either a ready or un-ready state.
crates/utils/sov-test-utils/src/test_rollup.rs:1001
↓ 2 callersFunctionwait_till_container_exit
Waits for some time while hyperlane-cli exit with status code 0
crates/module-system/hyperlane/tests/integration/with_agent/helpers/hyperlane_cli.rs:215
↓ 2 callersFunctionwait_until_head_at_least
( service: &CelestiaService, target_height: u64, )
crates/adapters/celestia/src/da_service/tests.rs:242
↓ 2 callersMethodwith
(payer: Payer<Addr>, payee: Addr)
crates/module-system/module-implementations/sov-paymaster/src/lib.rs:63
↓ 2 callersMethodwith_bank
Add Bank module to the soak test. This method is only available if your Runtime implements `EncodeCall<Bank<S>>`.
crates/utils/sov-soak-testing-lib/src/lib.rs:130
↓ 2 callersMethodwith_chain_id
Set the chain ID of the transaction.
crates/utils/sov-test-utils/src/interface/inputs.rs:64
↓ 2 callersMethodwith_default_relayer
( &self, preselected_relayer: Option<S::Address>, recipient_address: &HexHash,
crates/module-system/hyperlane/src/lib.rs:183
↓ 2 callersMethodwith_failure_at_nonce
(self, nonce: u64)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1271
↓ 2 callersMethodwith_prefix
(&self)
crates/full-node/sov-db-types/src/lib.rs:142
↓ 2 callersMethodwith_rate_limiter
See [`PreferredSequencerConfig::rate_limiter`].
crates/utils/sov-test-utils/src/test_rollup.rs:128
↓ 2 callersMethodwith_synthetic_load
Add SyntheticLoad module to the soak test. This method is only available if your Runtime implements `EncodeCall<SyntheticLoad<S>>`.
crates/utils/sov-soak-testing-lib/src/lib.rs:145
↓ 2 callersMethodwith_tx_queue_id
(self, tx_queue_id: u64)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1256
↓ 2 callersMethodwith_validators
Run validators with specified keys.
crates/module-system/hyperlane/tests/integration/with_agent/helpers/mod.rs:256
↓ 2 callersFunctionwrap_function_with
Wrap a function, where `f` wraps a block with (benchmarking) code.
crates/module-system/sov-modules-macros/src/metrics.rs:158
↓ 2 callersFunctionwrap_in_new_scope
Wraps the code in a new scope using the `const _: () = {};` trick. Adapted from MIT-licensed code here: <https://github.com/serde-rs/serde/blob/3202a
crates/module-system/sov-modules-macros/src/common.rs:343
↓ 2 callersMethodwriteU128
(value: bigint | number)
typescript/packages/serializers/src/js/borsh-writer.ts:79
↓ 2 callersMethodwriteU16
(value: number)
typescript/packages/serializers/src/js/borsh-writer.ts:18
↓ 2 callersMethodwriteU64
(value: bigint | number)
typescript/packages/serializers/src/js/borsh-writer.ts:52
↓ 2 callersMethodwrite_blacklist
Add or remove a wallet from the blacklist.
crates/module-system/module-implementations/sb-blacklist/src/lib.rs:166
↓ 2 callersFunctionwrite_kernel_marker
(state: &mut StateCheckpoint<S>)
crates/module-system/sov-modules-api/src/state/accessors/tests.rs:31
↓ 2 callersMethodwrite_session
Create, update, or delete the session for a wallet. - If `expires_at == 0`, the session is removed. - Otherwise, a new `Session` is written with expi
crates/module-system/module-implementations/sb-session-registry/src/lib.rs:260
↓ 2 callersFunctionyear_to_timestamp
(year: i32)
crates/module-system/module-implementations/sov-test-modules/src/sequencing_data.rs:66
↓ 1 callersMethod__apply_to_state
TODO(@theochap): A temporary solution until `https://github.com/Sovereign-Labs/sovereign-sdk-wip/issues/1192` is resolved. Updates the state of the ro
crates/utils/sov-test-utils/src/runtime/mod.rs:435
↓ 1 callersMethodaccept_encoded_tx
(&self, tx: FullyBakedTx)
crates/full-node/sov-sequencer/src/test_stateless.rs:137
↓ 1 callersMethodaccept_tx_inner
( &self, baked_tx: FullyBakedTx, )
crates/full-node/sov-sequencer/src/standard/mod.rs:532
↓ 1 callersMethodaccept_tx_inner
( &self, baked_tx: FullyBakedTx, ip_addr: IpAddr, )
crates/full-node/sov-sequencer/src/preferred/mod.rs:383
↓ 1 callersMethodaccept_tx_probability
The sequencer assigns a baseline probability of accepting each transaction given the current load. When load is low, the probability is `1`. As load i
crates/module-system/sov-modules-api/src/runtime/mod.rs:140
↓ 1 callersMethodaccount_for_deferral_costs
This function is used to account for the costs of deferring a blob. It covers the cost of storing and retrieving the blob, as well as the potential in
crates/module-system/module-implementations/sov-blob-storage/src/validation.rs:168
↓ 1 callersMethodaccumulate
Adds another reward to this reward. Consumes the other reward. If the result overflows, we saturate.
crates/module-system/sov-modules-api/src/transaction/rewards.rs:118
↓ 1 callersMethodactivate
Activate a key by identifier
crates/module-system/sov-cli/src/wallet_state.rs:260
↓ 1 callersMethodactivate_revenue_share
( &mut self, context: &sov_modules_api::Context<S>, state: &mut impl sov_modules_api::
crates/module-system/module-implementations/sov-revenue-share/src/lib.rs:211
↓ 1 callersFunctionactivation_block_for_timestamp
( chain_timestamps: &[(u64, u64)], timestamp: u64, )
examples/demo-rollup/src/hive/rlp_chain.rs:41
↓ 1 callersMethodadd
(&mut self, tx: Arc<MempoolTx>)
crates/full-node/sov-sequencer/src/standard/mempool.rs:153
↓ 1 callersMethodadd_accessory_item
(&mut self, _key: SlotKey, _value: Option<SlotValue>)
crates/module-system/sov-state/src/storage.rs:187
↓ 1 callersMethodadd_accessory_item
(&mut self, key: SlotKey, value: Option<SlotValue>)
crates/module-system/sov-state/src/nomt/prover_storage.rs:602
↓ 1 callersMethodadd_accounts_with_token_inner
( &mut self, token_name: &TestTokenName, with_minter: bool, num_accounts: usiz
crates/utils/sov-test-utils/src/runtime/genesis/mod.rs:203
↓ 1 callersMethodadd_allowed_updaters
( &self, payer: &S::Address, to_add: Option<SafeVec<S::Address>>, policy: &mut
crates/module-system/module-implementations/sov-paymaster/src/call.rs:492
↓ 1 callersFunctionadd_benchmarking_callbacks
(env: ExecutorEnvBuilder<'_>)
crates/adapters/risc0/src/host.rs:24
↓ 1 callersMethodadd_can_mint
Set this account as being able to mint the given token
crates/utils/transaction-generator/src/generators/bank/account.rs:61
↓ 1 callersFunctionadd_default_members
(cargo_toml_path: &Path, preset_name: &str)
scripts/switcheroo/src/main.rs:136
↓ 1 callersFunctionadd_genesis_da_height_notes
( calibrated_genesis_da_height: u64, genesis_da_height_before: u64, notes: &mut Vec<String>, )
examples/demo-rollup/src/migrations/mockda_to_celestia.rs:785
↓ 1 callersMethodadd_hint_deferred_and_run
( &mut self, item: &T, agg_proofs: Vec<SerializedAggregatedProof>, )
crates/adapters/sp1/src/host.rs:415
↓ 1 callersMethodadd_hint_deferred_and_run_helper
( &mut self, item: &T, agg_proofs: Vec<SerializedAggregatedProof>, )
crates/adapters/sp1/src/host.rs:312
↓ 1 callersMethodadd_initial_liquidity
(&self, weth_amount: U256, usdc_amount: U256)
crates/utils/sov-evm-soak-testing/src/uniswap.rs:164
↓ 1 callersMethodadd_new_tx
(&mut self, hash: TxHash, baked_tx: FullyBakedTx)
crates/full-node/sov-sequencer/src/standard/mempool.rs:141
↓ 1 callersMethodadd_preferred_blobs_to_selection
( &mut self, selected_preferred_blobs: Vec<PreferredBlobDataWithId>, blobs_to_select:
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:845
↓ 1 callersMethodadd_proof_blob
( &mut self, sequence_number: SequenceNumber, blob_id: BlobInternalId, data: P
crates/full-node/sov-sequencer/src/preferred/db/rocksdb.rs:141
↓ 1 callersMethodadd_proposal
( &mut self, key: &ProposalKey<S>, pending_proposal: &PendingProposal<S>, stat
crates/module-system/module-implementations/sov-timelock/src/lib.rs:395
↓ 1 callersMethodadd_read_if_not_present
(&mut self, reads: FirstTimeReads)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:339
↓ 1 callersMethodadd_tx_to_wait
(&mut self, tx_hash: TxHash)
crates/full-node/sov-sequencer/tests/integration/preferred_with_reorgs.rs:140
← previousnext →2,801–2,900 of 9,860, ranked by callers