Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Testing enhancements #76

Open
wants to merge 4 commits into
base: telos-main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
9 changes: 5 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,8 @@ reth-node-telos = { path = "crates/telos/node" }
reth-telos-rpc = { path = "crates/telos/rpc" }
reth-telos-primitives-traits = { path = "crates/telos/primitives-traits" }
reth-telos-rpc-engine-api = { path = "crates/telos/rpc-engine-api" }
antelope-client = { git = "https://github.com/telosnetwork/antelope-rs", branch = "master" }
# antelope-client = { git = "https://github.com/telosnetwork/antelope-rs", branch = "master" }
antelope-client = { git = "https://github.com/telosnetwork/antelope-rs", rev = "c485ff3e0a3e247c85c204b41144765accefbbc3" }

[patch.crates-io]
#alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "8c499409"}
Expand Down
1 change: 1 addition & 0 deletions crates/telos/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ serde_json = "1.0.122"
tokio = "1.39.2"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
lazy_static = "1.5.0"

[features]
telos = [
Expand Down
22 changes: 11 additions & 11 deletions crates/telos/node/src/two_way_storage_compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ use reth::providers::StateProviderBox;
use reth_db::{PlainAccountState, PlainStorageState};

#[derive(Debug, Clone, Default, Serialize, Deserialize, StructPacker)]
struct AccountRow {
index: u64,
address: Checksum160,
account: Name,
nonce: u64,
code: Vec<u8>,
balance: Checksum256,
pub struct AccountRow {
pub index: u64,
pub address: Checksum160,
pub account: Name,
pub nonce: u64,
pub code: Vec<u8>,
pub balance: Checksum256,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize, StructPacker)]
struct AccountStateRow {
index: u64,
key: Checksum256,
value: Checksum256,
pub struct AccountStateRow {
pub index: u64,
pub key: Checksum256,
pub value: Checksum256,
}

/// This struct holds matching statistics
Expand Down
Loading
Loading