Socket
Socket
Sign inDemoInstall

web3-core-method

Package Overview
Dependencies
6
Maintainers
3
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.2 to 1.5.3-rc.0

5

lib/index.js

@@ -685,3 +685,4 @@ /*

const [block, gasPrice] = responses;
if (block && block.baseFeePerGas) {
if ((tx.type === '0x2' || tx.type === undefined) &&
(block && block.baseFeePerGas)) {
// The network supports EIP-1559

@@ -698,3 +699,3 @@ // Taken from https://github.com/ethers-io/ethers.js/blob/ba6854bdd5a912fe873d5da494cb5c62c190adde/packages/abstract-provider/src.ts/index.ts#L230

else {
maxPriorityFeePerGas = tx.maxPriorityFeePerGas || '0x3B9ACA00'; // 1 Gwei
maxPriorityFeePerGas = tx.maxPriorityFeePerGas || '0x9502F900'; // 2.5 Gwei
maxFeePerGas = tx.maxFeePerGas ||

@@ -701,0 +702,0 @@ utils.toHex(utils.toBN(block.baseFeePerGas)

12

package.json
{
"name": "web3-core-method",
"version": "1.5.2",
"version": "1.5.3-rc.0",
"description": "Creates the methods on the web3 modules. This is an internal package.",

@@ -19,6 +19,6 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-method",

"@ethersproject/transactions": "^5.0.0-beta.135",
"web3-core-helpers": "1.5.2",
"web3-core-promievent": "1.5.2",
"web3-core-subscriptions": "1.5.2",
"web3-utils": "1.5.2"
"web3-core-helpers": "1.5.3-rc.0",
"web3-core-promievent": "1.5.3-rc.0",
"web3-core-subscriptions": "1.5.3-rc.0",
"web3-utils": "1.5.3-rc.0"
},

@@ -29,3 +29,3 @@ "devDependencies": {

},
"gitHead": "a57dd3c5db0e4acb5b326714bd9a2d7ada00c2dc"
"gitHead": "7fcb2ff5504921097591882f7d72bbf8d24f71b4"
}

@@ -853,3 +853,6 @@ /*

const [block, gasPrice] = responses;
if (block && block.baseFeePerGas) {
if (
(tx.type === '0x2' || tx.type === undefined) &&
(block && block.baseFeePerGas)
) {
// The network supports EIP-1559

@@ -867,3 +870,3 @@

} else {
maxPriorityFeePerGas = tx.maxPriorityFeePerGas || '0x3B9ACA00'; // 1 Gwei
maxPriorityFeePerGas = tx.maxPriorityFeePerGas || '0x9502F900'; // 2.5 Gwei
maxFeePerGas = tx.maxFeePerGas ||

@@ -870,0 +873,0 @@ utils.toHex(

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc