Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
shamardy committed Jun 29, 2018
1 parent b0be065 commit e05cadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/src/v1/tests/mocked/traces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ fn rpc_trace_replay_transaction() {
let tester = io();

let request = r#"{"jsonrpc":"2.0","method":"trace_replayTransaction","params":["0x0000000000000000000000000000000000000000000000000000000000000005", ["trace", "stateDiff", "vmTrace"]],"id":1}"#;
let response = r#"{"jsonrpc":"2.0","result":{"TransactionHash":null,"output":"0x010203","stateDiff":null,"trace":[],"vmTrace":null},"id":1}"#;
let response = r#"{"jsonrpc":"2.0","result":{"output":"0x010203","stateDiff":null,"trace":[],"transactionHash":"0x0000000000000000000000000000000000000000000000000000000000000000","vmTrace":null},"id":1}"#;

assert_eq!(tester.io.handle_request_sync(request), Some(response.to_owned()));
}
Expand Down

0 comments on commit e05cadd

Please sign in to comment.