Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3.x with latest 1.x #4275

Merged
merged 19 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [8, 10, 11, 12, 13]
node: [11, 12, 13, 14]
env:
TEST: "unit"
steps:
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 11, 12, 13]
node: [ 11, 12, 13, 14]
env:
TEST: "eth2"
steps:
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,6 @@ Released with 1.0.0-beta.37 code base.

- Removing the underscore package

## [Unreleased]

## [1.5.0]

### Added
Expand All @@ -418,6 +416,8 @@ Released with 1.0.0-beta.37 code base.
- Changing web3 connection example from lets to const (#3967)
- Updated the documentation for the transaction object to include EIP-2718 and EIP-1559 options (#4188)

## [Unreleased]

## [3.0.0]

### Changed
Expand All @@ -427,4 +427,4 @@ Released with 1.0.0-beta.37 code base.

### Removed

- Removed bzz and shh api (#3909)
- Removed bzz and shh api (#3909)
24 changes: 12 additions & 12 deletions dist/web3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0",
"version": "1.5.2",
"lerna": "2.0.0",
"command": {
"init": {
Expand Down
10,452 changes: 5,789 additions & 4,663 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Ethereum JavaScript API wrapper repository",
"license": "LGPL-3.0",
"engines": {
"node": ">=8.0.0"
"node": ">=11.0.0"
},
"main": "./packages/web3/src/index.js",
"bundlesize": [
Expand Down Expand Up @@ -113,16 +113,16 @@
"crypto-js": "^3.3.0",
"decache": "^4.6.0",
"dependency-check": "^4.1.0",
"ethers": "^5.1.4",
"ethers": "^5.4.4",
"ganache-cli": "^6.12.0",
"jshint": "^2.12.0",
"karma": "^5.2.3",
"karma": "^6.3.4",
"karma-browserify": "^7.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.3.0",
"karma-mocha": "^2.0.1",
"karma-spec-reporter": "0.0.32",
"lerna": "^3.22.1",
"lerna": "^4.0.0",
"mocha": "^6.2.3",
"nyc": "^14.1.1",
"pify": "^4.0.1",
Expand Down
36 changes: 34 additions & 2 deletions packages/web3-core-helpers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-helpers",
"version": "1.4.0",
"version": "1.5.2",
"description": "Web3 core tools helper for sub packages. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-helpers",
"license": "LGPL-3.0",
Expand All @@ -14,8 +14,8 @@
},
"main": "lib/index.js",
"dependencies": {
"web3-eth-iban": "1.4.0",
"web3-utils": "1.4.0"
"web3-eth-iban": "1.5.2",
"web3-utils": "1.5.2"
},
"devDependencies": {
"@types/node": "^12.12.6",
Expand Down
6 changes: 5 additions & 1 deletion packages/web3-core-helpers/src/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,12 @@ var _txInputFormatter = function (options) {
if (options.gas || options.gasLimit) {
options.gas = options.gas || options.gasLimit;
}

if (options.maxPriorityFeePerGas || options.maxFeePerGas) {
delete options.gasPrice;
}

['gasPrice', 'gas', 'value', 'nonce'].filter(function (key) {
['gasPrice', 'gas', 'value', 'maxPriorityFeePerGas', 'maxFeePerGas', 'nonce'].filter(function (key) {
return options[key] !== undefined;
}).forEach(function (key) {
options[key] = utils.numberToHex(options[key]);
Expand Down
Loading