Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
273 changes: 133 additions & 140 deletions Cargo.lock

Large diffs are not rendered by default.

145 changes: 75 additions & 70 deletions Cargo.toml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions client/bifrost/evm-tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
name = "fc-evm-tracing"
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
ethereum-types = { version = "0.14", features = ["std"] }
hex = { version = "0.4.3", features = ["serde"] }
serde = { version = "1.0.101", features = ["derive", "std"] }
serde_json = { version = "1.0" }
ethereum-types = { workspace = true, features = ["std"] }
hex = { workspace = true, features = ["serde"] }
serde = { workspace = true, features = ["derive", "std"] }
serde_json = { workspace = true }

fp-rpc-debug = { workspace = true, features = ["std"] }
fp-rpc-evm-tracing-events = { workspace = true, features = ["std"] }

# Substrate
codec = { package = "parity-scale-codec", version = "3.2.2", features = ["std"] }
parity-scale-codec = { workspace = true, features = ["std"] }
sp-std = { workspace = true, features = ["std"] }
2 changes: 1 addition & 1 deletion client/bifrost/evm-tracing/src/formatters/blockscout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::{
CallResult, CallType, CreateResult,
},
};
use codec::{Decode, Encode};
use ethereum_types::{H160, U256};
use parity_scale_codec::{Decode, Encode};
use serde::Serialize;

pub struct Formatter;
Expand Down
2 changes: 1 addition & 1 deletion client/bifrost/evm-tracing/src/formatters/call_tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use crate::listeners::call_list::Listener;
use crate::types::serialization::*;
use serde::Serialize;

use codec::{Decode, Encode};
use ethereum_types::{H160, U256};
use parity_scale_codec::{Decode, Encode};
use sp_std::{cmp::Ordering, vec::Vec};

pub struct Formatter;
Expand Down
2 changes: 1 addition & 1 deletion client/bifrost/evm-tracing/src/types/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use super::serialization::*;
use serde::Serialize;

use codec::{Decode, Encode};
use ethereum_types::{H160, H256, U256};
use parity_scale_codec::{Decode, Encode};
use sp_std::vec::Vec;

#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion client/bifrost/evm-tracing/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

extern crate alloc;

use codec::{Decode, Encode};
use ethereum_types::{H160, H256};
use parity_scale_codec::{Decode, Encode};
use sp_std::vec::Vec;

pub mod block;
Expand Down
2 changes: 1 addition & 1 deletion client/bifrost/evm-tracing/src/types/single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
use super::serialization::*;
use serde::Serialize;

use codec::{Decode, Encode};
use ethereum_types::{H256, U256};
use parity_scale_codec::{Decode, Encode};
use sp_std::{collections::btree_map::BTreeMap, vec::Vec};

