Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 674c403

Browse files
spacesailor24frankiebeedependabot[bot]slhodakthesuperb1
authored
Update 3.x with latest 1.x (#3977)
* Replace hardcoded infura endpoints (#3943) * Replace hardcoded infura endpoints * infura link changelog * WARNING Exposing secrets, rotate infura keys after debugging is finished * Merging geth-dev-assistant updates (#3950) * Bump geth-dev-assistant to 0.1.9 * npm i * bump geth-dev-assistant * Remove logs * use posinstall to do deprecation warnings (#3917) * use posinstall to do deprecation warnings * add to change log * add preinstall warning * remove preinstall * add warnings to bzz and shh package.json Co-authored-by: Wyatt Barnes <[email protected]> * Bump elliptic from 6.5.3 to 6.5.4 in /packages/web3-eth-accounts (#3941) Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <[email protected]> * Bump elliptic from 6.5.3 to 6.5.4 in /packages/web3-bzz (#3940) * Bump elliptic from 6.5.3 to 6.5.4 in /packages/web3-bzz Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <[email protected]> * Update CHANGELOG Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <[email protected]> Co-authored-by: Wyatt Barnes <[email protected]> * Bump elliptic from 6.5.3 to 6.5.4 in /packages/web3-core-requestmanager (#3945) * Bump elliptic from 6.5.3 to 6.5.4 in /packages/web3-core-requestmanager Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <[email protected]> * Update CHANGELOG Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <[email protected]> * add nvmrc file (#3817) * add nvmrc file * Update changelog Co-authored-by: Wyatt Barnes <[email protected]> Co-authored-by: Wyatt Barnes <[email protected]> * Rename tsc to compile (#3957) (#3958) * Change 'tsc' command in scripts & lerna run to 'compile' * Update changelog * Undo incorrect rename * Checking if e2e test is deterministic Co-authored-by: Sam Hodak <[email protected]> Co-authored-by: Sam Hodak <[email protected]> * Debugging failing tests (#3959) (#3960) * Remote node provider edits * remote node provider documentation edits Co-authored-by: smudgil <[email protected]> Co-authored-by: smudgil <[email protected]> * Clarify commitment to semantic versioning (#3961) (#3962) see discussion in the issue #3758 Co-authored-by: LudwikJaniuk <[email protected]> Co-authored-by: LudwikJaniuk <[email protected]> * Feature/web3 eth iban es6 (#3964) (#3965) * Feature/web3 eth iban es6 (#3964) * web3-eth-iban es6 rewrite - replace `var` with `const` and `let` * web3-eth-iban es6 rewrite - replace object prototype with class * web3-eth-iban code style fix Co-authored-by: Loredana <[email protected]> * Update changelog Co-authored-by: Loredana <[email protected]> Co-authored-by: Frankie <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Hodak <[email protected]> Co-authored-by: smudgil <[email protected]> Co-authored-by: LudwikJaniuk <[email protected]> Co-authored-by: Loredana <[email protected]>
1 parent f196996 commit 674c403

File tree

38 files changed

+52331
-30298
lines changed

38 files changed

+52331
-30298
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
]
7676
env:
7777
TEST: ${{ matrix.testCmd }}
78+
INFURA_HTTP: ${{ secrets.INFURA_HTTP }}
7879
steps:
7980
- uses: actions/setup-node@v1
8081
with:
@@ -104,6 +105,8 @@ jobs:
104105
runs-on: windows-latest
105106
env:
106107
TEST: "e2e_windows"
108+
INFURA_HTTP: ${{ secrets.INFURA_HTTP }}
109+
INFURA_WSS: ${{ secrets.INFURA_WSS }}
107110
steps:
108111
- uses: actions/setup-node@v1
109112
with:

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v14.15.1

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,18 @@ Released with 1.0.0-beta.37 code base.
356356
### Added
357357

358358
- Github action for running tests for `web3-eth2-core` and `web3-eth2-beaconchain` packages (#3892)
359+
- Added description to documentation on how to connect using a remote node provider (#3884)
359360
- Added Security risk warning to docs for `web3.utils.soliditySha3` (#3908)
361+
- `.nvmrc` file using Node.js version `v.14.15.1` (#3817)
360362

361363
### Changed
362364

363365
- Unified babel compiler for `web3-eth2-core` and `web3-eth2-beaconchain` (#3892)
366+
- Renamed the `tsc` script in all packages to `compile`; updates the corresponding `lerna run` usage in the main `package.json` (#3894)
367+
- moved deprecation warnings to postinstall scripts (#3917)
368+
- Upgrade `@chainsafe/geth-dev-assistant` from `0.1.5` to `0.1.9` (#3950)
369+
- Replaced hardcoded infura link with Github Secret for some tests (#3943)
370+
- Bump `elliptic` from `6.5.3` to `6.5.4` for `web3-eth-accounts` (#3941)
371+
- Bump `elliptic` from `6.5.3` to `6.5.4` for `web3-bzz` (#3940)
372+
- Bump `elliptic` from `6.5.3` to `6.5.4` for `web3-core-requestmanager` (#3945)
373+
- Rewrite `web3-eth-iban` in ES6 (#3955)

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,7 @@ This project adheres to the [Release Guidelines](./REVIEW.md).
185185
[netlify-url]: https://app.netlify.com/sites/web3-staging/deploys
186186
[stackexchange-image]: https://img.shields.io/badge/web3js-stackexchange-brightgreen
187187
[stackexchange-url]: https://ethereum.stackexchange.com/questions/tagged/web3js
188+
189+
## Semantic versioning
190+
191+
This project follows [semver](https://semver.org/) as closely as possible **from version 1.3.0 onwards**. Earlier minor version bumps [might](https://github.com/ethereum/web3.js/issues/3758) have included breaking behavior changes.

docs/include_package-core.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Returns
2929
``Boolean``
3030

3131
-------
32-
Example
32+
Example: Local Geth Node
3333
-------
3434

3535
.. code-block:: javascript
@@ -52,6 +52,16 @@ Example
5252
// on windows the path is: "\\\\.\\pipe\\geth.ipc"
5353
// on linux the path is: "/users/myuser/.ethereum/geth.ipc"
5454
55+
-------
56+
Example: Remote Node Provider
57+
-------
58+
59+
.. code-block:: javascript
60+
61+
// Using a remote node provider, like Alchemy (https://www.alchemyapi.io/supernode), is simple.
62+
var Web3 = require('web3');
63+
var web3 = new Web3("https://eth-mainnet.alchemyapi.io/v2/your-api-key");
64+
5565
5666
------------------------------------------------------------------------------
5767

package-lock.json

+51,139-22,884
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"version": "npm run build",
1919
"postinstall": "npm run bootstrap",
20-
"build": "npm run bootstrap && lerna run tsc && webpack && cp -r ./dist ./packages/web3",
20+
"build": "npm run bootstrap && lerna run compile && webpack && cp -r ./dist ./packages/web3",
2121
"publish": "lerna publish",
2222
"bootstrap": "lerna bootstrap --hoist",
2323
"lint": "jshint *.js packages",
@@ -95,7 +95,7 @@
9595
"@babel/preset-env": "^7.12.1",
9696
"@babel/preset-typescript": "^7.12.1",
9797
"@babel/runtime": "^7.12.1",
98-
"@chainsafe/geth-dev-assistant": "^0.1.5",
98+
"@chainsafe/geth-dev-assistant": "^0.1.9",
9999
"@ensdomains/ens": "^0.4.5",
100100
"@ensdomains/resolver": "^0.2.4",
101101
"@types/bignumber.js": "^4.0.2",
@@ -136,6 +136,5 @@
136136
"wait-port": "^0.2.9",
137137
"webpack": "^4.44.2",
138138
"webpack-cli": "^3.3.12"
139-
},
140-
"dependencies": {}
139+
}
141140
}

0 commit comments

Comments
 (0)