@exodus/web3-ethereum 13.6.1 → 13.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -57,8 +57,9 @@ const isValidGasLimitValue = (value) => {
|
|
|
57
57
|
if (!value) {
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
|
-
//
|
|
61
|
-
|
|
60
|
+
// Maximum block gas limit is 125 million, which is actually our current highest max block gas limit coming from the Base network.
|
|
61
|
+
// Also, it might be smart to actually encode each network's max block gas limit as this here applies to all.
|
|
62
|
+
const maximumBlockGasLimit = hexToBN('0x7735940');
|
|
62
63
|
const proposedGasLimit = hexToBN(value);
|
|
63
64
|
return proposedGasLimit.lte(maximumBlockGasLimit);
|
|
64
65
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/web3-ethereum",
|
|
3
3
|
"description": "Apps connectivity library for EVM-compatible chains.",
|
|
4
|
-
"version": "13.6.
|
|
4
|
+
"version": "13.6.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"module": "lib/index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Aweb3-ethereum"
|
|
65
65
|
},
|
|
66
66
|
"homepage": "https://github.com/ExodusMovement/assets/tree/master/web3/web3-ethereum",
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "b253e91da79e0250b3078593770da5a99104a673"
|
|
68
68
|
}
|