#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, Serialize)]
Expand Down
19 changes: 11 additions & 8 deletions client/bifrost/rpc-core/debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
name = "fc-rpc-core-debug"
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
ethereum-types = { version = "0.14", features = ["std"] }
fc-evm-tracing = { workspace = true }
fc-rpc-core-types = { workspace = true }
futures = { version = "0.3.21", features = ["compat"] }
jsonrpsee = { version = "0.16.2", default-features = false, features = ["macros", "server"] }
serde = { version = "1.0.101", features = ["derive"] }
serde_json = { version = "1.0" }
ethereum-types = { workspace = true, features = ["std"] }
futures = { workspace = true, features = ["compat"] }
jsonrpsee = { workspace = true, features = ["macros", "server"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

# Substrate
sp-core = { workspace = true, features = ["std"] }

# Frontier
fc-evm-tracing = { workspace = true }
fc-rpc-core-types = { workspace = true }
16 changes: 9 additions & 7 deletions client/bifrost/rpc-core/trace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "fc-rpc-core-trace"
authors = [ "bifrost-platform" ]
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.6.0"

[dependencies]
ethereum-types = "0.14"
futures = { version = "0.3.1", features = [ "compat" ] }
jsonrpsee = { version = "0.16.2", default-features = false, features = [ "macros", "server" ] }
ethereum-types = { workspace = true, features = ["std"] }
futures = { workspace = true, features = ["compat"] }
jsonrpsee = { workspace = true, features = ["macros", "server"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

# Frontier
fc-evm-tracing = { workspace = true }
fc-rpc-core-types = { workspace = true }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
17 changes: 9 additions & 8 deletions client/bifrost/rpc-core/txpool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[package]
name = "fc-rpc-core-txpool"
authors = [ "bifrost-platform" ]
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.6.0"

[dependencies]
ethereum = { version = "0.14.0", default-features = false, features = [ "with-codec" ] }
ethereum-types = "0.14"
jsonrpsee = { version = "0.16.2", default-features = false, features = [ "macros", "server" ] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
ethereum = { workspace = true, features = ["std", "with-codec"] }
ethereum-types = { workspace = true, features = ["std"] }
jsonrpsee = { workspace = true, features = ["macros", "server"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

fc-rpc-core = { workspace = true }
# Frontier
fc-rpc-core = { workspace = true }
10 changes: 5 additions & 5 deletions client/bifrost/rpc-core/types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "fc-rpc-core-types"
authors = [ "bifrost-platform" ]
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
ethereum-types = "0.14"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
ethereum-types = { workspace = true, features = ["std"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
16 changes: 8 additions & 8 deletions client/bifrost/rpc/debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
name = "fc-rpc-debug"
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
futures = { version = "0.3.21", features = ["compat"] }
hex-literal = "0.3.4"
jsonrpsee = { version = "0.16.2", features = ["macros", "server"] }
tokio = { version = "1.13", features = ["sync", "time"] }
futures = { workspace = true, features = ["compat"] }
hex-literal = { workspace = true }
jsonrpsee = { workspace = true, features = ["macros", "server"] }
tokio = { workspace = true, features = ["sync", "time"] }

# BIFROST
# Bifrost
fc-evm-tracing = { workspace = true }
fc-rpc-core-debug = { workspace = true }
fc-rpc-core-types = { workspace = true }
Expand All @@ -30,8 +30,8 @@ sp-io = { workspace = true, features = ["std"] }
sp-runtime = { workspace = true, features = ["std"] }

# Frontier
ethereum = { version = "0.14.0", default-features = false, features = ["std", "with-codec"] }
ethereum-types = { version = "0.14", features = ["std"] }
ethereum = { workspace = true, features = ["std", "with-codec"] }
ethereum-types = { workspace = true, features = ["std"] }
fc-consensus = { workspace = true }
fc-db = { workspace = true }
fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] }
Expand Down
20 changes: 10 additions & 10 deletions client/bifrost/rpc/trace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@
name = "fc-rpc-trace"
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.6.0"

[dependencies]
ethereum = { version = "0.14.0", features = ["with-codec"] }
ethereum-types = "0.14"
futures = { version = "0.3" }
jsonrpsee = { version = "0.16.2", default-features = false, features = ["macros", "server"] }
ethereum = { workspace = true, features = ["with-codec"] }
ethereum-types = { workspace = true }
futures = { workspace = true }
jsonrpsee = { workspace = true, features = ["macros", "server"] }
log = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
sha3 = "0.10"
substrate-prometheus-endpoint = { workspace = true }
tokio = { version = "1.10", features = ["sync", "time"] }
tracing = "0.1.34"
serde = { workspace = true, features = ["derive"] }
sha3 = { workspace = true }
tokio = { workspace = true, features = ["sync", "time"] }
tracing = { workspace = true }

fc-evm-tracing = { workspace = true }
fc-rpc-core-trace = { workspace = true }
Expand All @@ -35,6 +34,7 @@ sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
sp-transaction-pool = { workspace = true }
substrate-prometheus-endpoint = { workspace = true }

# Frontier
fc-consensus = { workspace = true }
Expand Down
18 changes: 9 additions & 9 deletions client/bifrost/rpc/txpool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "fc-rpc-txpool"
authors = [ "bifrost-platform" ]
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.6.0"

[dependencies]
jsonrpsee = { version = "0.16.2", default-features = false, features = [ "macros", "server" ] }
rlp = "0.5"
serde = { version = "1.0", features = [ "derive" ] }
sha3 = "0.10"
jsonrpsee = { workspace = true, features = ["macros", "server"] }
rlp = { workspace = true }
serde = { workspace = true, features = ["derive"] }
sha3 = { workspace = true }

fc-rpc-core-txpool = { workspace = true }
fp-rpc-txpool = { workspace = true }
fp-rpc-txpool = { workspace = true, features = ["std"] }

# Substrate
frame-system = { workspace = true }
Expand All @@ -27,5 +27,5 @@ sp-runtime = { workspace = true }
sp-std = { workspace = true }

# Frontier
ethereum-types = "0.14"
fc-rpc = { workspace = true, features = [ "rpc-binary-search-estimate" ] }
ethereum-types = { workspace = true, features = ["std"] }
fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] }
16 changes: 8 additions & 8 deletions primitives/bifrost/ext/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
[package]
name = "fp-ext"
authors = [ "bifrost-platform" ]
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
ethereum-types = { version = "0.14", default-features = false }
ethereum-types = { workspace = true }

# BIFROST
# Frontier
fp-rpc-evm-tracing-events = { workspace = true }

# Substrate
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
parity-scale-codec = { workspace = true }
sp-externalities = { workspace = true }
sp-runtime-interface = { workspace = true }
sp-std = { workspace = true }

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"parity-scale-codec/std",
"ethereum-types/std",
"fp-rpc-evm-tracing-events/std",
"sp-externalities/std",
"sp-runtime-interface/std",
"sp-std/std",
]
]
2 changes: 1 addition & 1 deletion primitives/bifrost/ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
use sp_runtime_interface::runtime_interface;

use codec::Decode;
use parity_scale_codec::Decode;
use sp_std::vec::Vec;

use fp_rpc_evm_tracing_events::{Event, EvmEvent, GasometerEvent, RuntimeEvent, StepEventFilter};
Expand Down
14 changes: 6 additions & 8 deletions primitives/bifrost/rpc/debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
name = "fp-rpc-debug"
authors = ["bifrost-platform"]
edition = "2021"
homepage = "https://thebifrost.io"
homepage = "https://www.bifrostnetwork.com"
license = "Apache-2.0"
repository = "https://github.com/bifrost-platform/bifrost-frontier"
version = "0.1.0"

[dependencies]
environmental = { version = "1.1.2", default-features = false }
environmental = { workspace = true }
ethereum = { workspace = true }
ethereum-types = { workspace = true }
hex = { version = "0.4.3", optional = true, features = ["serde"] }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
hex = { workspace = true, optional = true, features = ["serde"] }
serde = { workspace = true, optional = true, features = ["derive"] }

# Substrate
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false }
parity-scale-codec = { workspace = true }
sp-api = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
Expand All @@ -26,13 +25,12 @@ sp-std = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"parity-scale-codec/std",
"environmental/std",
"ethereum-types/std",
"ethereum/std",
"hex",
"serde",
"serde_json",
"sp-api/std",
"sp-core/std",
"sp-io/std",
Expand Down
2 changes: 1 addition & 1 deletion primitives/bifrost/rpc/debug/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#![cfg_attr(not(feature = "std"), no_std)]

use codec::{Decode, Encode};
use ethereum::{TransactionV0 as LegacyTransaction, TransactionV2 as Transaction};
use ethereum_types::H256;
use parity_scale_codec::{Decode, Encode};
use sp_std::vec::Vec;

sp_api::decl_runtime_apis! {
Expand Down
Loading