@exodus/web3-ethereum 13.6.0 → 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
- // Note: we consider 100 million gas units as a threshold value (BSC has that highest limit at the moment).
61
- const maximumBlockGasLimit = hexToBN('0x3b9aca00');
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
  };
@@ -255,10 +256,6 @@ export function exposeHandlers(rpc, deps) {
255
256
  return sendRawTransaction(rawTransaction);
256
257
  });
257
258
  exposeEvmFunction('personal_sign', approveAndSignMessage);
258
- exposeEvmFunction('eth_sign', async (account, message) =>
259
- // Should we really be using `personalSign` here?
260
- // See: https://docs.metamask.io/guide/signing-data.html#a-brief-history.
261
- approveAndSignMessage(message));
262
259
  exposeEvmFunction('eth_signTypedData_v1', async (typedData) => {
263
260
  await assertTrusted();
264
261
  await ensureUnlocked();
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.0",
4
+ "version": "13.6.2",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "module": "lib/index.js",
@@ -50,7 +50,7 @@
50
50
  "eth-rpc-errors": "^4.0.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@exodus/assets": "^11.5.0",
53
+ "@exodus/assets": "^11.6.0",
54
54
  "@exodus/ethereum-meta": "^2.9.1",
55
55
  "@exodus/json-rpc": "^1.11.0",
56
56
  "@exodus/schemasafe": "^1.0.0",
@@ -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": "e5aeeccd45a3877867520b2ad7f3dc35745681fb"
67
+ "gitHead": "b253e91da79e0250b3078593770da5a99104a673"
68
68
  }