Skip to content

fix: remove incorrect comment#880

Merged
tynes merged 1 commit intodevelopfrom
fix/remove-out-of-date-comment
May 14, 2021
Merged

fix: remove incorrect comment#880
tynes merged 1 commit intodevelopfrom
fix/remove-out-of-date-comment

Conversation

@karlfloersch
Copy link
Copy Markdown
Contributor

Description
This comment is:

  1. Out of date. See incorrect comment:
    // Contract creations are signalled by sending a transaction to the zero address.
    and implementation:
    // Creations can be detected by looking at the byte length here.
    bool isCreate = Lib_RLPReader.readBytes(decoded[3]).length == 0;
  2. Is not required. Doesn't actually improve code readability.

So I just deleted it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 14, 2021

🦋 Changeset detected

Latest commit: 88d1b6c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/contracts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@karlfloersch karlfloersch force-pushed the fix/remove-out-of-date-comment branch from 33cffda to ec911e5 Compare May 14, 2021 18:35
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 14, 2021

Codecov Report

Merging #880 (88d1b6c) into develop (cb2e9ad) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #880   +/-   ##
========================================
  Coverage    82.21%   82.21%           
========================================
  Files           48       48           
  Lines         1895     1895           
  Branches       303      303           
========================================
  Hits          1558     1558           
  Misses         337      337           
Impacted Files Coverage Δ
...ethereum/OVM/accounts/OVM_ECDSAContractAccount.sol 0.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 cb2e9ad...88d1b6c. Read the comment docs.

@maurelian maurelian force-pushed the fix/remove-out-of-date-comment branch from ec911e5 to 88d1b6c Compare May 14, 2021 19:04
@maurelian
Copy link
Copy Markdown
Contributor

maurelian commented May 14, 2021

Ugh, rebased locally like a good guy, now I have to wait for the checks.

@tynes tynes merged commit 7dd2f72 into develop May 14, 2021
@tynes tynes deleted the fix/remove-out-of-date-comment branch May 14, 2021 19:53
@gakonst
Copy link
Copy Markdown
Contributor

gakonst commented May 17, 2021

FWIW this kind of PR does not need a changeset

InoMurko pushed a commit to omgnetwork/optimism that referenced this pull request May 25, 2021
theochap pushed a commit that referenced this pull request Dec 10, 2025
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.

5 participants