File tree 2 files changed +5
-1
lines changed
contracts/src/exits/utils 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ library BondSize {
31
31
pure
32
32
returns (Params memory )
33
33
{
34
+ // These requires would make compile to fail without optimizer on
35
+ // This contract itself would be fine, the problem seems to be the caller of this function cannot be inside constructor
36
+ // See this commit that solves the compiler issue:
37
+ // https://github.com/omisego/plasma-contracts/commit/b1161ef823076d978b925cd4f23776915bfcc020
34
38
require (initialBondSize > 0 , "initialBondSize cannot be 0 " );
35
39
require (lowerBoundDivisor > 0 , "lowerBoundDivisor cannot be 0 " );
36
40
require (upperBoundMultiplier > 0 , "upperBoundMultiplier cannot be 0 " );
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module.exports = {
63
63
version : '0.5.12' ,
64
64
settings : {
65
65
optimizer : {
66
- enabled : true ,
66
+ enabled : false ,
67
67
runs : 200 ,
68
68
} ,
69
69
} ,
You can’t perform that action at this time.
0 commit comments