Skip to content

Conversation

@cgewecke
Copy link
Member

@cgewecke cgewecke commented Jun 8, 2020

#510

solc 0.6.x is strict about overriding inherited methods. If a file has multiple contracts in it with an inheritance relationship between them, the public instrumentation method declared at the top of each must be unique per contract.

Prior to this PR the method name was just the hash of the filename.

@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2020

Codecov Report

Merging #511 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #511   +/-   ##
=======================================
  Coverage   99.24%   99.25%           
=======================================
  Files          20       20           
  Lines         791      801   +10     
=======================================
+ Hits          785      795   +10     
  Misses          6        6           
Impacted Files Coverage Δ
lib/injector.js 100.00% <100.00%> (ø)
lib/parse.js 96.10% <100.00%> (+0.05%) ⬆️
lib/registrar.js 100.00% <100.00%> (ø)

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 1b379c2...e930a4d. Read the comment docs.

@cgewecke cgewecke merged commit 1b8b730 into master Jun 8, 2020
@cgewecke cgewecke deleted the fix/same-file-inheritance branch June 8, 2020 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants