File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import BigInt
15
15
///
16
16
/// Additional info about base fee options: https://ethereum.org/en/developers/docs/gas/#post-london
17
17
public extension Web3 {
18
- func verifyGasLimit( parentGasLimit: BigUInt , currentGasLimit: BigUInt ) -> Bool {
18
+ private func verifyGasLimit( parentGasLimit: BigUInt , currentGasLimit: BigUInt ) -> Bool {
19
19
var diff = BigInt ( parentGasLimit) - BigInt( currentGasLimit)
20
20
21
21
// make diff positive number
@@ -105,12 +105,6 @@ public extension Web3 {
105
105
///
106
106
/// Block number: 7_280_000
107
107
case Constantinople
108
- /// Petersburg switch block
109
- ///
110
- /// Date: 27.11.2019
111
- ///
112
- /// Block number: 7_280_000
113
- case Petersburg
114
108
/// Istanbul switch block
115
109
///
116
110
/// Date: 07.12.2019
@@ -146,7 +140,6 @@ public extension Web3 {
146
140
switch self {
147
141
case . Byzantium: return 4_370_000
148
142
case . Constantinople: return 7_280_000
149
- case . Petersburg: return 7_280_000
150
143
case . Istanbul: return 9_069_000
151
144
case . MuirGlacier: return 9_200_000
152
145
case . Berlin: return 12_244_000
You can’t perform that action at this time.
0 commit comments