MCPcopy Create free account

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

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

↓ 8 callersMethodheartbeat
Sends a heartbeat to update this node's registration and optionally compete for leadership. This method always updates the node's entry in the `nodes
crates/full-node/sov-sequencer/src/preferred/db/postgres/mod.rs:255
↓ 8 callersFunctioninitialize_or_change_logging_with_filter
Initialize logging with an explicit filter. When guard is deallocated, different subscriber can be used again.
crates/utils/sov-test-utils/src/logging.rs:63
↓ 8 callersMethodinject_fault_if_configured
If a fault is configured for `self`, this method injects it.
crates/full-node/sov-db/src/test_utils.rs:363
↓ 8 callersFunctioninsert_node
Inserts a node into the `nodes` table with a fresh heartbeat.
crates/utils/sov-proxy-utils/tests/common/mod.rs:66
↓ 8 callersMethodis_funded
(self)
crates/full-node/sov-ethereum/tests/integration/evm/evm_simulation_and_send_consistency.rs:117
↓ 8 callersMethodis_registered_sequencer
( &self, da_address: &<S::Da as DaSpec>::Address, state: &mut ApiStateAccessor<S>,
crates/module-system/module-implementations/sov-sequencer-registry/src/lib.rs:419
↓ 8 callersMethodis_witness_enabled
Returns `true` if witness generation is enabled.
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:47
↓ 8 callersMethodlen
Returns the length (*not* capacity or max_length) of the string in bytes
crates/universal-wallet/schema/src/schema/safe_string.rs:56
↓ 8 callersMethodmake_proof
Simulates zk proof generation.
crates/adapters/mock-zkvm/src/host.rs:75
↓ 8 callersFunctionmake_transition_info
( da_block_header: MockBlockHeader, )
crates/full-node/sov-stf-runner/tests/integration/prover_service/mod.rs:43
↓ 8 callersMethodmap_err_to_js
(self)
typescript/packages/universal-wallet-wasm/src/lib.rs:12
↓ 8 callersMethodmaterialize_from_block
Build [`Self::ChangeSet`] that contains data related to given [`MockBlockHeader`]. Data is the following: block_height => block_hash.
crates/full-node/sov-db/src/storage_manager/tests/generic_tests.rs:28
↓ 8 callersFunctionnewMetaMaskSnapSigner
({ curve, schema, snapId = "npm:@sovereign-sdk/metamask-snap", ...rest }: MetaMaskSnapSignerOpt)
typescript/packages/signers/src/snap.ts:33
↓ 8 callersFunctionnext_slot_events
(client: &Client, subscription: &mut S)
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:822
↓ 8 callersMethodpack
Packs `Self` into a 40-character hex string (20 bytes total). Layout (big-endian): [block_height:8][tx_index_absolute:8][log_index_in_tx:4]
crates/full-node/sov-ethereum/src/handlers/get_logs/cursor.rs:20
↓ 8 callersFunctionpreconfigured_router_layers
Customizes the given [`Router`] with a set of preconfigured "layers" that are a good starting point for building production-ready JSON APIs.
crates/utils/sov-rest-utils/src/lib.rs:127
↓ 8 callersFunctionpreferred_sequencer_is_resistant_to_miscellaneous_edge_cases
(actions: Vec<TestingAction>)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:3882
↓ 8 callersMethodproduce_and_wait_for_n_slots
(&mut self, n: u64)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:191
↓ 8 callersMethodproduce_block
(&mut self)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:143
↓ 8 callersFunctionpushIfMismatched
(label: string, actual: string[], expected: string[])
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:1250
↓ 8 callersFunctionquery_set_value
( test_rollup: &TestRollup<TestBlueprint>, rollup_height: Option<u64>, expected: Option<u64>, )
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:4117
↓ 8 callersFunctionrandom_validator
()
crates/module-system/hyperlane/tests/integration/runtime.rs:170
↓ 8 callersFunctionregister_set_value_proposal
(runner: &mut TestRunner<RT, S>, user: &TestUser<S>, value: u32)
crates/module-system/module-implementations/sov-timelock/tests/integration/timelock.rs:112
↓ 8 callersFunctionresolve_to_continuation
Resolves a block to a valid continuation, handling reorgs by fetching suggested blocks. Returns (pre_state, pre_state_root, ledger_pre_state, final_bl
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:1459
↓ 8 callersMethodrewind_to_height
Passed `height` becomes new head height. All previously submitted blobs above passed height are removed Newly submitted blobs will be included in `hei
crates/adapters/mock-da/src/storable/layer.rs:527
↓ 8 callersMethodroot
Get the root of the tree.
crates/module-system/hyperlane/src/merkle/tree.rs:212
↓ 8 callersFunctionrun_maybe_retryable_async_fn_with_retries
Retry the given async function with the given backoff policy.
crates/rollup-interface/src/node/da.rs:258
↓ 8 callersFunctionsealed_head_number_and_hash
(client: &SimpleStorageClient)
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_pinned_state_reads.rs:131
↓ 8 callersMethodserializer
* The serializer for the rollup. * Can be used to serialize transactions, runtime calls, etc.
typescript/packages/web3/src/rollup/rollup.ts:367
↓ 8 callersMethodset
Setter for the smart contract.
crates/utils/sov-evm-test-utils/src/simple_storage.rs:38
↓ 8 callersMethodset_default_policy
(mut self, policy: PayeePolicy<S>)
crates/module-system/module-implementations/sov-paymaster/src/call.rs:162
↓ 8 callersFunctionset_max_fee_check_height
Sets the block height after which max fee check becomes active.
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:25
↓ 8 callersFunctionset_value_check
Calls `set_value` on the test contract and asserts state transitions.
crates/full-node/sov-ethereum/tests/integration/common/contract.rs:47
↓ 8 callersFunctionsetup_basic_kernel
Sets up a test runtime and returns a [`TestData`] struct.
crates/module-system/module-implementations/sov-blob-storage/tests/integration/helpers_basic_kernel.rs:20
↓ 8 callersFunctionsetup_rollup_and_client
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_block_pinned_state_reads.rs:119
↓ 8 callersFunctionstandardCompare
( anvil: EndpointObservation, rollup: EndpointObservation, validate: (left: T, right: T) => string[] | C
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:236
↓ 8 callersMethodstop
(self)
crates/full-node/sov-stf-runner/tests/integration/helpers/runner_init.rs:112
↓ 8 callersFunctionsubmit_forced_tx
( da_service: &impl DaService, tx: ForcedTx<'_>, description: &str, )
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:156
↓ 8 callersMethodsubscribe_state_updates
Subscribe to state update completion notifications.
crates/utils/sov-test-utils/src/test_rollup.rs:859
↓ 8 callersMethodtake_writes
This method is used to take all the changeset from the cache. The `revertable_log` shoule be either merged or discarded before calling this method.
crates/module-system/sov-state/src/cache.rs:131
↓ 8 callersFunctiontest_addr
(byte: u8)
crates/full-node/sov-sequencer/src/preferred/rate_limiter/mod.rs:473
↓ 8 callersFunctiontest_stream_of_transactions
Test sends a stream of transactions to the sequencer and waits for them to become processed state.
crates/full-node/sov-sequencer/tests/integration/preferred_with_reorgs.rs:227
↓ 8 callersMethodto_pre_exec_working_set
Converts this [`TxScratchpad`] into a [`PreExecWorkingSet`].
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/tx_scratchpad.rs:106
↓ 8 callersMethodto_working_set_unmetered
Produces an unmetered [`WorkingSet`] from this [`StateProvider`]. This is useful for tests that don't need to track gas consumption.
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/working_set.rs:31
↓ 8 callersMethodtransaction_authorizer
Returns the [`TransactionAuthorizer`] implementation on [`HasCapabilities::Capabilities`]. This method can be overriden to provide a custom implement
crates/module-system/sov-modules-api/src/runtime/capabilities/mod.rs:106
↓ 8 callersFunctiontx_set_value_and_sleep
( key: &Ed25519PrivateKey, generation: u64, value_to_set: u64, sleep_millis: u64, )
crates/full-node/sov-sequencer/tests/integration/rate_limits.rs:419
↓ 8 callersFunctionunlock_dbs
(temp_dir: &TempDir)
crates/full-node/sov-db/src/flat_db.rs:1077
↓ 8 callersFunctionvalidate_simulation_max_fee_against_base_fee
( request: &TransactionRequest, block_env: &BlockEnv, enforce_max_fee_check: bool, )
crates/module-system/module-implementations/sov-evm/src/rpc/simulation.rs:53
↓ 8 callersFunctionverify_replica_processes_tx
( leader: &TestRollup<Rollup>, replica: &TestRollup<Rollup>, key: &<<S as Spec>::CryptoSpec as Cry
examples/demo-rollup/tests/replica/mod.rs:340
↓ 8 callersMethodvisit_primitive
( &mut self, p: crate::schema::Primitive, _schema: &impl TypeResolver<LinkingScheme =
crates/universal-wallet/schema/src/visitors/eip712.rs:485
↓ 8 callersMethodwait
(&mut self)
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:350
↓ 8 callersFunctionwait_for_all_events_with_timeout
( timeout: Duration, nb_of_events: u64, subscription: &mut BoxStream<'static, anyhow::Result<types
examples/demo-rollup/tests/replica/mod.rs:200
↓ 8 callersMethodwith_rollup_height
Adds a rollup height to the path.
crates/utils/sov-test-utils/src/runtime/mod.rs:261
↓ 8 callersFunctionwrite_escaped_field_value
Writes an InfluxDB line-protocol string-field *value* into `buffer`, escaping `\` and `"` in a single pass. Does not emit the surrounding quotes; call
crates/full-node/sov-metrics/src/influxdb/mod.rs:179
↓ 8 callersMethodwrite_handle
(&self)
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:142
↓ 7 callersFunctiona
(typ: any)
typescript/examples/soak-testing/src/types.ts:522
↓ 7 callersMethodadd
(address: Da::Address)
crates/module-system/module-implementations/sov-paymaster/src/call.rs:216
↓ 7 callersMethodadd_batch
Add a `batch` (of transactions) to the commit
crates/full-node/sov-db/src/ledger_db/mod.rs:87
↓ 7 callersMethodadditional_accounts_mut
(&mut self)
crates/utils/sov-test-utils/src/runtime/genesis/zk/config.rs:37
↓ 7 callersMethodapi_state_accessor
(&self)
crates/full-node/sov-ethereum/src/lib.rs:178
↓ 7 callersMethodas_credential_id
(&self)
crates/module-system/sov-address/src/evm/address.rs:40
↓ 7 callersMethodas_iters
Iterates over the blobs in this block.
crates/rollup-interface/src/state_machine/da.rs:407
↓ 7 callersFunctionassert_replica_disallowed
( err: DbError, expected_node_id: &str, expected_operation: &FailedOperation, )
crates/full-node/sov-sequencer/src/preferred/db/postgres/tests/db_operations.rs:206
↓ 7 callersFunctionassert_slot_finality
( client: &NodeClient, rollup_height: u64, expected_finality: FinalityStatus, )
examples/demo-rollup/tests/bank/helpers.rs:180
↓ 7 callersFunctionbase_request
(from: Address)
examples/demo-rollup/tests/evm/evm_paymaster_balance_check.rs:83
↓ 7 callersFunctionbase_request
(from: Address)
crates/full-node/sov-ethereum/tests/integration/evm/evm_paymaster_balance_check.rs:81
↓ 7 callersMethodblock_number
(&self, state: &mut ApiStateAccessor<S>)
crates/module-system/module-implementations/sov-evm/src/rpc/handlers.rs:476
↓ 7 callersFunctioncall_all_endpoints
Calls all 4 simulation/submission endpoints with the same request. Returns individual results without any consistency assertions.
crates/full-node/sov-ethereum/tests/integration/common/tx.rs:91
↓ 7 callersMethodchainHash
()
typescript/packages/web3/src/rollup/rollup.ts:380
↓ 7 callersFunctioncharge_gas_for_hashing
( bytes_to_hash: usize, gas_meter: &mut impl GasMeter<Spec = S>, )
crates/module-system/hyperlane/src/crypto.rs:269
↓ 7 callersFunctionclassify_and_decode
Classify and decode a blob's authenticated DA bytes. Pure and deterministic: depends only on `buf`. This is the single source of truth that both nati
crates/adapters/celestia/src/envelope.rs:356
↓ 7 callersMethodclone_with_empty_witness_dropping_temp_cache
(&self)
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:95
↓ 7 callersMethodcodec
Returns the codec used for this value
crates/module-system/sov-modules-api/src/containers/value.rs:78
↓ 7 callersFunctionconfig_deferred_slots_count
For how many slots deferred blobs are stored before being executed
crates/module-system/module-implementations/sov-blob-storage/src/lib.rs:27
↓ 7 callersMethodcontains
Returns true if the given height falls within this override's primary range. The range is `[start_height, end_height)` - start is inclusive, end is e
crates/module-system/sov-modules-api/src/runtime/mod.rs:293
↓ 7 callersFunctioncreate_deps
()
crates/full-node/sov-blob-sender/tests/blob_sender.rs:519
↓ 7 callersFunctioncreate_multisig_transfer_tx_json
( amount: Amount, recipient: &str, multisig_id: <S as Spec>::Address, )
crates/module-system/sov-solana-offchain-auth/tests/integration/main.rs:442
↓ 7 callersFunctioncreate_slot_with_keys
(slot_num: u64, keys: &[&str], ledger_db: &LedgerDb)
crates/full-node/sov-db/tests/integration/ledger_db.rs:372
↓ 7 callersFunctioncreate_value
(v: u8)
crates/module-system/sov-state/src/cache.rs:702
↓ 7 callersFunctioncreate_working_set
( remaining_funds: Amount, gas_price: &<<S as Spec>::Gas as Gas>::Price, )
crates/module-system/sov-modules-api/src/gas/tests/metered_utils.rs:29
↓ 7 callersMethodexport_signer_key
By default, celestia validator will pre-fund 7 keys. Index starts from 0.
crates/adapters/celestia/src/test_helper/docker.rs:230
↓ 7 callersMethodfinalize
(&self)
crates/universal-wallet/schema/src/schema/mod.rs:599
↓ 7 callersFunctionflatten_timeout
( response: Result<Result<T, celestia_client::Error>, tokio::time::error::Elapsed>, )
crates/adapters/celestia/src/da_service/mod.rs:760
↓ 7 callersMethodfromTransactions
* Creates a MultisigTransaction from an array of already-signed transactions. * Extracts signatures and validates that all transactions are identic
typescript/packages/multisig/src/index.ts:123
↓ 7 callersFunctionfrom_toml_path
Reads toml file as a specific type.
crates/full-node/full-node-configs/src/runner.rs:198
↓ 7 callersFunctionfuture_or_shutdown
A [`Future`] that can be "interrupted" by a shutdown signal.
crates/utils/sov-shutdown/src/lib.rs:24
↓ 7 callersMethodgas_used
Returns the total gas used of the transition.
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:107
↓ 7 callersMethodgenerate_call_message
( &self, modules: &Distribution<Arc<dyn HarnessModule<S, RT, Tag, ChangelogEntry, BonusAcctDat
crates/utils/transaction-generator/src/generators/factory.rs:79
↓ 7 callersFunctionget_balance
( reward_address: TestAddress, runner: &TestRunner<IntegTestRuntime<S>, S>, )
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/operator/registered.rs:145
↓ 7 callersMethodget_blobs_with_sender
(&self)
crates/adapters/celestia/src/types/mod.rs:466
↓ 7 callersMethodget_block_at
(&self, height: u64)
crates/adapters/celestia/src/da_service/mod.rs:561
↓ 7 callersMethodget_current
Any version-aware working set can read the current contents of a versioned value. # Error This method can fail if the gas meter doesn't have enough f
crates/module-system/sov-modules-api/src/containers/versioned_value.rs:70
↓ 7 callersMethodget_fields_from_struct
Extracts named fields form a struct or emits an error.
crates/module-system/sov-modules-macros/src/common.rs:49
↓ 7 callersMethodget_historical_transition_dangerous
Returns the complete StateTransition for the provided slot number, including the post state root. Note that this function is marked "dangerous" becaus
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:532
↓ 7 callersMethodget_latest_root_hash
Get the root hash at the latest version.
crates/module-system/sov-state/src/storage.rs:417
↓ 7 callersMethodget_maybe_sealed_block
Retrieves a sealed block generated from an existing or pending block.
crates/module-system/module-implementations/sov-evm/src/rpc/block_resolution.rs:313
↓ 7 callersMethodget_receipt
(tx_hash: B256, ethereum: Arc<Ethereum<S, Seq>>)
crates/full-node/sov-ethereum/src/handlers/mod.rs:136
↓ 7 callersMethodget_user_value_option_by_key_historical
Get a value from the historical state, given a version and a key hash.
crates/full-node/sov-db/src/historical_state.rs:204
↓ 7 callersMethodget_with_proof
( &self, key: &Kq, state: &mut W, )
crates/module-system/sov-modules-api/src/containers/map.rs:470
↓ 7 callersFunctionhas_magic_prefix
Returns true iff `buf` begins with the 16-byte envelope magic.
crates/adapters/celestia/src/envelope.rs:190
← previousnext →701–800 of 9,860, ranked by callers