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

[ci] Fix #9822: trace_filter does not return failed contract creation #10140

Merged
merged 2 commits into from
Jan 11, 2019

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Jan 7, 2019

Re-opening #10099 for CI

xiaods and others added 2 commits January 3, 2019 00:27
currently trace_filter can't return failed contract creation transaction
but trace_block can query the failed contract creation transaction.it
because the logic of parity-ethereum/ethcore/src/trace/types/filter.rs
Line 109 in 9982eba
```
 _ => false
```

this patch correct the logic:
```
 _ => self.to_address.matches_all()
```

Signed-off-by: Deshi Xiao <xiaods@gmail.com>
@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 7, 2019
@5chdn 5chdn added this to the 2.3 milestone Jan 7, 2019
@tomusdrw tomusdrw requested a review from debris January 9, 2019 09:19
@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 10, 2019
@5chdn 5chdn modified the milestones: 2.3, 2.4 Jan 10, 2019
@sorpaas sorpaas merged commit 1ac1224 into master Jan 11, 2019
@sorpaas sorpaas deleted the 9822-trace-filter branch January 11, 2019 17:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants