Skip to content
  1. Aug 20, 2018
  2. Aug 17, 2018
  3. Aug 14, 2018
  4. Aug 13, 2018
    • Wei Tang's avatar
      Remove pass-by-reference return data value from executive (#9211) · ff716e77
      Wei Tang authored
      * Remove pass-by-reference return data value from executive
      
      * Fix tests
      
      * Fix a missing test output
      
      * typo: wasm_activation_test
      
      * Tracing change in output
      
      * json_tests: fix compile
      
      * typo: 0..32 -> ..32 to keep it consistent with other occurance
      
      * Fix tests
      ff716e77
    • Wei Tang's avatar
      Allow single opcode stepping for EVM (#9051) · 9c595aff
      Wei Tang authored
      * Feed in ActionParams on VM creation
      
      * Fix ethcore after Vm interface change
      
      * Move informant inside Interpreter struct
      
      * Move do_trace to Interpreter struct
      
      * Move all remaining exec variables to Interpreter struct
      
      * Refactor VM to allow single opcode step
      
      * Fix all EVM tests
      
      * Fix all wasm tests
      
      * Fix wasm runner tests
      
      * Fix a check case where code length is zero
      
      * Fix jsontests compile
      
      * Fix cargo lock
      
      * Use match instead of expect
      
      * Use cheaper check reader.len() == 0 for the initial special case
      
      * Get rid of try_and_done! macro by using Result<(), ReturnType>
      
      * Use Never instead of ()
      
      * Fix parity-bytes path
      
      * Bypass gasometer lifetime problem by borrow only for a instance
      
      * typo: missing {
      
      * Fix ethcore test compile
      
      * Fix evm tests
      9c595aff
    • ordian's avatar
      Fix load share (#9321) · 98dbd1fd
      ordian authored
      * fix(light_sync): calculate `load_share` properly
      
      * refactor(api.rs): extract `light_params` fn, add test
      
      * style(api.rs): add trailing commas
      98dbd1fd
    • Wei Tang's avatar
      Implement EIP234 block_hash for eth_getLogs (#9256) · a6df4528
      Wei Tang authored
      * Implement EIP234
      
      * Make filter conversion returns error if both blockHash and from/toBlock is found
      
      This also changes PollFilter to store the EthFilter type, instead of the jsonrpc one, saving repeated conversion.
      
      * Return error if block filtering target is not found in eth_getLogs
      
      Use the old behavior (unwrap_or_default) for anywhere else.
      
      * fix test: secret_store
      
      * Fix weird indentation
      
      * Make client log filter return error in case a block cannot be found
      
      * Return blockId error in rpc
      
      * test_client: allow return error on logs
      
      * Add a mocked test for eth_getLogs error
      
      * fix: should return error if from_block/to_block greater than best block number
      
      * Add notes on pending
      
      * Add comment for UNSUPPORTED_REQUEST
      
      * Address grumbles
      
      * Return err if from > to
      a6df4528
  5. Aug 10, 2018
  6. Aug 09, 2018
  7. Aug 08, 2018
    • Marek Kotewicz's avatar
      ethcore sync decodes rlp less often (#9264) · 78a38e98
      Marek Kotewicz authored
      * deserialize block only once during verification
      
      * ethcore-sync uses Unverified
      
      * ethcore-sync uses Unverified
      
      * fixed build error
      
      * removed Block::is_good
      
      * applied review suggestions
      
      * ethcore-sync deserializes headers and blocks only once
      78a38e98
  8. Aug 07, 2018
  9. Aug 06, 2018
  10. Aug 03, 2018
  11. Aug 02, 2018
    • Pierre Krieger's avatar
      Fix path to parity.h (#9274) · 0cfc6bf2
      Pierre Krieger authored
      * Fix path to parity.h
      
      * Fix other paths as well
      0cfc6bf2
    • Tomasz Drwięga's avatar
      Propagate transactions for next 4 blocks. (#9265) · 90d7823a
      Tomasz Drwięga authored
      Closes #9255 
      
      This PR also removes the limit of max 64 transactions per packet, currently we only attempt to prevent the packet size to go over 8MB. This will only be the case for super-large transactions or high-block-gas-limit chains.
      
      Patching this is important only for chains that have blocks that can fit more than 4k transactions (over 86M block gas limit)
      
      For mainnet, we should actually see a tiny bit faster propagation since instead of computing 4k pending set, we only need `4 * 8M / 21k = 1523` transactions.
      
      Running some tests on `dekompile` node right now, to check how it performs in the wild.
      90d7823a
    • Marek Kotewicz's avatar
      decode block rlp less often (#9252) · b4ae1b65
      Marek Kotewicz authored
      in total:
      - removed 4 redundant rlp deserializations
      - avoid 1 redundant block data copy
      b4ae1b65
    • cheme's avatar
      Fix eternalities tests can_create (missing parameter) (#9270) · f442665c
      cheme authored and Wei Tang's avatar Wei Tang committed
      f442665c