leapdao / leap-contracts

LeapDAO's implementation of More Viable Plasma / Plasma Leap
https://leapdao.org
Mozilla Public License 2.0
45 stars 18 forks source link

feat: check challenger to prevent blind front-running #231

Closed troggy closed 5 years ago

troggy commented 5 years ago

Challenger is required to supply his address in a call data.

Breaking change: clients need to update ABIs and challenge.. calls

Resolves #214

codecov-io commented 5 years ago

Codecov Report

Merging #231 into master will increase coverage by 0.43%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #231      +/-   ##
==========================================
+ Coverage   76.92%   77.35%   +0.43%     
==========================================
  Files          34       34              
  Lines         793      795       +2     
  Branches      173      175       +2     
==========================================
+ Hits          610      615       +5     
+ Misses         75       73       -2     
+ Partials      108      107       -1
Impacted Files Coverage Δ
contracts/ExitHandler.sol 67.76% <100%> (+0.42%) :arrow_up:
contracts/PriorityQueue.sol 100% <0%> (+10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f5ccb19...6a37585. Read the comment docs.