Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

[beta] Backports #8558

Merged
merged 7 commits into from
May 7, 2018
Merged

[beta] Backports #8558

merged 7 commits into from
May 7, 2018

Commits on May 7, 2018

  1. Fetching logs by hash in blockchain database (openethereum#8463)

    * Fetch logs by hash in blockchain database
    
    * Fix tests
    
    * Add unit test for branch block logs fetching
    
    * Add docs that blocks must already be sorted
    
    * Handle branch block cases properly
    
    * typo: empty -> is_empty
    
    * Remove return_empty_if_none by using a closure
    
    * Use BTreeSet to avoid sorting again
    
    * Move is_canon to BlockChain
    
    * typo: pass value by reference
    
    * Use loop and wrap inside blocks to simplify the code
    
    Borrowed from openethereum#8463 (comment)
    
    * typo: missed a comment
    sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    1aed04f View commit details
    Browse the repository at this point in the history
  2. Pass on storage keys tracing to handle the case when it is not modifi…

    …ed (openethereum#8491)
    
    * Pass on storage keys even if it is not modified
    
    * typo: account and storage query
    
    `to_pod_diff` builds both `touched_addresses` merge and storage keys merge.
    
    * Fix tests
    
    * Use state query directly because of suicided accounts
    
    * Fix a RefCell borrow issue
    
    * Add tests for unmodified storage trace
    
    * Address grumbles
    
    * typo: remove unwanted empty line
    
    * ensure_cached compiles with the original signature
    sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    6f81541 View commit details
    Browse the repository at this point in the history
  3. Update wasmi and pwasm-utils (openethereum#8493)

    * Update wasmi to 0.2
    
    New wasmi supports 32bit platforms and no longer requires a special feature to build for such platforms.
    
    * Update pwasm-utils to 0.1.5
    pepyakin authored and sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    ceb89f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d049df View commit details
    Browse the repository at this point in the history
  5. Enable WebAssembly and Byzantium for Ellaism (openethereum#8520)

    * Enable WebAssembly and Byzantium for Ellaism
    
    * Fix indentation
    
    * Remove empty lines
    ellaismer authored and sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    a2777cf View commit details
    Browse the repository at this point in the history
  6. Don't panic in import_block if invalid rlp (openethereum#8522)

    * Don't panic in import_block if invalid rlp
    
    * Remove redundant type annotation
    
    * Replace RLP header view usage with safe decoding
    
    Using the view will panic with invalid RLP. Here we use Rlp decoding directly which will return a `Result<_, DecoderError>`. While this path currently should not have any invalid RLP - it makes it safer if ever called with invalid RLP from other code paths.
    ascjones authored and sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    646f1b0 View commit details
    Browse the repository at this point in the history
  7. Node table sorting according to last contact data (openethereum#8541)

    * network-devp2p: sort nodes in node table using last contact data
    
    * network-devp2p: rename node contact types in node table json output
    
    * network-devp2p: fix node table tests
    
    * network-devp2p: note node failure when failed to establish connection
    
    * network-devp2p: handle UselessPeer error
    
    * network-devp2p: note failure when marking node as useless
    andresilva authored and sorpaas committed May 7, 2018
    Configuration menu
    Copy the full SHA
    102a348 View commit details
    Browse the repository at this point in the history