MCPcopy Create free account

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

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

↓ 6 callersFunctiontransform
(val: any, typ: any, getProps: any, key: any = '', parent: any = '')
typescript/examples/soak-testing/src/types.ts:429
↓ 6 callersFunctiontransform
(val: any, typ: any, getProps: any, key: any = '', parent: any = '')
typescript/examples/phantom/src/types.ts:1012
↓ 6 callersMethodtruncate
Shortens the vector, keeping the first `len` elements and dropping the rest. If `len` is greater or equal to the vector's current length, this has no
crates/rollup-interface/src/common/safe_vec.rs:557
↓ 6 callersMethodtry_decode
(&self, _bytes: &[u8])
crates/module-system/sov-modules-macros/tests/integration/custom_state_codec_builder.rs:52
↓ 6 callersMethodtry_extend
(&mut self, other: &[u8])
crates/full-node/sov-db-types/src/lib.rs:146
↓ 6 callersMethodtry_to_arbitrary
(self)
crates/utils/transaction-generator/src/generators/bank/mod.rs:400
↓ 6 callersMethodunsignedTransaction
* Gets the unsigned transaction. * @returns A readonly view of the unsigned transaction
typescript/packages/multisig/src/index.ts:201
↓ 6 callersFunctionuri_with_query_params
Creates a new [`Uri`] with the given query parameters, serialized with [`serde_urlencoded`].
crates/utils/sov-rest-utils/src/test_utils.rs:10
↓ 6 callersFunctionvalidateBlockShape
(block: unknown, fullTransactions: boolean)
typescript/apps/evm-rpc-diff-harness/src/harness/normalize.ts:164
↓ 6 callersMethodwait
(&self)
crates/adapters/mock-zkvm/src/notifier.rs:10
↓ 6 callersMethodwait_for_shutdown
(&self)
crates/utils/sov-shutdown/src/shutdown_controller.rs:20
↓ 6 callersMethodwith_gas_limit
Set the gas limit of the transaction.
crates/utils/sov-test-utils/src/interface/inputs.rs:91
↓ 6 callersMethodwith_rollup_port
Set rollup port hyperlane can reach out to.
crates/module-system/hyperlane/tests/integration/with_agent/helpers/mod.rs:244
↓ 6 callersMethodwith_value
Mutates the scratchpad contents under the scratchpad lock.
crates/module-system/sov-modules-api/src/module/spec.rs:323
↓ 6 callersMethodwithout_prefix
(&self)
crates/full-node/sov-db-types/src/lib.rs:138
↓ 5 callersMethodadd_tx
( &mut self, sequence_number: SequenceNumber, tx_index_within_batch: u64, tx:
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:525
↓ 5 callersMethodadvance
(&mut self, num_bytes: usize)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities/deserialization_tests.rs:74
↓ 5 callersFunctionalloy_client_with_signer
(socket: SocketAddr, private_key: &str)
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:31
↓ 5 callersMethodas_nanos
Returns the timestamp as nanoseconds since the unix epoch.
crates/module-system/sov-modules-api/src/sequencing_metadata.rs:43
↓ 5 callersMethodas_ref
(&self)
crates/adapters/celestia/src/types/mod.rs:57
↓ 5 callersMethodas_u64
(self)
crates/module-system/module-implementations/sov-evm/src/sov_fee_and_gas_utils.rs:16
↓ 5 callersFunctionassert_bank_balance_precompile
( runner: &mut TestRunner<RT, Sp>, caller: &EvmAccount, tester: Address, nonce: u64, balan
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:287
↓ 5 callersFunctionassert_charge_fails
(meter: &mut BasicGasMeter<S>, gas: GasUnit<2>)
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:295
↓ 5 callersFunctionassert_identity_precompile
( runner: &mut TestRunner<RT, Sp>, caller: &EvmAccount, tester: Address, nonce: u64, )
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:242
↓ 5 callersFunctionassert_outcome
(outcome: &BatchSequencerOutcome)
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/optimistic/tx_revert_tests.rs:21
↓ 5 callersFunctionassert_root_hashes
(storage: &S, expected_root_hashes: Vec<S::Root>)
crates/module-system/module-implementations/integration-tests/tests/concurrent_prover_storages.rs:543
↓ 5 callersFunctionassert_scratchpad_contains_data
( data: &[(u8, u8)], scratchpad: &mut TxScratchpad<TestSpec, StateCheckpoint<TestSpec>>,
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:318
↓ 5 callersFunctionassert_stale_storage_blocks_then_observes_root_mismatch
( location: CommitFaultInjectionLocation, )
crates/module-system/sov-state/src/nomt/prover_storage.rs:1437
↓ 5 callersFunctionassert_truncated_blob_is_fully_verified
(value: T)
crates/module-system/module-implementations/sov-blob-storage/src/capabilities/deserialization_tests.rs:194
↓ 5 callersMethodbase_fee
The base fee reward of the transaction expressed in multidimensional gas units.
crates/module-system/sov-modules-api/src/transaction/rewards.rs:54
↓ 5 callersMethodbegin_rollup_block
(&mut self, batch_to_store: BatchToStore)
crates/full-node/sov-sequencer/src/preferred/db/rocksdb.rs:52
↓ 5 callersMethodbuild_api_state_accessor
Returns an [`ApiStateAccessor`] that you can use to read state from within REST API. The new accessor can be set to read any historical rollup state a
crates/module-system/sov-modules-api/src/rest/mod.rs:234
↓ 5 callersFunctionbuild_create_token_tx
( key: &<<TestSpec as Spec>::CryptoSpec as CryptoSpec>::PrivateKey, nonce: u64, initial_balance: u
examples/demo-rollup/tests/bank/helpers.rs:71
↓ 5 callersFunctionbuild_mock_confirmation
(tx_number: u64)
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:617
↓ 5 callersFunctionbuild_soft_confirmation_blobs
Builds a [`RelevantBlobs`] struct from a list of [`BlobConfigInfo`]s. This struct populates the batches with simple [`ValueSetter`] messages. One can
crates/module-system/module-implementations/sov-blob-storage/tests/integration/helpers_soft_confirmations.rs:114
↓ 5 callersFunctionby_number
( client: &DynProvider, tag: impl Into<BlockNumberOrTag>, )
examples/demo-rollup/tests/evm/evm_rpc.rs:18
↓ 5 callersMethodchain_hash
Returns the chain ID calculated using the merkle root of all the schema types, combined with any chain-specific metadata. This allows the chain ID to
crates/universal-wallet/schema/src/schema/mod.rs:560
↓ 5 callersMethodchange_set
(&self, version: u64)
crates/full-node/sov-db/src/flat_db.rs:982
↓ 5 callersFunctioncheck_blocks
(block_start: u64, block_end: u64, evm: &Evm<S>, state: &mut ApiStateAccessor<S>)
crates/module-system/module-implementations/sov-evm/tests/integration/pruning.rs:12
↓ 5 callersFunctioncheck_chain_state_update
( num_rounds: u64, txs_to_send_per_round: usize, post_round_closure: &mut impl FnMut( // R
crates/module-system/module-implementations/sov-chain-state/tests/integration-tests/multi_round.rs:33
↓ 5 callersMethodcheck_if_sender_is_sov_admin
Verifies that the caller is the sovereign admin
crates/module-system/module-implementations/sov-revenue-share/src/lib.rs:122
↓ 5 callersMethodcheck_replica_err
(&self, err: DbError)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:721
↓ 5 callersFunctioncleanup_failed_startup
( primary_shutdown: &PrimaryShutdownController, secondary_shutdown_controller: &SecondaryShutdownContr
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:845
↓ 5 callersMethodclone_reader
Clones the underlying `DeltaReader` used by this `LedgerDb`. Blocking if called in async context
crates/full-node/sov-db/src/ledger_db/mod.rs:322
↓ 5 callersMethodcommit
Write changes directly to the underlying db
crates/utils/sov-test-utils/src/storage.rs:53
↓ 5 callersMethodcommit
(&mut self, state: Self::State)
crates/module-system/module-implementations/sov-evm/src/sov_evm/api.rs:66
↓ 5 callersMethodcommit_change_set
( &mut self, change_set: <Self::Storage as Storage>::ChangeSet, new_root: <Self::Stora
crates/utils/sov-test-utils/src/storage.rs:208
↓ 5 callersMethodcommit_revertable_storage_cache
Commit the revertable part of the `ProvableStorageCache`.
crates/module-system/sov-state/src/cache.rs:304
↓ 5 callersMethodcommit_revertable_storage_cache
(&mut self)
crates/module-system/sov-modules-api/src/state/accessors/internals.rs:157
↓ 5 callersFunctioncompute_next_base_fee
( base_fee: u128, gas_used: u64, gas_limit: u64, max_change_denominator: u64, elasticity_m
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:85
↓ 5 callersFunctionconsume_gas_tx_for_signer
(signer: &TestUser<S>)
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/helpers.rs:121
↓ 5 callersFunctioncreateMockProvider
()
typescript/packages/signers/src/privy.test.ts:14
↓ 5 callersFunctioncreateMockSerializer
(overrides?: any)
typescript/packages/web3/src/rollup/solana-signable-rollup.test.ts:41
↓ 5 callersFunctioncreateMockSigner
()
typescript/packages/web3/src/rollup/solana-signable-rollup.test.ts:51
↓ 5 callersMethodcreate_new_rollup
Creates a new rollup.
crates/module-system/sov-modules-rollup-blueprint/src/native_only/mod.rs:207
↓ 5 callersFunctioncreate_postgres_container
Creates a container with a PostgreSQL database.
crates/utils/sov-test-utils/src/postgres.rs:23
↓ 5 callersFunctioncreate_simulation_create_params
( from: Address, bytecode: Bytes, nonce: Option<u64>, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_gas_estimation.rs:17
↓ 5 callersFunctioncreate_test_rollup
( genesis: Genesis, rate_limiter_config: SovRateLimiterConfig<<TestSpec as Spec>::Address>, )
crates/full-node/sov-sequencer/tests/integration/rate_limits.rs:64
↓ 5 callersMethodcurrent_data
(&self)
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:692
↓ 5 callersFunctiondatabase_error_500
Returns a 500 error to be used when a database error occurred.
crates/utils/sov-rest-utils/src/errors.rs:90
↓ 5 callersFunctiondecode_evm_tx
Decode a byte sequence into an EVM transaction without checking the signature
crates/module-system/module-implementations/sov-evm/src/authenticate.rs:342
↓ 5 callersFunctiondecode_sp1_proof
( serialized_proof: &SerializedZkProof, )
crates/adapters/sp1/src/lib.rs:238
↓ 5 callersMethoddecode_unwrap
Decodes the provided value, panicking if the decoding fails.
crates/module-system/sov-modules-api/src/containers/value.rs:69
↓ 5 callersFunctiondefault_file_name_arg_for_test
(path: &str)
crates/module-system/sov-cli/tests/integration/transactions.rs:390
↓ 5 callersFunctiondefault_test_tx_details
Generates a default [`TxDetails`] for testing.
crates/utils/sov-test-utils/src/lib.rs:227
↓ 5 callersMethoddelete
Deletes the mutably borrowed value from the map.
crates/module-system/sov-modules-api/src/containers/mod.rs:195
↓ 5 callersFunctionderive_receipt_gas_used_from_actual_fee
( gas_info: &GasInfo<GU>, )
crates/module-system/module-implementations/sov-evm/src/sov_fee_and_gas_utils.rs:77
↓ 5 callersMethoddetails_mut
Get a mutable reference to the [`TxDetails`] if self is [`TransactionType::Plain`]. Otherwise returns [`None`].
crates/utils/sov-test-utils/src/interface/inputs.rs:37
↓ 5 callersMethoddisconnect
()
typescript/packages/signers/src/ledger-solana/common.ts:76
↓ 5 callersFunctiondo_blob_test
( slot: &[(BlobType, u64)], sequence_tracker: &mut SequencerNumberTracker, expected_ou
crates/module-system/module-implementations/sov-blob-storage/src/capabilities.rs:1606
↓ 5 callersFunctionencode_call
( key: &Ed25519PrivateKey, generation: u64, call_message: &<TestRuntime<TestSpec> as DispatchCall>
crates/full-node/sov-sequencer/tests/integration/setup_mode.rs:352
↓ 5 callersMethodend_rollup_block
(&mut self, stored_batch: BatchToStore)
crates/full-node/sov-sequencer/src/preferred/db/rocksdb.rs:90
↓ 5 callersMethodenum_ident
(&self, postfix: &'static str)
crates/module-system/sov-modules-macros/src/common.rs:164
↓ 5 callersMethoderr
(path: P, ident: &Ident, msg: T)
crates/module-system/sov-modules-macros/src/manifest.rs:220
↓ 5 callersFunctionestimate_gas_request
( from: alloy_primitives::Address, to: alloy_primitives::Address, )
crates/module-system/module-implementations/sov-evm/tests/integration/rpc_basefee.rs:90
↓ 5 callersFunctioneth_dev_signer
TODO: https://github.com/Sovereign-Labs/sovereign-sdk-wip/issues/387
examples/demo-rollup/src/lib.rs:98
↓ 5 callersFunctionextract_contents
( event: ExecutorEvent<S, TestRuntime<S>>, )
crates/full-node/sov-sequencer/src/preferred/side_effects.rs:414
↓ 5 callersMethodfetch_metrics
Fetches raw metrics text from the Prometheus endpoint.
crates/module-system/hyperlane/tests/integration/with_agent/helpers/metrics.rs:44
↓ 5 callersMethodflush
Submits one point per `(method, transport)` pair that saw traffic, all with the same timestamp, and resets the per-window state (slow-call cap, lost-e
crates/full-node/sov-metrics/src/influxdb/rpc_aggregator.rs:501
↓ 5 callersMethodgas_meter
Creates a new [`BasicGasMeter`] from the transaction data.
crates/module-system/sov-modules-api/src/transaction/data.rs:154
↓ 5 callersMethodgenerate
* Generates a batch of test transactions. * @param amount - The number of transactions to generate * @returns A promise that resolves to an arra
typescript/packages/test/src/soak/generation.ts:102
↓ 5 callersFunctiongenerate_payload_with_batches
(batches: usize, batch_size: usize)
crates/adapters/celestia/src/test_helper/files.rs:1107
↓ 5 callersFunctiongenerate_value_setter_tx
( generation: u64, value: u32, admin: &TestUser<S>, )
crates/module-system/module-implementations/sov-uniqueness/tests/integration/utils.rs:86
↓ 5 callersMethodget
The current [`SlotNumber`] as a [`u64`].
crates/rollup-interface/src/common/slot_numbering.rs:91
↓ 5 callersMethodget_batches
( &self, batch_ids: &[BatchIdentifier], query_mode: QueryMode, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:92
↓ 5 callersFunctionget_cfg_env
builds CfgEnv Returns correct config depending on spec for given block number Copies context-dependent values from template_cfg or default if not prov
crates/module-system/module-implementations/sov-evm/src/evm/executor.rs:27
↓ 5 callersMethodget_db
Get the underlying [`rockbound::DB`] for the historical state. Used for testing only.
crates/full-node/sov-db/src/flat_db.rs:286
↓ 5 callersMethodget_event_key_counts
(&self)
crates/full-node/sov-db/src/ledger_db/rpc.rs:202
↓ 5 callersMethodget_head_block_header
( &self, )
crates/adapters/mock-da/src/in_memory/service.rs:329
↓ 5 callersMethodget_latest_aggregated_proof
( State(state): State<LedgerState<T>>, )
crates/full-node/sov-ledger-apis/src/lib.rs:682
↓ 5 callersMethodget_new_gas_price
( &self, visible_height_increase: u64, state: &mut KernelStateAccessor<'_, S>, )
crates/module-system/module-implementations/sov-blob-storage/src/validation.rs:15
↓ 5 callersMethodget_next_version
Get the current value of the `next_version` counter
crates/full-node/sov-db/src/historical_state.rs:117
↓ 5 callersFunctionget_raw_data
Returns tuple of all raw batches and raw proofs
crates/adapters/mock-da/src/storable/layer.rs:1461
↓ 5 callersMethodget_slots
( &self, slot_ids: &[SlotIdentifier], query_mode: QueryMode, )
crates/full-node/sov-db/src/ledger_db/rpc.rs:54
↓ 5 callersMethodget_state_value
(&self, state: &mut WorkingSet<S>)
crates/module-system/sov-modules-macros/tests/integration/dispatch.rs:30
↓ 5 callersMethodget_value
(&self, key: &[u8])
crates/full-node/sov-db/src/storage_manager/nomt_based/tests.rs:117
↓ 5 callersMethodget_value_option
Queries for a value in the [`AccessoryDb`], given a key.
crates/full-node/sov-db/src/accessory_db.rs:44
↓ 5 callersMethodhandle
Handles an inbound message. Note that this deviates from more standard Hyperlane `handle` API because all messages are dispatched through this module
crates/module-system/hyperlane/src/warp/mod.rs:944
↓ 5 callersMethodhas_changed
(&self)
crates/utils/sov-proxy-utils/src/node_discovery.rs:90
↓ 5 callersFunctionimport_key_file
( wallet_state: &mut WalletState<Tx, S>, app_dir: impl AsRef<Path>, nickname: Option<&str>, ke
crates/module-system/sov-cli/tests/integration/keys.rs:276
← previousnext →1,001–1,100 of 9,860, ranked by callers