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

Commit 0e7ee33

Browse files
committed
Merge branch '1.x' into release/1.2.9
2 parents 49efd11 + f52bf55 commit 0e7ee33

26 files changed

+421
-4363
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ Fixes #(issue)
2929
- [ ] I ran `npm run build-all` and tested the resulting files from `dist` folder in a browser.
3030
- [ ] I have updated the `CHANGELOG.md` file in the root folder.
3131
- [ ] I have tested my code on the live network.
32-
- [ ] The browser visual inspection check looks ok: [sudden-playground.surge.sh][1]
33-
34-
[1]: http://sudden-playground.surge.sh/
32+
- [ ] I have checked the Deploy Preview and it looks correct.

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ jobs:
4444
"e2e_ganache",
4545
"e2e_mosaic",
4646
"e2e_browsers",
47+
"e2e_gnosis_dex"
4748
]
4849
env:
4950
TEST: ${{ matrix.testCmd }}
5051
CI: true
5152
DISPLAY: :99.0
5253
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
53-
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
54-
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
5554
BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}
5655
steps:
5756
- uses: actions/setup-node@v1

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,7 @@ Released with 1.0.0-beta.37 code base.
232232
## [Unreleased]
233233

234234
## [1.2.10]
235+
236+
### Fixed
237+
238+
- Extend `_txInputFormatter` with hex prefix check (#3317)

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# web3.js - Ethereum JavaScript API
66

7-
[![Gitter][gitter-image]][gitter-url] [![StackExchange][stackexchange-image]][stackexchange-url] [![NPM Package Version][npm-image-version]][npm-url] [![NPM Package Downloads][npm-image-downloads]][npm-url] [![Build Status][actions-image]][actions-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Lerna][lerna-image]][lerna-url]
7+
[![Gitter][gitter-image]][gitter-url] [![StackExchange][stackexchange-image]][stackexchange-url] [![NPM Package Version][npm-image-version]][npm-url] [![NPM Package Downloads][npm-image-downloads]][npm-url] [![Build Status][actions-image]][actions-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Lerna][lerna-image]][lerna-url] [![Netlify Status][netlify-image]][netlify-url]
88

99
This is the Ethereum [JavaScript API][docs]
1010
which connects to the [Generic JSON-RPC](https://github.com/ethereum/wiki/wiki/JSON-RPC) spec.
@@ -181,5 +181,7 @@ This project adheres to the [Release Guidelines](./REVIEW.md).
181181
[gitter-url]: https://gitter.im/ethereum/web3.js
182182
[lerna-image]: https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg
183183
[lerna-url]: https://lerna.js.org/
184+
[netlify-image]: https://api.netlify.com/api/v1/badges/1fc64933-d170-4939-8bdb-508ecd205519/deploy-status
185+
[netlify-url]: https://app.netlify.com/sites/web3-staging/deploys
184186
[stackexchange-image]: https://img.shields.io/badge/web3js-stackexchange-brightgreen
185187
[stackexchange-url]: https://ethereum.stackexchange.com/questions/tagged/web3js

TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These should pass for PRs to merge:
1717
| typescript | dtslint | -- | TS type definitions tests |
1818
| dependencies | depcheck | -- | Verifies every dependency is listed correctly in the module package |
1919
| bundle | test:e2e:min | [e2e.minified.js][3] | Verifies minified bundle loads in a headless browser *without* being webpacked / browserified | :white_check_mark: |
20-
| cdn | test:e2e:cdn | [e2e.cdn.sh][4]| Visual inspection check: publishes an (un-webpacked) site that uses web3.min.js at http://sudden-playground.surge.sh/ | :white_check_mark: |
20+
| cdn | test:e2e:cdn | [e2e.cdn.sh][4]| Visual inspection check: publishes an (un-webpacked) site that uses web3.min.js at https://web3-staging.netlify.app/ | :white_check_mark: |
2121
| windows | -- | [e2e.windows.sh][5] | Verifies Web3 installs on Windows OS / Node 12 and can connect to Infura over wss and https | :white_check_mark: |
2222

2323

docs/include_package-core.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,14 @@ Configuration
146146
authorization: 'Basic username:password'
147147
},
148148
149-
// Useful if requests result are large
150149
clientConfig: {
150+
// Useful if requests are large
151151
maxReceivedFrameSize: 100000000, // bytes - default: 1MiB
152152
maxReceivedMessageSize: 100000000, // bytes - default: 8MiB
153+
154+
// Useful to keep a connection alive
155+
keepalive: true,
156+
keepaliveInterval: 60000 // ms
153157
},
154158
155159
// Enable auto reconnection

docs/web3-eth-contract.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ Parameters
11021102

11031103
1. ``options`` - ``Object`` (optional): The options used for deployment.
11041104
* ``filter`` - ``Object`` (optional): Let you filter events by indexed parameters, e.g. ``{filter: {myNumber: [12,13]}}`` means all events where "myNumber" is 12 or 13.
1105-
* ``fromBlock`` - ``Number|String|BN|BigNumber`` (optional): The block number (greater than or equal to) from which to get events on. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
1105+
* ``fromBlock`` - ``Number|String|BN|BigNumber`` (optional): The block number (greater than or equal to) from which to get events on. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used. For specific range use :ref:`getPastEvents <getPastEvents>`.
11061106
* ``topics`` - ``Array`` (optional): This allows to manually set the topics for the event filter. If given the filter property and event signature, (topic[0]) will not be set automatically.
11071107
2. ``callback`` - ``Function`` (optional): This callback will be fired for each *event* as the second argument, or an error as the first argument.
11081108

0 commit comments

Comments
 (0)