Commit 9825f68
authored
add explicit types for blockdata gas limit (#609)
This adds explicit types to the constants `GAS_LIMIT_MINIMUM` and `GAS_LIMIT_MAXIMUM` for all three currently supported changes: `Linea`, `Ethereum` and `OldLinea`. This change is necessary to ensure that, when the `Trace.java` file is generated, the constant always has the same type. Since these are given the type `i64` here, they will always generate a Java constant of type `BigInteger`.1 parent 061dab9 commit 9825f68
File tree
3 files changed
+6
-6
lines changed- blockdata/processing/gaslimit
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
0 commit comments