repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/mod.rs | ipc/cli/src/commands/subnet/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
pub use crate::commands::subnet::create::{CreateSubnet, CreateSubnetArgs};
use crate::commands::subnet::genesis_epoch::{GenesisEpoch, GenesisEpochArgs};
pub use crate::commands::subnet::join::{JoinSubnet, JoinSubnetArgs};
pub use crate::commands::sub... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/join.rs | ipc/cli/src/commands/subnet/join.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Join subnet cli command handler.
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use num_traits::Zero;
use std::{fmt::Debug, str::FromStr};
use crate::{
f64_to_token_amount, get_ipc_provider, require_fil_addr_... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/validator.rs | ipc/cli/src/commands/subnet/validator.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Get the validator information
use async_trait::async_trait;
use clap::Args;
use fvm_shared::address::Address;
use ipc_api::subnet_id::SubnetID;
use std::fmt::Debug;
use std::str::FromStr;
use crate::{get_ipc_provider, CommandLineHandler, GlobalA... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/rpc.rs | ipc/cli/src/commands/subnet/rpc.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! RPC subnet cli command handler.
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use std::fmt::Debug;
use std::str::FromStr;
use crate::{get_ipc_provider, CommandLineHandler, GlobalArguments};
/// The command to g... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/genesis_epoch.rs | ipc/cli/src/commands/subnet/genesis_epoch.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Get the genesis epoch cli command
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use std::fmt::Debug;
use std::str::FromStr;
use crate::{get_ipc_provider, CommandLineHandler, GlobalArguments};
/// The command to... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/leave.rs | ipc/cli/src/commands/subnet/leave.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Leave subnet cli command handler.
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use std::{fmt::Debug, str::FromStr};
use crate::{get_ipc_provider, require_fil_addr_from_str, CommandLineHandler, GlobalArguments};... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/bootstrap.rs | ipc/cli/src/commands/subnet/bootstrap.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Subnet bootstrap-related commands
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use std::{fmt::Debug, str::FromStr};
use crate::{get_ipc_provider, require_fil_addr_from_str, CommandLineHandler, GlobalArguments};... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/create.rs | ipc/cli/src/commands/subnet/create.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Create subnet cli command handler.
use std::fmt::Debug;
use std::str::FromStr;
use async_trait::async_trait;
use clap::Args;
use fvm_shared::clock::ChainEpoch;
use ipc_api::subnet::{PermissionMode, SupplyKind, SupplySource};
use ipc_api::subnet... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/show_gateway_contract_commit_sha.rs | ipc/cli/src/commands/subnet/show_gateway_contract_commit_sha.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use std::fmt::Debug;
use std::str::from_utf8;
use std::str::FromStr;
use crate::{get_ipc_provider, CommandLineHandler, GlobalArguments};
pub(crate) struct ShowGatewayCo... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/subnet/set_federated_power.rs | ipc/cli/src/commands/subnet/set_federated_power.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Set federated power cli handler
use crate::commands::{get_ipc_provider, require_fil_addr_from_str};
use crate::{CommandLineHandler, GlobalArguments};
use async_trait::async_trait;
use clap::Args;
use fvm_shared::address::Address;
use ipc_api::sub... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/config/mod.rs | ipc/cli/src/commands/config/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! This mod triggers a config reload in the IPC-Agent Json RPC server.
mod init;
use clap::{Args, Subcommand};
use std::fmt::Debug;
use crate::commands::config::init::{InitConfig, InitConfigArgs};
use crate::{CommandLineHandler, GlobalArguments};
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/config/init.rs | ipc/cli/src/commands/config/init.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use crate::{CommandLineHandler, GlobalArguments};
use async_trait::async_trait;
use ipc_provider::config::DEFAULT_CONFIG_TEMPLATE;
use std::io::Write;
use clap::Args;
/// The command to initialize a new config template in a specific path
pub(crate) ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/relayer.rs | ipc/cli/src/commands/checkpoint/relayer.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use crate::commands::get_subnet_config;
use crate::{require_fil_addr_from_str, CommandLineHandler, GlobalArguments};
use anyhow::anyhow;
use async_trait::async_trait;
use clap::Args;
use fvm_shared::address::Address;
use fvm_shared::clock::ChainEpoch... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/mod.rs | ipc/cli/src/commands/checkpoint/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use crate::commands::checkpoint::bottomup_bundles::{GetBottomUpBundles, GetBottomUpBundlesArgs};
use crate::commands::checkpoint::bottomup_height::{
LastBottomUpCheckpointHeight, LastBottomUpCheckpointHeightArgs,
};
use crate::commands::checkpoint... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/bottomup_bundles.rs | ipc/cli/src/commands/checkpoint/bottomup_bundles.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! List bottom up bundles
use std::fmt::Debug;
use std::str::FromStr;
use async_trait::async_trait;
use clap::Args;
use fvm_shared::clock::ChainEpoch;
use ipc_api::subnet_id::SubnetID;
use crate::commands::get_ipc_provider;
use crate::{CommandLine... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/quorum_reached.rs | ipc/cli/src/commands/checkpoint/quorum_reached.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! List quorum reached events
use std::fmt::Debug;
use std::str::FromStr;
use async_trait::async_trait;
use clap::Args;
use fvm_shared::clock::ChainEpoch;
use ipc_api::subnet_id::SubnetID;
use crate::commands::get_ipc_provider;
use crate::{Command... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/list_validator_changes.rs | ipc/cli/src/commands/checkpoint/list_validator_changes.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! List validator change set cli command
use std::fmt::Debug;
use std::str::FromStr;
use async_trait::async_trait;
use clap::Args;
use fvm_shared::clock::ChainEpoch;
use ipc_api::subnet_id::SubnetID;
use crate::commands::get_ipc_provider;
use crat... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipc/cli/src/commands/checkpoint/bottomup_height.rs | ipc/cli/src/commands/checkpoint/bottomup_height.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::fmt::Debug;
use std::str::FromStr;
use async_trait::async_trait;
use clap::Args;
use ipc_api::subnet_id::SubnetID;
use crate::commands::get_ipc_provider;
use crate::{CommandLineHandler, GlobalArguments};
/// The command to get the last bo... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ext/merkle-tree-rs/src/lib.rs | ext/merkle-tree-rs/src/lib.rs | // Copyright 2022-2024 Ikechukwu Ahiara Marvellous (@literallymarvellous)
// SPDX-License-Identifier: MIT
//
// Forked from https://github.com/literallymarvellous/merkle-tree-rs with assumed MIT license
// as per Cargo.toml: https://github.com/literallymarvellous/merkle-tree-rs/blob/d4abd1ca716e65d05e577e2f22b69947bef5... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ext/merkle-tree-rs/src/standard.rs | ext/merkle-tree-rs/src/standard.rs | // Copyright 2022-2024 Ikechukwu Ahiara Marvellous (@literallymarvellous)
// SPDX-License-Identifier: MIT
//
// Forked from https://github.com/literallymarvellous/merkle-tree-rs with assumed MIT license
// as per Cargo.toml: https://github.com/literallymarvellous/merkle-tree-rs/blob/d4abd1ca716e65d05e577e2f22b69947bef5... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ext/merkle-tree-rs/src/core.rs | ext/merkle-tree-rs/src/core.rs | // Copyright 2022-2024 Ikechukwu Ahiara Marvellous (@literallymarvellous)
// SPDX-License-Identifier: MIT
//
// Forked from https://github.com/literallymarvellous/merkle-tree-rs with assumed MIT license
// as per Cargo.toml: https://github.com/literallymarvellous/merkle-tree-rs/blob/d4abd1ca716e65d05e577e2f22b69947bef5... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ext/merkle-tree-rs/src/format.rs | ext/merkle-tree-rs/src/format.rs | // Copyright 2022-2024 Ikechukwu Ahiara Marvellous (@literallymarvellous)
// SPDX-License-Identifier: MIT
//
// Forked from https://github.com/literallymarvellous/merkle-tree-rs with assumed MIT license
// as per Cargo.toml: https://github.com/literallymarvellous/merkle-tree-rs/blob/d4abd1ca716e65d05e577e2f22b69947bef5... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/contracts/binding/build.rs | contracts/binding/build.rs | // Copyright 2021-2023 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::io::Write;
use std::path::{Path, PathBuf};
/// Generate Rust bindings from the IPC Solidity Actors ABI artifacts.
///
/// These are built by `make ipc-actors-abi`, here we just add the final step
/// so we have better code compl... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/contracts/binding/src/lib.rs | contracts/binding/src/lib.rs | // DO NOT EDIT! This file was generated by build.rs
#[macro_use]
mod convert;
#[allow(clippy::all)]
pub mod checkpointing_facet;
#[allow(clippy::all)]
pub mod diamond_cut_facet;
#[allow(clippy::all)]
pub mod diamond_loupe_facet;
#[allow(clippy::all)]
pub mod gateway_diamond;
#[allow(clippy::all)]
pub mod gateway_getter... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/contracts/binding/src/convert.rs | contracts/binding/src/convert.rs | /// The type conversion for fvm address to evm solidity contracts. We need this convenient macro because
/// the abigen is creating the same struct but under different modules. This save a lot of
/// code.
macro_rules! fvm_address_conversion {
($module:ident) => {
impl TryFrom<fvm_shared::address::Address> ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/provider_cache.rs | ipld/resolver/src/provider_cache.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::collections::{HashMap, HashSet};
use ipc_api::subnet_id::SubnetID;
use libp2p::PeerId;
use crate::{provider_record::ProviderRecord, Timestamp};
/// Change in the supported subnets of a peer.
#[derive(Debug)]
pub struct ProviderDelta {
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/signed_record.rs | ipld/resolver/src/signed_record.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use libp2p::core::signed_envelope;
use libp2p::identity::PublicKey;
use libp2p::{core::SignedEnvelope, identity::Keypair};
use serde::de::DeserializeOwned;
use serde::Serialize;
const DOMAIN_SEP: &str = "/ipc/ipld/resolver";
pub trait Record {
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/stats.rs | ipld/resolver/src/stats.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use lazy_static::lazy_static;
use prometheus::{Histogram, HistogramOpts, IntCounter, IntGauge, Registry};
macro_rules! metrics {
($($name:ident : $type:ty = $make:expr);* $(;)?) => {
$(
lazy_static! {
pub static ref ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/lib.rs | ipld/resolver/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
mod behaviour;
mod client;
mod hash;
mod limiter;
mod service;
mod stats;
mod timestamp;
mod provider_cache;
mod provider_record;
mod signed_record;
mod vote_record;
#[cfg(any(test, feature = "arb"))]
mod arb;
#[cfg(feature = "missing_blocks")]
pub... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/vote_record.rs | ipld/resolver/src/vote_record.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use ipc_api::subnet_id::SubnetID;
use libp2p::identity::{Keypair, PublicKey};
use serde::de::{DeserializeOwned, Error};
use serde::{Deserialize, Serialize};
use crate::{
signed_record::{Record, SignedRecord},
Timestamp,
};
/// The basic idea... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/missing_blocks.rs | ipld/resolver/src/missing_blocks.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
// Copyright 2019-2022 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
use fvm_ipld_blockstore::Blockstore;
use libipld::Cid;
use libipld::{prelude::*, store::StoreParams, Ipld};
/// Recursively find all [`Cid`] fields in the [`Block`]... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/timestamp.rs | ipld/resolver/src/timestamp.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use serde::{Deserialize, Serialize};
use std::ops::{Add, Sub};
use std::time::{Duration, SystemTime};
/// Unix timestamp in seconds since epoch, which we can use to select the
/// more recent message during gossiping.
#[derive(Clone, Copy, Eq, Partia... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/client.rs | ipld/resolver/src/client.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use anyhow::anyhow;
use async_trait::async_trait;
use ipc_api::subnet_id::SubnetID;
use libipld::Cid;
use tokio::sync::mpsc::UnboundedSender;
use tokio::sync::oneshot;
use crate::{
service::{Request, ResolveResult},
vote_record::SignedVoteRec... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/provider_record.rs | ipld/resolver/src/provider_record.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use ipc_api::subnet_id::SubnetID;
use libp2p::identity::Keypair;
use libp2p::PeerId;
use serde::{Deserialize, Serialize};
use crate::{
signed_record::{Record, SignedRecord},
Timestamp,
};
/// Record of the ability to provide data from a lis... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/service.rs | ipld/resolver/src/service.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::collections::HashMap;
use std::time::Duration;
use anyhow::anyhow;
use bloom::{BloomFilter, ASMS};
use ipc_api::subnet_id::SubnetID;
use libipld::store::StoreParams;
use libipld::Cid;
use libp2p::futures::StreamExt;
use libp2p::swarm::SwarmE... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/limiter.rs | ipld/resolver/src/limiter.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::time::{Duration, Instant};
use gcra::GcraState;
pub use gcra::RateLimit;
use lru_time_cache::LruCache;
/// Track the rate limit of resources (e.g. bytes) consumed per key.
///
/// Forgets keys after long periods of inactivity.
pub struct Ra... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/hash.rs | ipld/resolver/src/hash.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
// Copyright 2019-2022 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
use blake2b_simd::Params;
/// Generates BLAKE2b hash of fixed 32 bytes size.
pub fn blake2b_256(ingest: &[u8]) -> [u8; 32] {
let digest = Params::new()
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/arb.rs | ipld/resolver/src/arb.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use fvm_shared::address::Address;
use ipc_api::subnet_id::SubnetID;
use libipld::{Cid, Multihash};
use quickcheck::Arbitrary;
/// Unfortunately an arbitrary `DelegatedAddress` can be inconsistent
/// with bytes that do not correspond to its length. T... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/behaviour/discovery.rs | ipld/resolver/src/behaviour/discovery.rs | // Copyright 2022-2024 Protocol Labs
// Copyright 2019-2022 ChainSafe Systems
// SPDX-License-Identifier: MIT
use std::{
cmp,
collections::VecDeque,
task::{Context, Poll},
time::Duration,
};
use libp2p::{
core::Endpoint,
identify::Info,
kad::{self, store::MemoryStore},
multiaddr::Protoc... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/behaviour/content.rs | ipld/resolver/src/behaviour/content.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::{
collections::{HashMap, VecDeque},
task::{Context, Poll},
time::Duration,
};
use libipld::{store::StoreParams, Cid};
use libp2p::{
core::{ConnectedPoint, Endpoint},
futures::channel::oneshot,
multiaddr::Protocol,
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/behaviour/mod.rs | ipld/resolver/src/behaviour/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use libipld::store::StoreParams;
use libp2p::{
identify,
identity::{Keypair, PublicKey},
ping,
swarm::NetworkBehaviour,
PeerId,
};
use libp2p_bitswap::BitswapStore;
pub mod content;
pub mod discovery;
pub mod membership;
pub use ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/src/behaviour/membership.rs | ipld/resolver/src/behaviour/membership.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::collections::{HashMap, HashSet, VecDeque};
use std::marker::PhantomData;
use std::task::{Context, Poll};
use std::time::Duration;
use anyhow::anyhow;
use ipc_api::subnet_id::SubnetID;
use libp2p::core::Endpoint;
use libp2p::gossipsub::{
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/tests/smoke.rs | ipld/resolver/tests/smoke.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
//! Test that a cluster of IPLD resolver can be started in memory,
//! that they bootstrap from each other and are able to resolve CIDs.
//!
//! Run the tests as follows:
//! ```ignore
//! RUST_LOG=debug cargo test -p ipc_ipld_resolver --test smoke r... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/ipld/resolver/tests/store/mod.rs | ipld/resolver/tests/store/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: MIT
use std::{
collections::HashMap,
sync::{Arc, RwLock},
};
use anyhow::Result;
use fvm_ipld_blockstore::Blockstore;
use ipc_ipld_resolver::missing_blocks::missing_blocks;
use libipld::Cid;
use libp2p_bitswap::BitswapStore;
#[derive(Debug, Clon... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/storage/src/lib.rs | fendermint/storage/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::borrow::Cow;
use std::error::Error;
use std::hash::Hash;
use std::marker::PhantomData;
/// In-memory KV store backend.
#[cfg(feature = "inmem")]
pub mod im;
/// Common test utilities.
#[cfg(feature = "testing")]
#[allow(dead_cod... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/storage/src/im.rs | fendermint/storage/src/im.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::{
hash::Hash,
marker::PhantomData,
mem,
sync::{Arc, Mutex, MutexGuard},
thread,
};
use crate::{
Decode, Encode, KVError, KVRead, KVReadable, KVResult, KVStore, KVTransaction, KVWritable,
KVWrite,
};
/... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/storage/src/testing.rs | fendermint/storage/src/testing.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use crate::{
Codec, KVCollection, KVError, KVRead, KVReadable, KVStore, KVTransaction, KVWritable, KVWrite,
};
use quickcheck::{Arbitrary, Gen};
use std::collections::HashMap;
use std::fmt::Debug;
use std::hash::Hash;
use std::thread;
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/config.rs | fendermint/app/options/src/config.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use clap::Args;
#[derive(Args, Debug)]
pub struct ConfigArgs;
| rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/genesis.rs | fendermint/app/options/src/genesis.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use clap::{Args, Subcommand, ValueEnum};
use ipc_api::subnet_id::SubnetID;
use super::parse::{
parse_eth_address, parse_full_fil, parse_network_version, parse_percentage, parse_signer_addr,
parse_token_am... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/key.rs | fendermint/app/options/src/key.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use clap::{Args, Subcommand};
#[derive(Subcommand, Debug)]
pub enum KeyCommands {
/// Generate a new Secp256k1 key pair and export them to files in base64 format.
Gen(KeyGenArgs),
/// Convert a secret... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/lib.rs | fendermint/app/options/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use clap::{Args, Parser, Subcommand};
use config::ConfigArgs;
use debug::DebugArgs;
use fvm_shared::address::Network;
use lazy_static::lazy_static;
use tracing_subscriber::EnvFilter;
use self::{
eth::EthArgs,... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/parse.rs | fendermint/app/options/src/parse.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::str::FromStr;
use bytes::Bytes;
use cid::Cid;
use num_traits::{FromPrimitive, Num};
use fendermint_vm_genesis::SignerAddr;
use fvm_shared::{
address::{set_current_network, Address, Network},
bigint::BigInt,
econ::To... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/eth.rs | fendermint/app/options/src/eth.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use clap::{Args, Subcommand};
use tendermint_rpc::{Url, WebSocketClientUrl};
#[derive(Args, Debug)]
pub struct EthArgs {
#[command(subcommand)]
pub command: EthCommands,
}
#[derive(Subcommand, Debug, Clone)]
pub enum EthCommands... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/log.rs | fendermint/app/options/src/log.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use clap::{builder::PossibleValue, ValueEnum};
use lazy_static::lazy_static;
use tracing_subscriber::EnvFilter;
/// Standard log levels, or something we can pass to <https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/st... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/materializer.rs | fendermint/app/options/src/materializer.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use clap::{Args, Subcommand};
use fendermint_materializer::{AccountId, TestnetId};
#[derive(Args, Debug)]
pub struct MaterializerArgs {
/// Path to the directory where the materializer can store its artifacts... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/debug.rs | fendermint/app/options/src/debug.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use crate::parse::parse_eth_address;
use clap::{Args, Subcommand};
use fvm_shared::address::Address;
use ipc_api::subnet_id::SubnetID;
#[derive(Args, Debug)]
pub struct DebugArgs {
#[command(subcommand)]
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/run.rs | fendermint/app/options/src/run.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use clap::Args;
#[derive(Args, Debug)]
pub struct RunArgs;
| rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/src/rpc.rs | fendermint/app/options/src/rpc.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::PathBuf;
use bytes::Bytes;
use cid::Cid;
use clap::{Args, Subcommand, ValueEnum};
use fvm_ipld_encoding::RawBytes;
use fvm_shared::{address::Address, econ::TokenAmount, MethodNum};
use tendermint_rpc::Url;
use crate::{
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/options/examples/network.rs | fendermint/app/options/examples/network.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Examples of passing CLI options. Some are tricky and require some values to be parsed first.
//! These examples are here so we have an easier way to test them than having to compile the app.
//!
//! ```text
//! cargo run --example netw... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/fvm.rs | fendermint/app/settings/src/fvm.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use fvm_shared::econ::TokenAmount;
use serde::Deserialize;
use serde_with::serde_as;
use crate::IsHumanReadable;
#[serde_as]
#[derive(Debug, Deserialize, Clone)]
pub struct FvmSettings {
/// Overestimation rate applied to gas estima... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/lib.rs | fendermint/app/settings/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use config::{Config, ConfigError, Environment, File};
use fvm_shared::address::Address;
use fvm_shared::econ::TokenAmount;
use ipc_api::subnet_id::SubnetID;
use serde::{Deserialize, Serialize};
use serde_wit... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/eth.rs | fendermint/app/settings/src/eth.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use fvm_shared::econ::TokenAmount;
use serde::Deserialize;
use serde_with::{serde_as, DurationSeconds};
use std::time::Duration;
use crate::{IsHumanReadable, SocketAddress};
/// Ethereum API facade settings.
#[serde_as]
#[derive(Debug, ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/utils.rs | fendermint/app/settings/src/utils.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use config::{ConfigError, Source, Value, ValueKind};
use lazy_static::lazy_static;
use regex::Regex;
use std::path::{Path, PathBuf};
#[macro_export]
macro_rules! home_relative {
// Using this inside something that has a `.home_dir()`... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/testing.rs | fendermint/app/settings/src/testing.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use serde::Deserialize;
#[derive(Debug, Deserialize, Clone)]
pub struct TestingSettings {
/// Indicate whether the chain metadata should be pushed into the ledger.
///
/// Doing so causes the ledger to change even on empty bl... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/settings/src/resolver.rs | fendermint/app/settings/src/resolver.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::{path::PathBuf, time::Duration};
use serde::Deserialize;
use serde_with::{serde_as, DurationSeconds};
use ipc_api::subnet_id::SubnetID;
use multiaddr::Multiaddr;
use crate::{home_relative, IsHumanReadable};
#[serde_as]
#[deri... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/app.rs | fendermint/app/src/app.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::future::Future;
use std::path::PathBuf;
use std::sync::Arc;
use crate::events::{ExtendVote, NewBlock, ProposalProcessed};
use crate::AppExitCode;
use crate::BlockHeight;
use crate::{tmconv::*, VERSION};
use anyhow::{anyhow, Conte... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | true |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/tmconv.rs | fendermint/app/src/tmconv.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Conversions to Tendermint data types.
use anyhow::{anyhow, bail, Context};
use fendermint_vm_core::Timestamp;
use fendermint_vm_genesis::{Power, Validator};
use fendermint_vm_interpreter::fvm::{
state::{BlockHash, FvmStateParams},
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/lib.rs | fendermint/app/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
mod app;
pub mod events;
pub mod ipc;
pub mod metrics;
mod store;
mod tmconv;
pub use app::{App, AppConfig};
pub use store::{AppStore, BitswapBlockstore};
// Different type from `ChainEpoch` just because we might use epoch in a more trad... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/store.rs | fendermint/app/src/store.rs | use cid::Cid;
use ipc_ipld_resolver::missing_blocks::missing_blocks;
// Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use libp2p_bitswap::BitswapStore;
use std::borrow::Cow;
use fendermint_rocksdb::blockstore::NamespaceBlockstore;
use fendermint_storage::{Codec, Decode, Encode, KVError,... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/main.rs | fendermint/app/src/main.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
pub use fendermint_app_options as options;
pub use fendermint_app_settings as settings;
use tracing_appender::{
non_blocking::WorkerGuard,
rolling::{RollingFileAppender, Rotation},
};
use tracing_subscriber::fmt::format::FmtSpan;
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/events.rs | fendermint/app/src/events.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use crate::BlockHeight;
/// Re-export other events, just to provide the visibility of where they are.
pub use fendermint_vm_event::{
NewBottomUpCheckpoint, NewParentView, ParentFinalityCommitted, ParentFinalityMissingQuorum,
};
/// ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/ipc.rs | fendermint/app/src/ipc.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! IPC related execution
use crate::app::{AppState, AppStoreKey};
use crate::{App, BlockHeight};
use fendermint_storage::{Codec, Encode, KVReadable, KVStore, KVWritable};
use fendermint_vm_genesis::{Power, Validator};
use fendermint_vm_i... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/config.rs | fendermint/app/src/cmd/config.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use fendermint_app_options::config::ConfigArgs;
use crate::{cmd, settings::Settings};
cmd! {
ConfigArgs(self, settings) {
print_settings(settings)
}
}
fn print_settings(settings: Settings) -> anyhow::Result<()> {
// Current... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/genesis.rs | fendermint/app/src/cmd/genesis.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use fendermint_crypto::PublicKey;
use fvm_shared::address::Address;
use ipc_provider::config::subnet::{EVMSubnet, SubnetConfig};
use ipc_provider::IpcProvider;
use std::path::PathBuf;
use fendermint_vm_acto... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/key.rs | fendermint/app/src/cmd/key.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use bls_signatures::Serialize;
use fendermint_app_options::key::KeyShowPeerIdArgs;
use fendermint_crypto::{from_b64, to_b64, PublicKey, SecretKey};
use fendermint_vm_actor_interface::eam::EthAddress;
use fvm... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/eth.rs | fendermint/app/src/cmd/eth.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::time::Duration;
use anyhow::Context;
use fendermint_eth_api::HybridClient;
use crate::{
cmd,
options::eth::{EthArgs, EthCommands},
settings::eth::EthSettings,
};
cmd! {
EthArgs(self, settings: EthSettings) {
... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/materializer.rs | fendermint/app/src/cmd/materializer.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::{Path, PathBuf};
use anyhow::{anyhow, bail};
use fendermint_app_options::materializer::*;
use fendermint_app_settings::utils::expand_tilde;
use fendermint_materializer::{
docker::{DockerMaterializer, DropPolicy},
l... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/debug.rs | fendermint/app/src/cmd/debug.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use fendermint_app_options::debug::{
DebugArgs, DebugCommands, DebugExportTopDownEventsArgs, DebugIpcCommands,
};
use fendermint_vm_topdown::proxy::IPCProviderProxy;
use ipc_provider::{
config::subne... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/mod.rs | fendermint/app/src/cmd/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! CLI command implementations.
use crate::{
options::{Commands, Options},
settings::{utils::expand_tilde, Settings},
};
use anyhow::{anyhow, Context};
use async_trait::async_trait;
pub mod config;
pub mod debug;
pub mod eth;
p... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/run.rs | fendermint/app/src/cmd/run.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, bail, Context};
use async_stm::atomically_or_err;
use fendermint_abci::ApplicationService;
use fendermint_app::events::{ParentFinalityVoteAdded, ParentFinalityVoteIgnored};
use fendermint_app::ipc::{AppParentFinalityQ... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/cmd/rpc.rs | fendermint/app/src/cmd/rpc.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::future::Future;
use std::path::PathBuf;
use std::pin::Pin;
use anyhow::Context;
use async_trait::async_trait;
use bytes::Bytes;
use fendermint_app_options::genesis::AccountKind;
use fendermint_crypto::{to_b64, SecretKey};
use fe... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/metrics/mod.rs | fendermint/app/src/metrics/mod.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
mod prometheus;
mod tracing;
pub use prometheus::app::register_metrics as register_app_metrics;
pub use tracing::layer;
| rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/metrics/tracing.rs | fendermint/app/src/metrics/tracing.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Subscribing to tracing events and turning them into metrics.
use std::marker::PhantomData;
use tracing::{Event, Subscriber};
use tracing_subscriber::{filter, layer, registry::LookupSpan, Layer};
use super::prometheus::app as am;
use... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/app/src/metrics/prometheus.rs | fendermint/app/src/metrics/prometheus.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Prometheus metrics
macro_rules! metrics {
($($name:ident : $type:ty = $desc:literal);* $(;)?) => {
$(
paste! {
lazy_static! {
pub static ref $name: $type = $type::n... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/tracing/src/lib.rs | fendermint/tracing/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
/// Emit an event that conforms to a flat event structure type using the [tracing::event!](https://github.com/tokio-rs/tracing/blob/908cc432a5994f6e17c8f36e13c217dc40085704/tracing/src/macros.rs#L854) macro.
///
/// There should be a [Sub... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/lib.rs | fendermint/rpc/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use base64::{
alphabet,
engine::{DecodePaddingMode, GeneralPurpose, GeneralPurposeConfig},
};
pub mod client;
pub mod message;
pub mod query;
pub mod response;
pub mod tx;
pub use client::FendermintClient;
pub use query::QueryCl... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/response.rs | fendermint/rpc/src/response.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use base64::Engine;
use bytes::Bytes;
use fendermint_vm_actor_interface::eam::{self, CreateReturn};
use fvm_ipld_encoding::{BytesDe, RawBytes};
use tendermint::abci::types::ExecTxResult;
/// Parse what Tende... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/tx.rs | fendermint/rpc/src/tx.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::marker::PhantomData;
use anyhow::Context;
use async_trait::async_trait;
use bytes::Bytes;
use fendermint_vm_message::query::{FvmQueryHeight, GasEstimate};
use tendermint::abci::types::ExecTxResult;
use tendermint_rpc::endpoint::... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/client.rs | fendermint/rpc/src/client.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::fmt::Display;
use std::marker::PhantomData;
use anyhow::{anyhow, Context};
use async_trait::async_trait;
use fendermint_vm_message::chain::ChainMessage;
use tendermint::abci::types::ExecTxResult;
use tendermint::block::Height;
u... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/query.rs | fendermint/rpc/src/query.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use async_trait::async_trait;
use fvm_ipld_encoding::serde::Serialize;
use fvm_shared::message::Message;
use prost::Message as ProstMessage;
use tendermint::abci::types::ExecTxResult;
use tendermint::block::... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/src/message.rs | fendermint/rpc/src/message.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use std::path::Path;
use anyhow::Context;
use base64::Engine;
use bytes::Bytes;
use fendermint_crypto::SecretKey;
use fendermint_vm_actor_interface::{eam, evm};
use fendermint_vm_message::{chain::ChainMessage, signed::SignedMessage};
use... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/examples/transfer.rs | fendermint/rpc/examples/transfer.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Example of using the RPC library to send tokens from an f410 account to an f1 account.
//!
//! The example assumes that Tendermint and Fendermint have been started
//! and are running locally.
//!
//! # Usage
//! ```text
//! cargo run... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/rpc/examples/simplecoin.rs | fendermint/rpc/examples/simplecoin.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
//! Example of using the RPC library in combination with ethers abigen
//! to programmatically deploy and call a contract.
//!
//! The example assumes that Tendermint and Fendermint have been started
//! and are running locally.
//!
//! #... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/build.rs | fendermint/actors/build.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use fil_actor_bundler::Bundler;
use std::error::Error;
use std::io::{BufRead, BufReader};
use std::path::Path;
use std::process::{Command, Stdio};
use std::thread;
const ACTORS: &[&str] = &["chainmetadata", "eam", "cetf"];
const FILES_T... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/src/lib.rs | fendermint/actors/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
mod manifest;
pub use manifest::Manifest;
| rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/src/manifest.rs | fendermint/actors/src/manifest.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, Context};
use cid::Cid;
use fendermint_actor_cetf::CETF_ACTOR_NAME;
use fendermint_actor_chainmetadata::CHAINMETADATA_ACTOR_NAME;
use fendermint_actor_eam::IPC_EAM_ACTOR_NAME;
use fvm_ipld_blockstore::Blockstore;
use f... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/cetf/src/lib.rs | fendermint/actors/cetf/src/lib.rs | // Copyright 2022-2024 Protocol Labs
// Copyright 2021-2023 BadBoi Labs
// SPDX-License-Identifier: Apache-2.0, MIT
#[cfg(feature = "fil-actor")]
mod actor;
mod shared;
pub mod state;
pub use shared::*;
pub use state::State;
| rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/cetf/src/actor.rs | fendermint/actors/cetf/src/actor.rs | // Copyright 2022-2024 Protocol Labs
// Copyright 2021-2023 BadBoi Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use core::hash;
use crate::state::State;
use crate::AddSignedBlockHeightTagParams;
use crate::AddSignedTagParams;
use crate::AddValidatorParams;
use crate::{EnqueueTagParams, GetTagParams};
use crate::{... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/cetf/src/state.rs | fendermint/actors/cetf/src/state.rs | // Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use crate::{BlockHeight, Tag};
use crate::{BlsPublicKey, BlsSignature};
use cid::Cid;
use fil_actors_runtime::actor_error;
use fil_actors_runtime::{runtime::Runtime, ActorError, Map2};
use fvm_ipld_blockstore::Blockstore;
use fvm_ipld_enc... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
ChainSafe/Delorean-Protocol | https://github.com/ChainSafe/Delorean-Protocol/blob/7f0f8b8a48f44486434bae881ba85785f6f7cf64/fendermint/actors/cetf/src/shared.rs | fendermint/actors/cetf/src/shared.rs | use std::ops::{Deref, DerefMut};
use fil_actors_runtime::MapKey;
// Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT
use fvm_ipld_encoding::{
strict_bytes,
tuple::{Deserialize_tuple, Serialize_tuple},
};
use fvm_shared::address::Address;
use num_derive::FromPrimitive;
use serde::{D... | rust | Apache-2.0 | 7f0f8b8a48f44486434bae881ba85785f6f7cf64 | 2026-01-04T20:23:10.651123Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.