Skip to content

Commit

Permalink
Merge branch '1.x' into junaid/e2e_gnosis_dex4436
Browse files Browse the repository at this point in the history
  • Loading branch information
jdevcs committed Jan 18, 2022
2 parents 5e7f73a + 1e93729 commit e10f886
Show file tree
Hide file tree
Showing 58 changed files with 27,237 additions and 220 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ Released with 1.0.0-beta.37 code base.
- Correct `web3.rst` example in documentation (#4511)
- Correct `BlockHeader` typing (`receiptRoot` -> `receiptsRoot`) (#4452)

## [Unreleased]

## [1.7.0]

### Added
Expand All @@ -493,8 +491,13 @@ Released with 1.0.0-beta.37 code base.

- Changed getFeeHistory first parameter type from `number` to `hex` according to the [spec](https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/ethereum/eth1.0-apis/assembled-spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:splitView%5D=false&uiSchema%5BappBar%5D%5Bui:input%5D=false&uiSchema%5BappBar%5D%5Bui:examplesDropdown%5D=false) (#4529)

## [Unreleased]

## [1.7.1]

### Added
- `transactionPollingInterval` added to web3, contract and method constructor options. defaults to 1 second. (#4584)

### Fixed
- Fix a typo in the documentation for `methods.myMethod.send` (#4599)
- Added effectiveGasPrice to TransactionReceipt (#4692)
Expand Down
18 changes: 9 additions & 9 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.

21 changes: 21 additions & 0 deletions docs/web3-eth-contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,27 @@ Returns

------------------------------------------------------------------------------

.. _eth-contract-module-transactionpollinginterval:

transactionPollingInterval
=====================

.. code-block:: javascript
web3.eth.Contract.transactionPollingInterval
contract.transactionPollingInterval // on contract instance
The ``transactionPollingInterval`` is used over HTTP connections. This option defines the number of seconds between Web3 calls for a receipt which confirms that a transaction was mined by the network.


-------
Returns
-------

``number``: The current value of transactionPollingInterval (default: 1000ms)

------------------------------------------------------------------------------

.. _eth-contract-module-handlerevert:

handleRevert
Expand Down
20 changes: 20 additions & 0 deletions docs/web3-eth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,26 @@ Example
web3.eth.transactionPollingTimeout = 1000;
------------------------------------------------------------------------------

.. _eth-module-transactionpollinginterval:

transactionPollingInterval
=====================

.. code-block:: javascript
web3.eth.transactionPollingInterval
The ``transactionPollingInterval`` is used over HTTP connections. This option defines the number of seconds between Web3 calls for a receipt which confirms that a transaction was mined by the network.


-------
Returns
-------

``number``: The current value of transactionPollingInterval (default: 1000ms)

------------------------------------------------------------------------------

.. _web3-module-handlerevert:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.6.1",
"version": "1.7.0",
"lerna": "2.0.0",
"command": {
"init": {
Expand Down
Loading

0 comments on commit e10f886

Please sign in to comment.