MCPcopy Create free account

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

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

↓ 18 callersFunctionsetup
Simple helper that creates a test sequencer, initializes it with genesis data and verifies that the initialization was successful. Returns a `TestSequ
crates/module-system/module-implementations/sov-sequencer-registry/tests/integration/helpers.rs:92
↓ 18 callersFunctionsubmit_single_transaction
Spawns a transaction submission as a concurrent task. Includes a short sleep to allow the task to enter the buffer, ensuring transactions are submitte
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1530
↓ 18 callersFunctionsubmit_tx
( client: &sov_api_spec::client::Client, raw_tx_bytes: Vec<u8>, )
crates/module-system/sov-solana-offchain-auth/tests/integration/main.rs:202
↓ 18 callersMethodtenderly_produce_blocks
Produce DA blocks, but wait enough time in between, that finalized header poller sees each of them.
crates/utils/sov-test-utils/src/test_rollup.rs:1218
↓ 18 callersFunctionupdate_test_data
(client: &celestia_client::Client, signer: &CelestiaAddress)
crates/adapters/celestia/src/test_helper/files.rs:239
↓ 18 callersMethodverified_data
(&self)
crates/adapters/celestia/src/types/mod.rs:305
↓ 18 callersMethodwith_default_state_path
Returns the default path for the API of the given module and state key.
crates/utils/sov-test-utils/src/runtime/mod.rs:245
↓ 17 callersMethodabort
(&self)
crates/utils/sov-proxy-utils/src/node_checker.rs:294
↓ 17 callersMethodallow
( &mut self, ip: IpAddr, address: S::Address, )
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:88
↓ 17 callersFunctionassert_on_results
( results: Vec<TransactionReceiverResult<TestSpec, TestRuntime>>, expected_outcomes: Vec<Outco
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1591
↓ 17 callersMethodbuild
Creates an [`ApiState`] backed by a Tokio [`watch`] channel of [`StateCheckpoint`]s.
crates/module-system/sov-modules-api/src/rest/mod.rs:188
↓ 17 callersMethodcall
* Performs a runtime call transaction. * Utilizes the provided signer to sign the transaction. * * @param runtimeCall - The runtime message t
typescript/packages/web3/src/rollup/rollup.ts:226
↓ 17 callersMethodcompute_state_update
( &self, state_accesses: StateAccesses, witness: &Self::Witness, prev_state_ro
crates/module-system/sov-state/src/nomt/zk_storage.rs:144
↓ 17 callersMethoddb
Get a EvmDb instance for the supplied state.
crates/module-system/module-implementations/sov-evm/src/state_access.rs:88
↓ 17 callersMethodencode
(&self, out: &mut dyn BufMut)
crates/module-system/module-implementations/sov-evm/src/evm/primitive_types.rs:105
↓ 17 callersMethodgas_price
Returns the gas price of the transition.
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:102
↓ 17 callersFunctiongenerate_default_tx
( uniqueness: UniquenessData, admin: &TestUser<S>, evm_account: &EvmAccount, )
crates/module-system/module-implementations/sov-uniqueness/tests/integration/utils.rs:54
↓ 17 callersFunctionget_extraction_proof
( block: &FilteredCelestiaBlock, blobs: &RelevantBlobs<BlobWithSender>, )
crates/adapters/celestia/src/da_service/mod.rs:692
↓ 17 callersMethodget_last_finalized_block_header
Returns the current cached last finalized block header. # Errors Returns an error if the background polling task has stopped.
crates/full-node/sov-stf-runner/src/da/finalized_headers_cache.rs:130
↓ 17 callersMethodis_empty
Returns true if all fields are None, indicating no actual config changes.
crates/module-system/module-implementations/sov-evm/src/config.rs:196
↓ 17 callersMethodprev_hash
(&self)
crates/adapters/mock-da/src/types/mod.rs:123
↓ 17 callersMethodpush
(&mut self, block: BlockProofInfo<Ps>)
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:87
↓ 17 callersMethodremove
( &mut self, hash: &Da::SlotHash, )
crates/full-node/sov-stf-runner/src/processes/prover_service/parallel/state.rs:20
↓ 17 callersMethodtake
Takes the scratchpad contents, leaving it empty.
crates/module-system/sov-modules-api/src/module/spec.rs:318
↓ 17 callersFunctionwrite_to_file
(path: &Path, data: &T)
crates/adapters/celestia/src/test_helper/files.rs:1149
↓ 16 callersMethodaddress
(&self)
crates/utils/sov-eth-client/src/rpc.rs:59
↓ 16 callersMethodas_ref
(&self)
crates/module-system/hyperlane/src/crypto.rs:148
↓ 16 callersMethodborrow_mut
Returns a mutably borrowed value from the map, preventing access to the map until this reference is dropped.
crates/module-system/sov-modules-api/src/containers/map.rs:258
↓ 16 callersFunctionconvertUint8ArraysToArrays
(obj: T)
typescript/packages/serializers/src/serializer.ts:116
↓ 16 callersFunctioncreate_transfer_tx
( nonce: u64, from: &EvmAccount, to: &EvmAccount, value: u128, )
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:119
↓ 16 callersMethoddelete
Deletes a keyed value from the cache.
crates/module-system/sov-state/src/cache.rs:612
↓ 16 callersMethodgas_enforcer
Returns the [`GasEnforcer`] implementation on [`HasCapabilities::Capabilities`]. This method can be overriden to provide a custom implementation.
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:92
↓ 16 callersMethodgas_info
Get gas info from the `BasicGasMeter`
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:46
↓ 16 callersFunctionget_block_hash
Gets deterministic MockHash for given height and `fork_id`.
crates/full-node/sov-db/src/storage_manager/tests/arbitrary.rs:245
↓ 16 callersFunctioninitialize_logging
Initialize logging for tests and benchmarks. Unlike the production [`sov_modules_rollup_blueprint::logging::initialize_logging`], this leaks the retu
crates/utils/sov-test-utils/src/logging.rs:96
↓ 16 callersMethodlatest_version
(&self)
crates/module-system/sov-state/src/nomt/zk_storage.rs:177
↓ 16 callersMethodrun_and_assert_limits
( &mut self, now: Instant, addr: &<TestSpec as Spec>::Address,
crates/full-node/sov-sequencer/src/preferred/rate_limiter/limiter.rs:674
↓ 16 callersMethodsend_response
(&mut self, resp: oneshot::Sender<T>, v: T, name: &'static str)
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:99
↓ 16 callersMethodsend_tx_to_sequencer
( &self, tx: &Tx, )
crates/full-node/sov-api-spec/src/client.rs:123
↓ 16 callersMethodstart_test_rollup
(self)
crates/utils/sov-test-utils/src/test_rollup.rs:243
↓ 16 callersMethodwith_max_fee
Set the max fee of the transaction.
crates/utils/sov-test-utils/src/interface/inputs.rs:82
↓ 15 callersMethodall
( &self, )
crates/module-system/module-implementations/sov-evm/src/sov_evm/evm.rs:95
↓ 15 callersFunctionassert_simple_log
( log: &Log, expected: &ExpectedLogMeta, sender: Address, topic1: U256, topic2: U256,
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2236
↓ 15 callersFunctionblob_from_data
( namespace: Namespace, data: Vec<u8>, signer: &CelestiaAddress, )
crates/adapters/celestia/src/test_helper/mod.rs:30
↓ 15 callersMethodchain_state
Returns the [`ChainState`] implementation on [`HasKernel::Kernel`].
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:167
↓ 15 callersMethodcharge_linear_gas
( &mut self, amount: S::Gas, parameter: u32, )
crates/module-system/sov-modules-api/src/gas/meters/basic.rs:192
↓ 15 callersFunctioncollect_results
Helper to collect results from JoinHandles
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1736
↓ 15 callersMethodeth_estimate_gas_helper
Runs gas estimation logic for `eth_estimateGas`. This is a library method called by `sov-ethereum`'s RPC handler, which wraps it with paymaster-aware
crates/module-system/module-implementations/sov-evm/src/rpc/estimate_gas.rs:67
↓ 15 callersFunctionexit_rollup
( primary_shutdown: &PrimaryShutdownController, )
crates/full-node/sov-sequencer/src/preferred/mod.rs:1120
↓ 15 callersFunctionget_random_bytes
Get a Vec of `num` bytes, seeded by `num` and a salt value
crates/utils/transaction-generator/src/interface/rng.rs:140
↓ 15 callersMethodheader
(&self)
crates/adapters/celestia/src/types/mod.rs:542
↓ 15 callersMethodproduce_n_blocks_now
Wrapper around [`StorableMockDaService::produce_block_now`] to quickly advance the DA by a number of blocks. This is especially useful at the beginni
crates/adapters/mock-da/src/storable/local_service.rs:369
↓ 15 callersMethodprove
( mut self, prover_service: &Ps, )
crates/full-node/sov-stf-runner/src/processes/zk_manager/types.rs:132
↓ 15 callersFunctionreset_constants
()
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/mod.rs:118
↓ 15 callersMethodsaturating_mul
Saturating multiplication
crates/module-system/sov-modules-api/src/common/amount.rs:92
↓ 15 callersFunctionserialize
Serializes `data` as hex string using lowercase characters and prefixing with '0x'. Lowercase characters are used (e.g. `f9b4ca`). The resulting stri
crates/rollup-interface/src/common/hex_string.rs:206
↓ 15 callersFunctionsetup
( path: &Path, max_channel_size: u64, max_nb_of_infos_in_db: u64, )
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:532
↓ 15 callersFunctionsetup_state_manager
( storage_path: &std::path::Path, da_service: Da, )
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:1224
↓ 15 callersMethodsubmit_batch
( &mut self, batch_data: &[u8], sender: &MockAddress, )
crates/adapters/mock-da/src/storable/layer.rs:304
↓ 15 callersMethodsum
(iter: I)
crates/utils/transaction-generator/src/interface/mod.rs:174
↓ 15 callersFunctiontempdir_inside_codebase_dir
This allows for easily setting file sharing when using Docker Desktop.
crates/full-node/sov-sequencer/tests/integration/utils.rs:452
↓ 15 callersMethodwait_for_height
Wait until sequencer reaches a specific height.
crates/utils/sov-test-utils/src/test_rollup.rs:1123
↓ 14 callersFunctionalloy_client
(socket: SocketAddr)
examples/demo-rollup/tests/evm/evm_test_helper.rs:75
↓ 14 callersMethodapply_div
Divides the provided value by the ratio.
crates/module-system/module-implementations/sov-chain-state/src/gas.rs:34
↓ 14 callersFunctionassert_float_eq
(actual: f64, expected: f64, context: &str)
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:300
↓ 14 callersFunctionbytes_for_shares
(share_count: usize, has_signer: bool)
crates/adapters/celestia/src/da_service/tests.rs:108
↓ 14 callersFunctioncreateUnsignedTx
(nonce = 1)
typescript/packages/multisig/src/index.test.ts:16
↓ 14 callersMethodcreate_storage_with_root
(&self)
crates/utils/sov-test-utils/src/storage.rs:168
↓ 14 callersFunctionencode_amount
(amount: Amount)
crates/module-system/hyperlane/tests/integration/warp/transfer.rs:425
↓ 14 callersFunctionencode_for_submission
(rollup: &[u8], compress: bool, chunk_size: usize)
crates/adapters/celestia/src/envelope.rs:449
↓ 14 callersMethodget_config
Config for sequencer 0.
crates/adapters/celestia/src/test_helper/docker.rs:277
↓ 14 callersMethodget_last_finalized_block_header
Get last finalized block header. When `RewindBelowLastFinalized` randomization is active, each call advances the RNG and may return a different heigh
crates/adapters/mock-da/src/storable/layer.rs:405
↓ 14 callersMethodget_root_hash
(&self, version: SlotNumber)
crates/module-system/sov-state/src/nomt/zk_storage.rs:218
↓ 14 callersFunctionhandle_macro_error_and_expand
( macro_name: &str, result: syn::Result<TokenStream>, )
crates/module-system/sov-modules-macros/src/lib.rs:451
↓ 14 callersMethodinner
(&self)
crates/adapters/avail/src/spec/hash.rs:35
↓ 14 callersMethodinsert
( &mut self, version: u64, op_user: Vec<OperationType>, op_ker
crates/full-node/sov-db/src/flat_db.rs:963
↓ 14 callersMethodinto_state_update_error
Converts a [`SequencerStateUpdatorError`] into an [`anyhow::Error`] that can downcast into the correct "StateUpdateError::Shutdown" error type. This a
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/updator.rs:54
↓ 14 callersFunctionnonce_at_number
(client: &SimpleStorageClient, address: Address, number: u64)
crates/full-node/sov-ethereum/tests/integration/evm/evm_get_transaction_count.rs:30
↓ 14 callersMethodor_else
Get the value if it's present, calling the provided function otherwise.
crates/module-system/sov-state/src/sequencer_state.rs:252
↓ 14 callersMethodpeek
( &self, synthetic_block: &SyntheticBlockWithoutRootsAndBloom, )
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:131
↓ 14 callersMethodread_next
Reads the next [`StateTransitionInfo`] from the Db. This method will block if the channel is empty. This can happen if the producer of the STF info is
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:422
↓ 14 callersMethodresolve
(&self, crate_prefix: &Option<syn::TypePath>)
crates/universal-wallet/macro-helpers/src/schema.rs:42
↓ 14 callersMethodsend
(&self, data: &T)
crates/full-node/sov-ethereum/src/handlers/subscribe/service.rs:378
↓ 14 callersMethodsend_tx
( &self, tx: TransactionRequest, )
crates/utils/sov-eth-client/src/lib.rs:82
↓ 14 callersMethodsubscribe_to_events_with_filter
( &self, filter: &str, )
crates/full-node/sov-api-spec/src/client.rs:253
↓ 14 callersMethodtarget_da_height
The height to which we're syncing.
crates/rollup-interface/src/node/da_sync_state.rs:33
↓ 14 callersFunctiontest_genesis_source
(operating_mode: OperatingMode)
examples/demo-rollup/tests/test_helpers.rs:26
↓ 14 callersFunctiontotal_gas_used_from_receipts
( client: &DynProvider, block_number: u64, )
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:160
↓ 14 callersMethodverify
Verify that a message is valid for the given ISM
crates/module-system/hyperlane/src/ism.rs:90
↓ 14 callersMethodverify_relevant_tx_list
( &self, block_header: &<Self::Spec as DaSpec>::BlockHeader, relevant_blobs: &Relevant
crates/adapters/celestia/src/verifier/mod.rs:79
↓ 14 callersMethodverifying_key
Verification key.
crates/adapters/sp1/src/host.rs:188
↓ 14 callersMethodwith_finality
Sets the desired distance between the last finalized block and the head block.
crates/adapters/mock-da/src/in_memory/service.rs:79
↓ 13 callersMethodalloy_deploy_contract
(&self)
crates/utils/sov-eth-client/src/lib.rs:253
↓ 13 callersMethodas_str
(&self)
crates/module-system/module-implementations/sov-prover-incentives/src/metrics.rs:175
↓ 13 callersFunctionassert_values_maybe_with_proof
Checks that given storage can see all expected values for a given key. The first element in expected_values is supposed to be rollup_height == 0 Last
crates/module-system/module-implementations/integration-tests/tests/concurrent_prover_storages.rs:463
↓ 13 callersMethodblock_number
(&self)
crates/utils/sov-eth-client/src/rpc.rs:140
↓ 13 callersFunctionbuild_key
(prefix: Prefix, key: &[u8])
crates/full-node/sov-db-types/src/lib.rs:403
↓ 13 callersMethodcfg
Get the Evm chain config.
crates/module-system/module-implementations/sov-evm/src/state_access.rs:120
↓ 13 callersMethodclone
(&self)
crates/module-system/sov-state/src/nomt/prover_storage.rs:77
↓ 13 callersMethodcompressed_total_len
Total DA payload length. Must always equal the `sequence_length` recorded in the blob's first share; the verifier enforces this.
crates/adapters/celestia/src/types/mod.rs:261
← previousnext →301–400 of 9,860, ranked by callers