MCPcopy Create free account

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

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

↓ 9 callersMethodbyte_code
SimpleStorage bytecode.
crates/utils/sov-evm-test-utils/src/simple_storage.rs:33
↓ 9 callersMethodclear
(&mut self)
crates/rollup-interface/src/common/safe_vec.rs:233
↓ 9 callersMethodclear
Removes all values from this vector.
crates/module-system/sov-modules-api/src/containers/vec.rs:245
↓ 9 callersMethodclone
(&self)
crates/full-node/sov-sequencer/src/preferred/cache_warm_up_executor.rs:59
↓ 9 callersFunctioncommit_to_storage
( state: StateCheckpoint<S>, storage: S::Storage, kernel: &mut MockKernel<S>, storage_manager:
crates/module-system/sov-modules-api/tests/integration/state_tests/mod.rs:22
↓ 9 callersFunctionconfig_chain_id
The chain ID of the rollup.
crates/module-system/sov-modules-api/src/runtime/capabilities/authentication.rs:28
↓ 9 callersFunctionconvert_decimals
Converts an amount from one decimal representation to another.
crates/module-system/hyperlane/src/warp/types.rs:125
↓ 9 callersFunctioncreate_deploy_tx
( nonce: u64, contract: &LegacySimpleStorage, account: &EvmAccount, )
crates/module-system/module-implementations/sov-evm/tests/integration/helpers.rs:160
↓ 9 callersFunctioncreate_signature
( domain: u32, mailbox_addr: &[u8; 32], kind: HashKind, location: &StorageLocation, sk: &S
crates/module-system/hyperlane/tests/integration/validator_announce.rs:265
↓ 9 callersFunctiondo_inbound_transfer_failure
( runner: &mut TestRunner<RT, S>, admin: &TestUser<S>, from_domain: u32, from_router_address:
crates/module-system/hyperlane/tests/integration/warp/transfer.rs:111
↓ 9 callersFunctiondrain
Receives all queued events and applies them, returning the resulting points — the synchronous equivalent of one flush window.
crates/full-node/sov-metrics/src/influxdb/rpc_aggregator.rs:642
↓ 9 callersFunctionget_height
Get rollup height
crates/utils/sov-test-utils/src/test_rollup.rs:1253
↓ 9 callersMethodget_next_items_numbers
Get the next slot, block, transaction, and event numbers.
crates/full-node/sov-db/src/ledger_db/mod.rs:327
↓ 9 callersFunctionget_next_sequence_number_according_to_node
( latest_state_info: &StateUpdateInfo<S::Storage>, runtime: &mut Rt, )
crates/full-node/sov-sequencer/src/preferred/mod.rs:1032
↓ 9 callersFunctionget_payload
()
crates/adapters/celestia/src/test_helper/files.rs:134
↓ 9 callersMethodget_random_existing_account_with_tag
( &self, tag: Self::Tag, u: &mut arbitrary::Unstructured<'_>, )
crates/utils/transaction-generator/src/interface/mod.rs:346
↓ 9 callersFunctionhandle_response
(response: reqwest::Response)
crates/adapters/mock-da/src/storable/rpc/client.rs:52
↓ 9 callersMethodhash
Hash this header TODO: this function can be made even more efficient. Rather than computing the block hash, we could provide the hash as a non-determi
crates/adapters/celestia/src/celestia.rs:115
↓ 9 callersFunctioninitialize_logging_for_restart
(collector: LogCollector, with_stdout: bool)
examples/demo-rollup/tests/restart/graceful.rs:173
↓ 9 callersFunctioninternal_server_error_response_500
Returns a 500 internal server error.
crates/utils/sov-rest-utils/src/errors.rs:113
↓ 9 callersFunctioninvalidValue
(typ: any, val: any, key: any, parent: any = '')
typescript/examples/soak-testing/src/types.ts:390
↓ 9 callersFunctioninvalidValue
(typ: any, val: any, key: any, parent: any = '')
typescript/examples/phantom/src/types.ts:973
↓ 9 callersMethodis_empty
(&self)
crates/full-node/sov-db/src/storage_manager/nomt_based/mod.rs:300
↓ 9 callersFunctionlast_state_root_closure
A helper method for the visible hash tests. It advances the module state by `num_slots` and runs a closure with the specified test arguments after eac
crates/module-system/module-implementations/integration-tests/tests/kernel_interactions/mod.rs:102
↓ 9 callersFunctionledger_response_body
(api_call: F)
crates/full-node/sov-ledger-apis/tests/integration/main.rs:515
↓ 9 callersFunctionload_from_file
(path: &Path, name: &str)
crates/adapters/celestia/src/test_helper/files.rs:1143
↓ 9 callersFunctionmake_stf_info
(height: u64)
crates/full-node/sov-stf-runner/src/processes/stf_info_manager.rs:945
↓ 9 callersFunctionpoint_for
( points: &'a [AggregatedRpcMetrics], method: &str, is_ws: bool, )
crates/full-node/sov-metrics/src/influxdb/rpc_aggregator.rs:665
↓ 9 callersMethodrandom_entry
( &self, u: &mut arbitrary::Unstructured<'_>, )
crates/utils/transaction-generator/src/interface/rng.rs:48
↓ 9 callersMethodrecords
Recorded logs.
crates/utils/sov-test-utils/src/logging.rs:30
↓ 9 callersMethodreplace_reader
Replace the underlying reader with a new [`DeltaReader`].
crates/full-node/sov-db/src/ledger_db/mod.rs:315
↓ 9 callersMethodresolveLink
(link: Link)
typescript/packages/serializers/src/js/json-to-borsh.ts:715
↓ 9 callersFunctionrpc_error_with_code
Constructs an internal JSON-RPC error with code and message
crates/utils/sov-rpc-eth-types/src/utils.rs:21
↓ 9 callersFunctionseed_for_test
Small, but more entropy seed, suitable for unit tests
crates/adapters/mock-da/src/config.rs:316
↓ 9 callersFunctionsend_transfers
( start_nonce: u64, count: u64, key_and_address: PrivateKeyAndAddress<S>, receiver: <S as Spec
examples/demo-rollup/tests/replica/mod.rs:162
↓ 9 callersMethodsender
Returns the rollup address which sent the transaction.
crates/module-system/sov-modules-api/src/module/spec.rs:204
↓ 9 callersFunctionserialize
(value: &V, serializer: S)
crates/module-system/sov-modules-api/src/transaction/mod.rs:332
↓ 9 callersMethodset
Sets a value in the vector. If the index is out of bounds, returns an error. To push a value to the end of the `StateVec`, use [`NamespacedStateVec::p
crates/module-system/sov-modules-api/src/containers/vec.rs:118
↓ 9 callersMethodset_persistent_da
If rollup needs to be restarted, this needs to be activated.
crates/utils/sov-test-utils/src/test_rollup.rs:668
↓ 9 callersFunctionsetup
Same as [`setup_with_custom_runtime`] but uses the default runtime.
crates/module-system/module-implementations/sov-prover-incentives/tests/integration/helpers.rs:60
↓ 9 callersFunctionsetup
()
crates/module-system/module-implementations/sov-uniqueness/tests/integration/utils.rs:124
↓ 9 callersFunctionsetup
We setup genesis with three accounts, two of which are registered at genesis.
crates/module-system/module-implementations/sov-accounts/tests/integration/main.rs:29
↓ 9 callersMethodslot_hash
Returns the hash of the DA block associated with this slot.
crates/module-system/module-implementations/sov-chain-state/src/lib.rs:117
↓ 9 callersFunctionstart_rollup
( addr: SocketAddr, postgres: Option<(Arc<PostgresData>, String, ConfiguredNodeRole)>, )
examples/demo-rollup/tests/replica/mod.rs:109
↓ 9 callersMethodstr
Converts `ExecutionContext` to `&' static str`
crates/rollup-interface/src/state_machine/stf/mod.rs:199
↓ 9 callersFunctionsubmit_transactions
( sender: NonceBufferInputSender<MockTxExecutionBackend, TestSpec, TestRuntime>, nonces: Vec<u
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1565
↓ 9 callersFunctionsubmit_tx_set_value
( client: &Client, key: &Ed25519PrivateKey, nonce: u64, expect_success: bool, )
crates/full-node/sov-sequencer/tests/integration/preferred_tx_nonce_queue.rs:154
↓ 9 callersMethodto_scratchpad_and_gas_meter
(self)
crates/module-system/sov-modules-api/src/state/accessors/scratchpad/pre_exec_working_set.rs:27
↓ 9 callersMethodto_serialized_authenticated_tx
Converts a [`TransactionType`] into a serialized authenticated transaction ready to be passed to the runtime.
crates/utils/sov-test-utils/src/interface/inputs.rs:101
↓ 9 callersMethodto_serialized_zk_proof
Converts a [`SerializedAggregatedProof`] into a [`SerializedZkProof`].
crates/rollup-interface/src/state_machine/zk/aggregated_proof/mod.rs:203
↓ 9 callersMethodtransaction
(&self, hash: TxHash)
crates/utils/sov-eth-client/src/rpc.rs:77
↓ 9 callersMethodtrue_slot_number
(&self, state: &mut BootstrapWorkingSet<'_, S>)
crates/module-system/sov-kernels/src/basic.rs:40
↓ 9 callersFunctiontry_deserialize
(query_params: &[(&str, &str)])
crates/utils/sov-rest-utils/src/pagination.rs:149
↓ 9 callersMethodtry_reserve
Tries to reserve capacity for at least `additional` more elements to be inserted in the given `SafeVec`. The collection may reserve more space to spec
crates/rollup-interface/src/common/safe_vec.rs:268
↓ 9 callersFunctiontx_set_many_values
(key: &Ed25519PrivateKey, generation: u64, values_to_set: Vec<u8>)
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:4218
↓ 9 callersFunctiontx_set_value_and_sleep
( key: &Ed25519PrivateKey, generation: u64, value_to_set: u64, sleep_millis: u64, )
crates/full-node/sov-sequencer/tests/integration/preferred_end_to_end.rs:4225
↓ 9 callersFunctionverification_for_correct_blocks
(batch_processing_fn: F1, proof_processing_fn: F2)
crates/adapters/celestia/src/da_service/tests.rs:995
↓ 9 callersFunctionverify_ledger_storage
(reader: &DeltaReader, expected_values: &[(u64, MockHash)])
crates/full-node/sov-db/src/storage_manager/tests/data_helpers.rs:55
↓ 9 callersFunctionwait_for_submission_statuses
( status_receiver: &mut broadcast::Receiver<BlobExecutionStatus<MockDaSpec>>, status_matcher: F, m
crates/full-node/sov-blob-sender/tests/blob_sender.rs:603
↓ 9 callersMethodwith_execution_delay
(mut self, delay: Duration)
crates/full-node/sov-sequencer/src/preferred/nonce_buffer_task.rs:1261
↓ 9 callersMethodwith_max_priority_fee_bips
Set the max priority fee of the transaction.
crates/utils/sov-test-utils/src/interface/inputs.rs:73
↓ 8 callersMethodaccumulator
Getter: returns a reference to an accumulator of the blob data read by the rollup
crates/rollup-interface/src/state_machine/da.rs:146
↓ 8 callersMethodadd_accounts_with_token
Adds a token to the genesis config. Generates a token with an (optional) given name and adds it to the list of tokens. The token is associated with th
crates/utils/sov-test-utils/src/runtime/genesis/optimistic/config.rs:176
↓ 8 callersMethodadd_nonce
Adds a nonce to the set of seen nonces, adjusting the window if necessary. Safety: will panic if `nonce` < `self.start_nonce`.
crates/module-system/module-implementations/sov-uniqueness/src/window.rs:50
↓ 8 callersMethodadditional_accounts
(&self)
crates/utils/sov-test-utils/src/runtime/genesis/optimistic/config.rs:45
↓ 8 callersFunctionalloy_ws_client
(socket: SocketAddr)
crates/full-node/sov-ethereum/tests/integration/common/clients.rs:19
↓ 8 callersMethodapply
Applies the burn rate to the given amount.
crates/module-system/module-implementations/sov-bank/src/token.rs:54
↓ 8 callersFunctionassert_pending_block_empty
(client: &DynProvider)
examples/demo-rollup/tests/evm/evm_rpc.rs:756
↓ 8 callersFunctionassert_slashed
( context: ProofAssertContext<S>, state: &mut ApiStateAccessor<S>, prover: &TestUser<S>, slash
crates/module-system/module-implementations/sov-prover-incentives/tests/integration/slashing.rs:17
↓ 8 callersFunctionbank_input
(address: Address)
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:888
↓ 8 callersMethodbase_fee_per_gas
Returns the base fee per gas used for the block execution.
crates/module-system/sov-modules-api/src/runtime/capabilities/gas.rs:172
↓ 8 callersMethodbegin
(&self)
crates/adapters/mock-da/src/storable/db/mod.rs:72
↓ 8 callersMethodbox_clone
(&self)
crates/module-system/sov-state/src/sequencer_state.rs:365
↓ 8 callersMethodcapacity
(&self)
crates/rollup-interface/src/common/safe_vec.rs:355
↓ 8 callersMethodcharge_gas
Charges gas for the signature verification.
crates/module-system/sov-modules-api/src/gas/metered_utils.rs:141
↓ 8 callersFunctioncheck_internal_consistency
(state_manager: &TestStateManager<Da>, finality: usize)
crates/full-node/sov-stf-runner/src/state_manager/tests.rs:1371
↓ 8 callersMethodcompressed_verified_data
DA payload bytes consumed so far. These are the bytes that inclusion proofs must cover.
crates/adapters/celestia/src/types/mod.rs:255
↓ 8 callersFunctionconsume_gas_tx_for_signer
(signer: &TestUser<S>)
crates/module-system/module-implementations/sov-prover-incentives/tests/integration/helpers.rs:119
↓ 8 callersFunctioncreateTransactionV0
( unsignedTx: UnsignedTransaction<string>, pubKey: string, signature: string, )
typescript/packages/multisig/src/index.test.ts:27
↓ 8 callersFunctioncreate_blob_sender
( blob_processing_timeout: Duration, deps: &Deps, blob_status_sender: Option<broadcast::Sender<Blo
crates/full-node/sov-blob-sender/tests/blob_sender.rs:542
↓ 8 callersMethodcreate_storage
( &self, // Snapshot refs are in reveresed chronological order. relevant_snapshot_refs
crates/full-node/sov-db/src/storage_manager/nomt_based/groups.rs:352
↓ 8 callersFunctioncreate_working_set
( remaining_funds: Amount, gas_price: &<<S as Spec>::Gas as Gas>::Price, )
crates/module-system/sov-modules-api/src/state/tests.rs:13
↓ 8 callersFunctiondeploy_tester
(runner: &mut TestRunner<RT, Sp>, caller: &EvmAccount)
crates/module-system/module-implementations/sov-evm/tests/integration/precompiles.rs:182
↓ 8 callersFunctiondo_inbound_transfer_success
( runner: &mut TestRunner<RT, S>, admin: &TestUser<S>, from_domain: u32, from_router_address:
crates/module-system/hyperlane/tests/integration/warp/transfer.rs:20
↓ 8 callersMethodelems
(&self)
crates/module-system/sov-modules-api/src/containers/vec.rs:99
↓ 8 callersMethodelems_mut
(&mut self)
crates/module-system/sov-modules-api/src/containers/vec.rs:103
↓ 8 callersMethodenable_prover
Enables the prover for this rollup. Equivalent to setting [`RollupBuilderConfig::rollup_prover_config`] to [`RollupProverConfig::Prove`].
crates/utils/sov-test-utils/src/test_rollup.rs:189
↓ 8 callersFunctionestablish_leader_and_replica
( node_1: TestRollup<Rollup>, node_2: TestRollup<Rollup>, )
examples/demo-rollup/tests/replica/mod.rs:320
↓ 8 callersFunctioneventsForTx
(entries: DecodedHarnessLogEntry[], txHash: string)
typescript/apps/evm-rpc-diff-harness/src/harness/checks.ts:1243
↓ 8 callersMethodflush
Flush any accumulated metrics immediately.
crates/full-node/sov-sequencer/src/metrics.rs:410
↓ 8 callersMethodget_address
Get an address by identifier
crates/module-system/sov-cli/src/wallet_state.rs:253
↓ 8 callersMethodget_decoded
Get a decoded value from the storage.
crates/module-system/sov-modules-api/src/state/traits.rs:411
↓ 8 callersFunctionget_generics_type_param
Gets the first type parameter's identifier from [`syn::Generics`].
crates/module-system/sov-modules-macros/src/common.rs:213
↓ 8 callersMethodget_header_at
(&self, height: u32)
crates/adapters/mock-da/src/storable/layer.rs:288
↓ 8 callersMethodget_maybe_sealed_block_by_id
Retrieve a block by its id. Can panic if passed ApiStateAccessor has been constructed with wrong finalized_slot_height.
crates/module-system/module-implementations/sov-evm/src/rpc/block_resolution.rs:419
↓ 8 callersMethodget_or_err
Returns the value for the given index. If the index is out of bounds, returns an error. If the value is absent, returns an error.
crates/module-system/sov-modules-api/src/containers/vec.rs:151
↓ 8 callersMethodget_row_roots_for_namespace
( &self, namespace: celestia_types::nmt::Namespace, )
crates/adapters/celestia/src/celestia.rs:195
↓ 8 callersMethodget_user_value_option_by_key
Get an optional value from the database, given a version and a key hash.
crates/full-node/sov-db/src/historical_state.rs:143
↓ 8 callersMethodhash
(&self, data: &[u8])
crates/rollup-interface/src/state_machine/stf/fuzzing.rs:26
↓ 8 callersMethodheader
(&self)
crates/adapters/mock-da/src/types/mod.rs:206
← previousnext →601–700 of 9,860, ranked by callers