MCPcopy Create free account

hub / github.com/ChainSafe/Delorean-Protocol / functions

Functions2,468 in github.com/ChainSafe/Delorean-Protocol

↓ 2 callersFunctionnew_provider
()
fendermint/vm/topdown/src/finality/mod.rs:104
↓ 2 callersFunctionnew_provider
( blocks: SequentialKeyCache<BlockHeight, Option<ParentViewPayload>>, )
fendermint/vm/topdown/src/finality/fetch.rs:339
↓ 2 callersFunctionnew_syncer
( blocks: SequentialKeyCache<BlockHeight, Option<BlockHash>>, sync_many: bool, )
fendermint/vm/topdown/src/sync/syncer.rs:479
↓ 2 callersMethodnext_file
Open the next file, then increment the index.
fendermint/vm/snapshot/src/car/chunker.rs:149
↓ 2 callersMethodnext_proposal
(&self)
fendermint/vm/topdown/src/finality/null.rs:84
↓ 2 callersMethodnodes
Iterate all the nodes in the testnet.
fendermint/testing/materializer/src/testnet.rs:181
↓ 2 callersFunctionnotification
(subscription: FilterId, result: serde_json::Value)
fendermint/eth/api/src/filters.rs:632
↓ 2 callersMethodnotify
Set the latest block state parameters and notify the manager. Call this with the block height where the `app_hash` in the block reflects the state in
fendermint/vm/snapshot/src/client.rs:43
↓ 2 callersFunctionparent_index
(i: usize)
ext/merkle-tree-rs/src/core.rs:36
↓ 2 callersFunctionparse_bundle
(store: &DB, bundle: &[u8])
fendermint/vm/interpreter/src/fvm/state/genesis.rs:70
↓ 2 callersFunctionparse_config
(run_mode: &str)
fendermint/app/settings/src/lib.rs:406
↓ 2 callersFunctionparts_checksum
Calculate the Sha256 checksum of all `{idx}.part` files in a directory.
fendermint/vm/snapshot/src/manifest.rs:112
↓ 2 callersFunctionperform_query
( client: &C, query: FvmQuery, height: FvmQueryHeight, )
fendermint/rpc/src/client.rs:264
↓ 2 callersMethodpin_subnet
Add a subnet we know really exist and we are interested in them.
ipld/resolver/src/client.rs:52
↓ 2 callersMethodpoll
( &mut self, cx: &mut Context<'_>, )
ipld/resolver/src/behaviour/content.rs:322
↓ 2 callersMethodpoll_next_block
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, mut next_block: BlockStreamerReadFut
fendermint/vm/snapshot/src/car/streamer.rs:46
↓ 2 callersFunctionpower_diff
Calculate the difference between the current and the next power table, to return to CometBFT only what changed: include any new validator, or validato
fendermint/vm/interpreter/src/fvm/checkpoint.rs:384
↓ 2 callersMethodpre_fund
( &mut self, subnet: SubnetID, from: Option<Address>, balance: TokenAmount,
ipc/provider/src/lib.rs:308
↓ 2 callersFunctionpremium_estimation
Returns an estimation of an optimal `gas_premium` and `gas_fee_cap` for a transaction considering the average premium, base_fee and reward percentile
ipc/provider/src/manager/evm/manager.rs:1256
↓ 2 callersFunctionprepare_call
Fill the transaction fields such as gas and nonce.
fendermint/eth/api/examples/common/mod.rs:110
↓ 2 callersFunctionprepare_state_tree
(items: u64)
fendermint/vm/interpreter/src/fvm/state/snapshot.rs:311
↓ 2 callersFunctionprocess_multi_proof
(multi_proof: &MultiProof<Hash, Hash>)
ext/merkle-tree-rs/src/core.rs:174
↓ 2 callersMethodprove
Create a Merkle proof for a validator.
fendermint/vm/actor_interface/src/ipc.rs:227
↓ 2 callersMethodproviders_of_subnet
List any known providers of a subnet.
ipld/resolver/src/provider_cache.rs:201
↓ 2 callersMethodprune_providers
Prune any provider which hasn't provided an update since a cutoff timestamp. Returns the list of pruned peers.
ipld/resolver/src/provider_cache.rs:180
↓ 2 callersMethodpublish_preemptive
Publish pre-emptively to a subnet that agents in the parent subnet would be subscribed to if they are interested in receiving data before they would h
ipld/resolver/src/client.rs:82
↓ 2 callersFunctionquery_starting_finality
Queries the starting finality for polling. First checks the committed finality, if none, that means the chain has just started, then query from the pa
fendermint/vm/topdown/src/sync/mod.rs:36
↓ 2 callersMethodquorum_reached_events
( &self, subnet: &SubnetID, height: ChainEpoch, )
ipc/provider/src/lib.rs:684
↓ 2 callersFunctionread_config
()
ipc/provider/src/config/tests.rs:63
↓ 2 callersFunctionread_file
(file_path: impl AsRef<Path>)
fendermint/testing/materializer/src/docker/node.rs:625
↓ 2 callersFunctionread_genesis
(genesis_file: &PathBuf)
fendermint/app/src/cmd/genesis.rs:179
↓ 2 callersMethodrecord
(&self)
ipld/resolver/src/signed_record.rs:68
↓ 2 callersMethodreference_path
(&self, sn: &SubnetName, rh: &ResourceHash)
fendermint/testing/materializer/src/docker/mod.rs:565
↓ 2 callersMethodregister_metrics
Register Prometheus metrics.
ipld/resolver/src/service.rs:260
↓ 2 callersFunctionrelayed_bottom_up_ckpt_to_fvm
Convert a signed relayed bottom-up checkpoint to a syntetic message we can send to the FVM. By mapping to an FVM message we invoke the right contract
fendermint/vm/interpreter/src/chain.rs:580
↓ 2 callersMethodremove_key_below
Removes the all the keys below the target value, exclusive.
fendermint/vm/topdown/src/cache.rs:138
↓ 2 callersMethodremove_many
Remove all (sender, nonce) pairs which were included in a block.
fendermint/eth/api/src/mpool.rs:45
↓ 2 callersFunctionrender_merkle_tree
(tree: &[Hash])
ext/merkle-tree-rs/src/core.rs:219
↓ 2 callersMethodreset
Reset the cache in the face of a reorg
fendermint/vm/topdown/src/sync/syncer.rs:293
↓ 2 callersFunctionresolve_height
Turn block number into a height.
fendermint/eth/api/src/apis/eth.rs:901
↓ 2 callersFunctionretrieve_signing_tag
Retrive the signing tag from a deployed Demo contract given its address
fendermint/testing/delorean-cli/src/main.rs:527
↓ 2 callersMethodroot
(&self)
ext/merkle-tree-rs/src/standard.rs:172
↓ 2 callersMethodroot_hash
(&self)
fendermint/vm/actor_interface/src/ipc.rs:222
↓ 2 callersFunctionrun
Exercise the above methods, so we know at least the parameters are lined up correctly.
fendermint/eth/api/examples/ethers.rs:180
↓ 2 callersFunctionrun
Run a state machine test by generating `max_steps` commands. It is expected to panic if some post condition fails.
fendermint/testing/src/smt.rs:62
↓ 2 callersMethodrun
Produce snapshots.
fendermint/vm/snapshot/src/manager.rs:83
↓ 2 callersFunctionsaveDeploymentsFacets
( filename: string, env: string, updatedFacets: { [key: string]: string }, branch?: string, )
contracts/hardhat.config.ts:41
↓ 2 callersMethodsave_state
Write the state to a JSON file.
fendermint/testing/materializer/src/docker/mod.rs:345
↓ 2 callersFunctionsend_error
(ws_sender: &WebSocketSender, exit_code: ExitCode, msg: String, id: FilterId)
fendermint/eth/api/src/filters.rs:611
↓ 2 callersMethodsend_loop
Try to send something to the socket. If it fails, reconnect and send again.
fendermint/eth/api/src/client.rs:144
↓ 2 callersFunctionsend_response
( web_socket_id: WebSocketId, sender: &mut SplitSink<WebSocket, Message>, response: ResponseObject
fendermint/eth/api/src/handlers/ws.rs:207
↓ 2 callersFunctionsend_transaction
Send a transaction and await the receipt.
fendermint/eth/api/examples/common/mod.rs:69
↓ 2 callersMethodset_addr
(&self, id: ActorID, addr: Address)
fendermint/eth/api/src/cache.rs:173
↓ 2 callersMethodset_default
Set a default `KeyInfo` to the wallet
ipc/wallet/src/fvm/wallet.rs:132
↓ 2 callersMethodset_default
(&mut self, addr: &Self::Key)
ipc/wallet/src/evm/persistent.rs:78
↓ 2 callersFunctionset_env_from_aliases
Assign value to env vars from aliases, if the canonic key doesn't exist but the alias does.
fendermint/app/options/src/lib.rs:54
↓ 2 callersMethodset_id
(&self, addr: Address, id: ActorID)
fendermint/eth/api/src/cache.rs:165
↓ 2 callersMethodset_sequence
Set the sequence to an arbitrary value.
fendermint/rpc/src/message.rs:38
↓ 2 callersMethodset_unroutable
Mark a previously routable peer as unroutable. Once unroutable, the cache will stop tracking the provided subnets.
ipld/resolver/src/provider_cache.rs:74
↓ 2 callersFunctionsetup
Setup a testnet.
fendermint/app/src/cmd/materializer.rs:67
↓ 2 callersFunctionsibling_index
(i: i32)
ext/merkle-tree-rs/src/core.rs:44
↓ 2 callersFunctionsign_regular
Sign a transaction pre-image using Blake2b256, in a way that [Signature::verify] expects it.
fendermint/vm/message/src/signed.rs:239
↓ 2 callersMethodsign_tag
(&self, tag: &[u8])
fendermint/vm/interpreter/src/fvm/mod.rs:71
↓ 2 callersFunctionsplit
Take an existing CAR file and split it up into an output directory by creating files with a limited size for each file. The first (0th) file will be
fendermint/vm/snapshot/src/car/mod.rs:25
↓ 2 callersFunctionsplit_cmd
(cmd: &str)
fendermint/testing/materializer/src/docker/runner.rs:280
↓ 2 callersMethodsplit_peers_for_query
Split peers into a group we query now and a group we fall back on if the current batch fails.
ipld/resolver/src/service.rs:548
↓ 2 callersMethodstake
Enqueue a deposit. Must be one of the current validators to succeed, otherwise ignored.
fendermint/testing/contract-test/tests/staking/state.rs:423
↓ 2 callersMethodstate_params
Slowly changing state parameters.
fendermint/rpc/src/query.rs:94
↓ 2 callersMethodstate_params
(&self)
fendermint/vm/interpreter/src/fvm/state/query.rs:215
↓ 2 callersMethodstore_get_cbor
(&self, key: &Cid)
fendermint/vm/interpreter/src/fvm/state/query.rs:156
↓ 2 callersMethodsubnet_id
Return the current subnet ID.
fendermint/vm/interpreter/src/fvm/state/ipc.rs:96
↓ 2 callersMethodsyncing
Indicate that the node is syncing with the rest of the network and hasn't caught up with the tip yet.
fendermint/vm/interpreter/src/fvm/mod.rs:141
↓ 2 callersMethodtake_filter_changes
Take the currently accumulated changes.
fendermint/eth/api/src/state.rs:608
↓ 2 callersMethodtake_tx
This method takes the transaction without running the panicky destructor.
fendermint/rocksdb/src/kvstore.rs:77
↓ 2 callersFunctiontests_dir
Want to keep the testnet artifacts in the `tests/testnets` directory.
fendermint/testing/materializer/tests/docker.rs:39
↓ 2 callersFunctionto_cumulative
Helper function to produce cumulative gas used after the execution of each transaction in a block, along with cumulative event log count.
fendermint/eth/api/src/conv/from_tm.rs:229
↓ 2 callersFunctionto_eth_block
Convert a Tendermint block to Ethereum with only the block hashes in the body.
fendermint/eth/api/src/conv/from_tm.rs:103
↓ 2 callersFunctionto_eth_receipt
https://github.com/filecoin-project/lotus/blob/6cc506f5cf751215be6badc94a960251c6453202/node/impl/full/eth.go#L2174 https://github.com/evmos/ethermint
fendermint/eth/api/src/conv/from_tm.rs:245
↓ 2 callersFunctionto_events
Convert events to key-value pairs. Fot the EVM, they are returned like so: ```text StampedEvent { emitter: 103, event: ActorEvent { entries: [ Entry
fendermint/app/src/tmconv.rs:186
↓ 2 callersMethodto_filter
(&self)
fendermint/app/options/src/log.rs:38
↓ 2 callersMethodto_json_vec
(&self)
fendermint/eth/api/src/filters.rs:223
↓ 2 callersMethodto_socket_addrs
(&self)
fendermint/app/settings/src/lib.rs:58
↓ 2 callersFunctionto_validator_updates
Project Genesis validators to Tendermint.
fendermint/app/src/tmconv.rs:310
↓ 2 callersFunctiontokens_to_u256
(value: TokenAmount)
fendermint/vm/actor_interface/src/ipc.rs:384
↓ 2 callersMethodtop_contract
(&self, contract_name: &str)
fendermint/vm/interpreter/src/fvm/genesis.rs:524
↓ 2 callersMethodtopdown_config
(&self)
fendermint/app/settings/src/lib.rs:218
↓ 2 callersFunctiontopo_sort
Return elements of a dependency tree in topological order.
fendermint/eth/hardhat/src/lib.rs:226
↓ 2 callersMethodtotal_collateral
Sum of all collaterals from active an inactive validators. Do not compare this against signature weights because it contains inactive ones!
fendermint/testing/contract-test/tests/staking/state.rs:69
↓ 2 callersFunctiontransaction
Execute a transaction through RPC and print the response to STDOUT as JSON. If there was any data returned it's rendered in hexadecimal format.
fendermint/app/src/cmd/rpc.rs:157
↓ 2 callersMethodtransaction_by_index
Get a transaction from a block by index.
fendermint/eth/api/src/state.rs:338
↓ 2 callersMethodtry_call_with_ret
Call an EVM method implicitly to read its return value and its original apply return. Returns either the result or the exit code if it's not successf
fendermint/vm/interpreter/src/fvm/state/fevm.rs:236
↓ 2 callersMethodtx_by_hash
Get the Tendermint transaction by hash.
fendermint/eth/api/src/state.rs:375
↓ 2 callersFunctiontx_hash
Hash the transaction payload the way Tendermint does, to calculate the transaction hash which is otherwise unavailable. This is here for reference on
fendermint/eth/api/src/conv/from_tm.rs:547
↓ 2 callersMethodunderlying
(&self)
fendermint/rpc/src/client.rs:120
↓ 2 callersMethoduninstall_filter
(&self, filter_id: FilterId)
fendermint/eth/api/src/state.rs:593
↓ 2 callersMethodunstake
Enqueue a withdrawal.
fendermint/testing/contract-test/tests/staking/state.rs:440
↓ 2 callersMethodunsubscribe
(&mut self, topic: &Sha256Topic)
ipld/resolver/src/behaviour/membership.rs:200
↓ 2 callersMethodupdate
Accumulate the events.
fendermint/eth/api/src/filters.rs:232
↓ 2 callersMethodupdate_circ_supply
Update the circulating supply, effective from the next block.
fendermint/vm/interpreter/src/fvm/state/exec.rs:302
↓ 2 callersMethodupdate_power_table
Update the power table after it has changed with changes. This method expects only the updated values, leaving everyone who isn't in it untouched
fendermint/vm/topdown/src/voting.rs:316
← previousnext →601–700 of 2,468, ranked by callers