implemented rpc eth_estimateGas method, added tests for rpc eth_call and eth_estimateGas

This commit is contained in:
debris
2016-03-20 11:34:19 +01:00
committed by arkpar
parent 048dba7ef3
commit d5cc2c9e67
7 changed files with 107 additions and 18 deletions

View File

@@ -37,7 +37,7 @@ pub fn contract_address(address: &Address, nonce: &U256) -> Address {
}
/// Transaction execution receipt.
#[derive(Debug)]
#[derive(Debug, PartialEq, Clone)]
pub struct Executed {
/// Gas paid up front for execution of transaction.
pub gas: U256,