Skip to content

Require constant, view, and pure methods be invoked by .call #146

@cgewecke

Description

@cgewecke

With 0.3.5 we've begun using a testrpc that implements the Byzantium fork. Unfortunately we're also pushing up against the limits of solidity-coverage's current design and there were some new bugs discovered while doing the upgrade:

  • highest working pragma is 0.4.18. Above that you will get compilation errors complaining that the non-state-changing nature of constant and view methods has been violated.
  • pure modifier compiles but returns a transaction object rather than a value. If your tests check / use that value they will fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions