2020-12-01 13:46:26 +00:00
|
|
|
{"errors":[{"component":"general","errorCode":"6328","formattedMessage":"Warning: CHC: Assertion violation happens here.
|
2020-10-14 15:44:40 +00:00
|
|
|
Counterexample:
|
|
|
|
|
|
|
|
x = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
2020-12-29 08:39:45 +00:00
|
|
|
C.constructor()
|
|
|
|
C.f(0)
|
2020-12-10 11:15:52 +00:00
|
|
|
--> A:4:47:
|
|
|
|
|
|
|
|
|
4 | contract C { function f(uint x) public pure { assert(x > 0); } }
|
|
|
|
| ^^^^^^^^^^^^^
|
2020-12-01 13:46:26 +00:00
|
|
|
|
2020-12-02 17:40:48 +00:00
|
|
|
","message":"CHC: Assertion violation happens here.
|
|
|
|
Counterexample:
|
2020-10-14 15:44:40 +00:00
|
|
|
|
|
|
|
x = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
2020-12-29 08:39:45 +00:00
|
|
|
C.constructor()
|
|
|
|
C.f(0)","severity":"warning","sourceLocation":{"end":150,"file":"A","start":137},"type":"Warning"}],"sources":{"A":{"id":0}}}
|