MCPcopy Create free account

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

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

↓ 3 callersFunctionsend_txs_and_pause
( range: Range<u32>, contract_address: Address, evm_client: &SimpleStorageClient, test_rollup:
crates/full-node/sov-ethereum/tests/integration/evm/evm_subscribe.rs:355
↓ 3 callersMethodseq_nr
(&self)
crates/full-node/sov-sequencer/src/preferred/replica/replica_sync_task.rs:230
↓ 3 callersMethodsequence_number
(&self)
crates/full-node/sov-sequencer/src/preferred/replica/db_data.rs:133
↓ 3 callersMethodsequencer_is_preferred
Returns whether the sequencer of the current batch is the preferred sequencer.
crates/module-system/sov-modules-api/src/module/spec.rs:239
↓ 3 callersMethodsequencer_remuneration
Returns the [`SequencerRemuneration`] 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:120
↓ 3 callersMethodserialize
(&self)
crates/module-system/hyperlane/tests/integration/igp/mod.rs:44
↓ 3 callersMethodserialize_for_telegraf
(&self, buffer: &mut Vec<u8>)
crates/full-node/sov-metrics/src/influxdb/rpc_aggregator.rs:156
↓ 3 callersFunctionserialize_proof_with_commitment
( agg_proof: T, commitment: sov_mock_zkvm::MockCodeCommitment, )
crates/module-system/module-implementations/sov-prover-incentives/tests/integration/helpers.rs:134
↓ 3 callersFunctionserver_url_from_runner_config
(runner_config: &RunnerConfig)
crates/module-system/sov-modules-rollup-blueprint/src/native_only/endpoints.rs:259
↓ 3 callersMethodsetAndCheckHealth
(e: unknown)
typescript/apps/indexer/src/indexer.ts:133
↓ 3 callersMethodset_crash_env
Sets the crash env var to `self`.
crates/full-node/sov-db/src/test_utils.rs:297
↓ 3 callersMethodset_enabled
Enables or disables the proxy for endpoint `index`. Disabling force-closes live connections and refuses new ones, exactly like the node going away.
crates/utils/sov-test-utils/src/sov_toxi_proxi_image.rs:463
↓ 3 callersMethodset_gas_price
Sets the gas price for the accessor.
crates/module-system/sov-modules-api/src/state/accessors/http_api.rs:944
↓ 3 callersFunctionset_hardfork_schedule
( evm_genesis: &mut Value, config: Option<&ChainConfig>, chain_timestamps: &[(u64, u64)], )
examples/demo-rollup/src/hive/schedule.rs:93
↓ 3 callersMethodset_planned_fork
Set planned fork, that will be executed at the specified height.
crates/adapters/mock-da/src/in_memory/service.rs:143
↓ 3 callersMethodset_raw
Inserts a key-value pair into the map where the value is already serialized bytes.
crates/module-system/sov-modules-api/src/containers/map.rs:384
↓ 3 callersFunctionsetup
Sets up a test rollup and client, waiting for initial blocks and pausing batches
crates/full-node/sov-ethereum/tests/integration/evm/evm_max_fee_validation.rs:24
↓ 3 callersFunctionsetup
()
crates/module-system/module-implementations/integration-tests/tests/archival_queries/soft_confirmations.rs:26
↓ 3 callersFunctionsetup
()
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/operator/auth_eip712.rs:119
↓ 3 callersFunctionsetup
()
crates/module-system/module-implementations/sov-chain-state/tests/integration-tests/main.rs:16
↓ 3 callersMethodsetup_db_in_path_with_column_descriptors_with_options
Setup [`rockbound::DB`] with caller-provided DB options and explicit column family descriptors.
crates/full-node/sov-db/src/lib.rs:127
↓ 3 callersMethodsetup_db_with_options_and_cfs
Setup [`rockbound::DB`] at an explicit path with caller-provided DB options and per-column-family customization.
crates/full-node/sov-db/src/lib.rs:78
↓ 3 callersFunctionsetup_invariant_tests
Sets up the invariant tests by executing empty slots and attesting up to `FINALITY_PERIOD + 1`. The maximum attested height is equal to the `FINALITY_
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/invariant.rs:20
↓ 3 callersFunctionsetup_two_contracts
()
crates/full-node/sov-ethereum/tests/integration/evm/evm_logs.rs:2727
↓ 3 callersFunctionsetup_with_block_producing
( block_producing: BlockProducingConfig, )
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:346
↓ 3 callersFunctionsetup_with_pending_tx
Sets up a test with pending transactions by deploying a contract and submitting a transaction that stays in the pending state.
crates/full-node/sov-ethereum/tests/integration/evm/evm_fee_history.rs:285
↓ 3 callersMethodshould_reward_fees
Returns a bool indicating if the [`AttesterIncentives`] module should be paid fees.
crates/module-system/module-implementations/sov-attester-incentives/src/lib.rs:180
↓ 3 callersFunctionshut_down
()
crates/full-node/sov-sequencer/src/preferred/rpc_errors.rs:44
↓ 3 callersMethodshutdown_before_run
Shuts down any background work spawned during initialization before the runner enters its main loop.
crates/full-node/sov-stf-runner/src/runner.rs:342
↓ 3 callersMethodshutdown_on_error
(&self)
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:45
↓ 3 callersFunctionsign_utx_in_place
( utx: &UnsignedTransaction<RT, S>, private_key: &<S::CryptoSpec as CryptoSpec>::PrivateKey, )
crates/module-system/module-implementations/integration-tests/tests/stf_blueprint/operator/auth_eip712.rs:145
↓ 3 callersMethodsign_without_adding
(&self, key: &C::PrivateKey, chain_hash: &[u8; 32])
crates/module-system/sov-modules-api/src/transaction/types/v1.rs:92
↓ 3 callersMethodsignature
(&self)
crates/module-system/sov-modules-macros/src/rpc/rpc_gen.rs:42
↓ 3 callersMethodslash_attester
A helper function that simply slashes an attester and returns a reward value
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:76
↓ 3 callersMethodslash_challenger
( &self, sender: &S::Address, state: &mut impl TxState<S>, )
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:261
↓ 3 callersFunctionstandardTypeBuilder
()
typescript/packages/web3/src/rollup/standard-rollup.ts:47
↓ 3 callersFunctionstart_discovery
Spawns a [`NodeDiscovery`] task connected directly to Postgres with the given notifier.
crates/utils/sov-proxy-utils/tests/common/mod.rs:99
↓ 3 callersFunctionstart_warm_rollup
Starts a rollup and warms it up so the sequencer is synced and ready to accept transactions. No prover is needed (these tests assert nothing about pro
examples/demo-rollup/tests/rest_api/mod.rs:73
↓ 3 callersFunctionstate_value_paths_with_response
The OpenAPI paths specification for [`StateValue`](crate::containers::StateValue) with optional custom response type.
crates/module-system/sov-modules-api/src/rest/__private/openapi.rs:352
↓ 3 callersMethodstats
(&self)
crates/utils/sov-proxy-utils/src/node_checker.rs:132
↓ 3 callersMethodstorage
Get the value from a storage slot.
crates/module-system/module-implementations/sov-evm/src/state_access.rs:100
↓ 3 callersMethodstorage_path
A reference to the storage directory the rollup will run in
crates/utils/sov-test-utils/src/test_rollup.rs:239
↓ 3 callersMethodsubmitMultisigTransaction
* Submits a multisig transaction using the Solana offchain simple multisig format. * * Accepts the V1 transaction produced by `MultisigTransacti
typescript/packages/web3/src/rollup/solana-signable-rollup.ts:719
↓ 3 callersMethodsubscribe_finalized_slots_with_children
( &self, include_children: IncludeChildren, )
crates/full-node/sov-api-spec/src/client.rs:103
↓ 3 callersMethodsubscribe_proof_saved
(&self)
crates/full-node/sov-db/src/ledger_db/rpc.rs:1026
↓ 3 callersMethodsubscribe_state_update
Returns a receiver for full [`StateUpdateInfo`] updates.
crates/full-node/sov-rollup-full-node-interface/src/lib.rs:66
↓ 3 callersMethodsubscribe_to_blobs_from_blob_sender
( State(state): State<Self>, ws: WebSocketUpgrade, )
crates/full-node/sov-sequencer/src/rest_api.rs:616
↓ 3 callersMethodsubscribe_to_events
(&mut self, sender: mpsc::Sender<DbEvent>)
crates/full-node/sov-sequencer/src/preferred/db/mod.rs:497
↓ 3 callersMethodsubscribe_to_ws_with_socket_options
Subscribe to a WebSocket endpoint with custom WebSocket and TCP socket options. The `recv_buffer_size` parameter sets the TCP socket's `SO_RCVBUF` op
crates/full-node/sov-api-spec/src/client.rs:284
↓ 3 callersMethodsubscribe_txs
Subscribe to transactions with tx number tracking for lag notifications.
crates/full-node/sov-sequencer/src/preferred/transaction_subscriptions.rs:277
↓ 3 callersMethodsync_hd_timestamp_env_var_for_tests
(&self)
crates/utils/sov-test-utils/src/runtime/mod.rs:273
↓ 3 callersMethodsynchronize_chain
Update the chain state at the beginning of the slot. Compute the next gas price ## IMPORTANT This method assumes that it is called *before* "increment
crates/module-system/module-implementations/sov-chain-state/src/capabilities.rs:244
↓ 3 callersMethodsynchronize_storage_channel
Sends the current storage over the [`Self::checkpoint_sender`].
crates/utils/sov-test-utils/src/runtime/mod.rs:468
↓ 3 callersFunctiontest_block_serialization
(block: FilteredCelestiaBlock)
crates/adapters/celestia/src/test_helper/serialization.rs:10
↓ 3 callersFunctiontest_invalid_challenge_helper
( runner: &mut TestRunner<RT, S>, expected_reward: u128, bonded_challenger: &BondedTestChallenger<
crates/module-system/module-implementations/sov-attester-incentives/tests/integration/challenger.rs:199
↓ 3 callersFunctiontest_node
(node_id: &str, port: u16)
crates/utils/sov-proxy-utils/src/node_checker.rs:552
↓ 3 callersFunctiontest_progressing_with_shuffle
Test simulates usage of StateManager by StfRunner DaLayer is set up with finality, some empty blocks are padded, and some batches are submitted. Then
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:513
↓ 3 callersFunctiontest_signed_transaction
Creates signed transaction.
crates/utils/sov-test-utils/src/lib.rs:271
↓ 3 callersFunctiontest_synthetic_route
( token: TokenKind, amount_sent_inbound: Amount, amount_received_inbound: Amount, amount_sent_
crates/module-system/hyperlane/tests/integration/warp/transfer.rs:885
↓ 3 callersFunctiontest_timestamp
()
crates/utils/sov-proxy-utils/src/node_discovery.rs:599
↓ 3 callersFunctiontest_warp_transfer_back_and_forth_with_evm_counterparty
( local_decimals: u8, inbound_sent_amount: Amount, inbound_received_amount: Amount, outbound_s
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:431
↓ 3 callersFunctiontest_with_modules
( modules: Distribution<ModulesToUse>, validity: Distribution<MessageValidity>, transaction_exec_c
crates/utils/transaction-generator/tests/message_generators/basic/mod.rs:21
↓ 3 callersMethodtime
(&self)
crates/adapters/mock-da/src/types/mod.rs:135
↓ 3 callersFunctiontoErrorConventionCase
(call: { ok: boolean; error?: RpcErrorShape })
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:398
↓ 3 callersFunctiontoRpcError
(error: unknown, fallbackMessage: string)
typescript/apps/evm-rpc-diff-harness/src/harness/rpc.ts:50
↓ 3 callersMethodto_batch_response
Converts [`StoredBatch`] to [`BatchResponse`]
crates/full-node/sov-db/src/schema/types.rs:120
↓ 3 callersMethodto_raw_state_changes
Convert the state checkpoint to a [`RawStateChanges`] instance.
crates/module-system/sov-modules-api/src/state/accessors/checkpoints.rs:39
↓ 3 callersMethodto_revertable
Converts this state accessor into a [`RevertableTxState`]. You *MUST* call .commit() to save the changes from the resulting accessor if you want them
crates/module-system/sov-modules-api/src/state/traits.rs:107
↓ 3 callersMethodto_u32_array
Converts this hash back to a `[u32; 8]` array using big-endian byte order, returning [`CodeCommitmentDecodeError::InvalidLength`] if the byte count is
crates/rollup-interface/src/state_machine/zk/aggregated_proof/mod.rs:115
↓ 3 callersMethodtokenMetadata
* Gets the metadata of a specific token. * * If no token ID is provided, returns the metadata of the gas token. * * @param tokenId - Optio
typescript/packages/modules/src/bank.ts:142
↓ 3 callersMethodtotal_len
Contains the total length of the data (length already read + length remaining)
crates/rollup-interface/src/state_machine/da.rs:151
↓ 3 callersFunctiontrack_admin_upgrade_failure
( slot: SlotNumber, execution_context: ExecutionContext, reason: AdminUpgradeMetricReason, )
crates/module-system/module-implementations/sov-prover-incentives/src/metrics.rs:40
↓ 3 callersFunctiontransact
Execute ethereum transaction.
crates/module-system/module-implementations/sov-evm/src/evm/executor.rs:102
↓ 3 callersMethodtransfer_tokens_to_sender
( &mut self, sender: &S::Address, amount: Amount, state: &mut impl StateAccess
crates/module-system/module-implementations/sov-attester-incentives/src/helpers.rs:114
↓ 3 callersMethodtrigger_compaction
(&self)
crates/full-node/sov-sequencer/src/preferred/db/rocksdb.rs:226
↓ 3 callersMethodtrue_slot_number
Returns the current "true" rollup height. ## Note (soft-confirmations) This value may be different from the value that would be returned by the [`Api
crates/utils/sov-test-utils/src/runtime/mod.rs:304
↓ 3 callersMethodtry_commit
(&mut self, changes: HashMap<Address, Account>)
crates/module-system/module-implementations/sov-evm/src/db/commit.rs:19
↓ 3 callersMethodtry_insert_background_header
Inserts a header from the background poller, but only if the height gap between this header and the lowest cached entry doesn't exceed the cache size.
crates/full-node/sov-stf-runner/src/da/finalized_headers_cache.rs:219
↓ 3 callersMethodtry_reserve_gas
( &mut self, slot_gas: &S::Gas, sequencer_rollup_address: &S::Address, gas_pri
crates/module-system/sov-modules-stf-blueprint/src/proof_processing.rs:370
↓ 3 callersMethodtx_index
Lookup the index of a Ethereum transaction based on the supplied hash.
crates/module-system/module-implementations/sov-evm/src/state_access.rs:203
↓ 3 callersFunctiontx_send_message
( relayer: &TestUser<TestSpec>, recipient_address: HexHash, domain: Option<u32>, message_body:
crates/module-system/hyperlane/tests/integration/with_agent/mod.rs:780
↓ 3 callersMethodtx_status_manager
(&self)
crates/full-node/sov-sequencer/src/standard/mod.rs:668
↓ 3 callersMethodunwrap_changes
Takes the changes from the message outcome. If the expected outcome is reverted, returns an empty array
crates/utils/transaction-generator/src/interface/mod.rs:79
↓ 3 callersMethodupdate_api_ledger_from_info
(&self, info: &StateUpdateInfo<S::Storage>)
crates/full-node/sov-sequencer/src/preferred/executor_events.rs:194
↓ 3 callersMethodupdate_gas_used
Updates the gas used by the block execution.
crates/module-system/sov-modules-api/src/runtime/capabilities/gas.rs:157
↓ 3 callersMethodupdate_max
(&mut self, node_id: String, height: u64)
crates/utils/sov-proxy-utils/src/node_checker.rs:109
↓ 3 callersMethodupdate_min
(&mut self, node_id: String, height: u64)
crates/utils/sov-proxy-utils/src/node_checker.rs:115
↓ 3 callersMethoduser_nonce
If this is Some(), this nonce can be used in place of the state nonce. I.e. a transaction with this nonce can be executed immediately, a transaction w
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:118
↓ 3 callersFunctionuser_roots_match
(old_root: &S, new_root: &S)
crates/full-node/sov-sequencer/src/preferred/state_root_compute.rs:42
↓ 3 callersFunctionvalidate_batch_seq_nr_from_node
( seq_nr_of_in_progress_batch: u64, next_batch_sequence_number_according_to_node: u64, seq_role: S
crates/full-node/sov-sequencer/src/preferred/update_state.rs:323
↓ 3 callersFunctionvalidate_block_chain_integrity
Validate that a returned block hasn't been seen and its parent is known. Panics with descriptive message if validation fails.
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:1487
↓ 3 callersFunctionvalidate_db_data_from_replica
( has_finished_startup: bool, is_ready: &Result<(), SequencerNotReadyDetails>, ret: DbData, se
crates/full-node/sov-sequencer/src/preferred/sync_sequencer_state/sync_state.rs:1484
↓ 3 callersMethodvalidate_sender
( &self, da_address: &<S::Da as DaSpec>::Address, sender: &S::Address, state:
crates/module-system/module-implementations/sov-sequencer-registry/src/call.rs:273
↓ 3 callersFunctionverify
( proof: &SerializedZkProof, code_commitment: SP1MethodId, )
examples/demo-rollup/tests/prover/sp1_cpu_prover.rs:138
↓ 3 callersFunctionverify_chain_id
Verifies that the transaction has the correct chain ID.
crates/module-system/sov-modules-api/src/runtime/capabilities/authentication.rs:351
↓ 3 callersMethodverify_relevant_tx_list
Verify that the given list of blob transactions is complete and correct. NOTE: Function return unit since application client already verifies applicat
crates/adapters/avail/src/verifier.rs:19
↓ 3 callersFunctionvisible_slot
Returns the current visible rollup height in the runner.
crates/module-system/module-implementations/sov-blob-storage/tests/integration/main.rs:33
↓ 3 callersFunctionwait_for_bank_balance
( client: &NodeClient, expected_amount: u128, token_id: sov_bank::TokenId, user_address: <Test
examples/demo-rollup/tests/forced_sequencer_registration/mod.rs:227
↓ 3 callersMethodwait_for_cluster_change_with_timeout
(&mut self, timeout: Duration)
examples/demo-rollup/tests/replica/mod.rs:298
↓ 3 callersFunctionwait_for_messages_processed
Waits for the relayer to process messages from origin to remote (destination). This polls the `hyperlane_messages_processed_count` metric until it re
crates/module-system/hyperlane/tests/integration/with_agent/helpers/wait.rs:68
← previousnext →1,801–1,900 of 9,860, ranked by callers