Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: use upstream ethabi (#248)
Browse files Browse the repository at this point in the history
* chore: use upstream ethabi

* chore: make clippy happy
  • Loading branch information
gakonst authored Mar 31, 2021
1 parent 971a8dd commit 5dbed7c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
9 changes: 4 additions & 5 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion ethers-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords = ["ethereum", "web3", "celo", "ethers"]
# ethereum related
ethereum-types = { version = "0.11.0", default-features = false }
rlp = { version = "0.5.0", default-features = false }
ethabi = { package = "ethabi-next", version = "13.3.0", default-features = false }
ethabi = { git = "https://github.com/rust-ethereum/ethabi", version = "13.0.0", default-features = false }
arrayvec = { version = "0.5.1", default-features = false }

# crypto
Expand Down
5 changes: 5 additions & 0 deletions ethers-core/src/types/trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ pub struct TransactionTrace {

// ---------------- VmTrace ------------------------------
#[derive(Debug, Clone, PartialEq, Default, Deserialize, Serialize)]
#[allow(clippy::upper_case_acronyms)]
/// A record of a full VM trace for a CALL/CREATE.
pub struct VMTrace {
/// The code to be executed.
Expand All @@ -115,6 +116,7 @@ pub struct VMTrace {
}

#[derive(Debug, Clone, PartialEq, Default, Deserialize, Serialize)]
#[allow(clippy::upper_case_acronyms)]
/// A record of the execution of a single VM operation.
pub struct VMOperation {
/// The program counter.
Expand All @@ -129,6 +131,7 @@ pub struct VMOperation {
}

#[derive(Debug, Clone, PartialEq, Default, Deserialize, Serialize)]
#[allow(clippy::upper_case_acronyms)]
/// A record of an executed VM operation.
pub struct VMExecutedOperation {
/// The total gas used.
Expand All @@ -145,6 +148,7 @@ pub struct VMExecutedOperation {
}

#[derive(Debug, Clone, PartialEq, Default, Deserialize, Serialize)]
#[allow(clippy::upper_case_acronyms)]
/// A diff of some chunk of memory.
pub struct MemoryDiff {
/// Offset into memory the change begins.
Expand All @@ -154,6 +158,7 @@ pub struct MemoryDiff {
}

#[derive(Debug, Clone, PartialEq, Default, Deserialize, Serialize)]
#[allow(clippy::upper_case_acronyms)]
/// A diff of some storage value.
pub struct StorageDiff {
/// Which key in storage is changed.
Expand Down

0 comments on commit 5dbed7c

Please sign in to comment.