1. Aug 29, 2018
    • Wei Tang's avatar
      Add block reward contract config to ethash and allow off-chain contracts (#9312) · 74ce0f73
      Wei Tang authored
      This adds block reward contract config to ethash. A new config `blockRewardContractCode` is also added to both Aura and ethash. When specified, it will execute the code directly and overrides any `blockRewardContractAddress` config. Having this `blockRewardContractCode` config allows chains to deploy hard fork by simply replacing the current config value, without the need from us to support any `multi` block reward scheme.
      74ce0f73
    • Anton Gavrilov's avatar
      Private packets verification and queue refactoring (#8715) · 1073d562
      Anton Gavrilov authored and Wei Tang's avatar Wei Tang committed
      * Verify private transaction before propagating
      
      * Private transactions queue reworked with tx pool queue direct usage
      
      * Styling fixed
      
      * Prevent resending private packets to the sender
      
      * Process signed private transaction packets via io queue
      
      * Test fixed
      
      * Build and test fixed after merge
      
      * Comments after review fixed
      
      * Signed transaction taken from verified
      
      * Fix after merge
      
      * Pool scoring generalized in order to use externally
      
      * Lib refactored according to the review comments
      
      * Ready state refactored
      
      * Redundant bound and copying removed
      
      * Fixed build after the merge
      
      * Forgotten case reworked
      
      * Review comments fixed
      
      * Logging reworked, target added
      
      * Fix after merge
      1073d562
  2. Aug 28, 2018
  3. Aug 27, 2018
  4. Aug 25, 2018
    • Denis S. Soldatov aka General-Beck's avatar
      Updating the CI system (#8765) · bd3bc5c1
      Denis S. Soldatov aka General-Beck authored
      
      
      * Updating the CI system with the publication of releases and binary files on github
      
      Signed-off-by: default avatarDenis S. Soldatov aka General-Beck <[email protected]>
      
      * add missed scripts
      
      * chmod +x scripts
      
      * fix download link for github
      
      * rebuilding CI scripts
      
      * small fixes
      
      * update submodule wasm tests
      
      * ci: fix merge leftovers
      
      * ci: remove gitlab-next from ci triggers
      
      * ci: fix git add in docs script
      
      * ci: use nightly instead of master for publish triggers
      
      * ci: remove sleep from gitlab config
      
      * ci: replace ':' with '-' in gitlab targets
      
      * ci: fix recursive copy in docs script
      bd3bc5c1
    • Jim Posen's avatar
      Better support for eth_getLogs in light mode (#9186) · 9ed43230
      Jim Posen authored
      * Light client on-demand request for headers range.
      
      * Cache headers in HeaderWithAncestors response.
      
      Also fulfills request locally if all headers are in cache.
      
      * LightFetch::logs fetches missing headers on demand.
      
      * LightFetch::logs limit the number of headers requested at a time.
      
      * LightFetch::logs refactor header fetching logic.
      
      * Enforce limit on header range length in light client logs request.
      
      * Fix light request tests after struct change.
      
      * Respond to review comments.
      9ed43230
  5. Aug 24, 2018
  6. Aug 22, 2018
  7. Aug 21, 2018
  8. Aug 20, 2018
  9. Aug 17, 2018
  10. Aug 14, 2018
  11. 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
  12. Aug 10, 2018