Skip to content

Commit

Permalink
fix TestEvmTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Jan 21, 2022
1 parent b661c0b commit 8caf4e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions chain-impl-mockchain/src/ledger/tests/evm_tests.rs
Expand Up @@ -162,16 +162,16 @@ impl TryFrom<TestAccountState> for Account {
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
struct TestEvmTransaction {
data: Vec<String>,
gas_limit: Vec<String>,
data: String,
gas_limit: String,
gas_price: String,
nonce: String,
r: String,
s: String,
v: String,
sender: String,
to: String,
value: Vec<String>,
value: String,
}

#[derive(Deserialize)]
Expand Down Expand Up @@ -207,6 +207,8 @@ struct TestBlock {
struct TestCase {
pre: BTreeMap<String, TestAccountState>,
network: String,
genesis_block_header: TestBlockHeader,
blocks: Vec<TestBlock>,
post_state: BTreeMap<String, TestAccountState>,
}

Expand Down

0 comments on commit 8caf4e1

Please sign in to comment.