fix: geth trace types (#1682)
* fix: geth trace types * update: changelog entry added
This commit is contained in:
parent
c341f31fc4
commit
c9c22f4dfa
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
### Unreleased
|
### Unreleased
|
||||||
|
|
||||||
|
- Fix geth trace types for debug_traceTransaction rpc
|
||||||
- Fix RLP decoding of legacy `Transaction`
|
- Fix RLP decoding of legacy `Transaction`
|
||||||
- Fix RLP encoding of `TransactionReceipt` [#1661](https://github.com/gakonst/ethers-rs/pull/1661)
|
- Fix RLP encoding of `TransactionReceipt` [#1661](https://github.com/gakonst/ethers-rs/pull/1661)
|
||||||
- Add `Unit8` helper type [#1639](https://github.com/gakonst/ethers-rs/pull/1639)
|
- Add `Unit8` helper type [#1639](https://github.com/gakonst/ethers-rs/pull/1639)
|
||||||
|
|
|
@ -23,15 +23,15 @@ pub struct StructLog {
|
||||||
#[serde(rename = "gasCost")]
|
#[serde(rename = "gasCost")]
|
||||||
pub gas_cost: u64,
|
pub gas_cost: u64,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub memory: Option<Vec<u8>>,
|
pub memory: Option<Vec<H256>>,
|
||||||
pub op: String,
|
pub op: String,
|
||||||
pub pc: U256,
|
pub pc: u64,
|
||||||
#[serde(rename = "refund", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "refund", skip_serializing_if = "Option::is_none")]
|
||||||
pub refund_counter: Option<u64>,
|
pub refund_counter: Option<u64>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub stack: Option<Vec<U256>>,
|
pub stack: Option<Vec<U256>>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub storage: Option<BTreeMap<H160, BTreeMap<H256, H256>>>,
|
pub storage: Option<BTreeMap<H256, H256>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Bindings for additional `debug_traceTransaction` options
|
/// Bindings for additional `debug_traceTransaction` options
|
||||||
|
|
Loading…
Reference in New Issue