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

Update docs - #4185

Closed
luu-alex wants to merge 24 commits into
1.xfrom
alex/update-docs
Closed

Update docs#4185
luu-alex wants to merge 24 commits into
1.xfrom
alex/update-docs

Conversation

@luu-alex

@luu-alex luu-alex commented Jul 21, 2021

Copy link
Copy Markdown
Contributor

Description

Updating documents with relevant changes

Please include a summary of the changes and be sure to follow our Contribution Guidelines.

Type of change

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • I have updated the CHANGELOG.md file in the root folder.

@luu-alex luu-alex added the 1.x 1.0 related issues label Jul 21, 2021
@render

render Bot commented Jul 21, 2021

Copy link
Copy Markdown

Comment thread CHANGELOG.md Outdated
- Removing the underscore package

### Changed
- Docs are being updated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Docs are being updated
- Grammar fix and updated Swarm and Whisper doc links

fulldecent and others added 4 commits July 21, 2021 14:42
Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>
* Removing deprecation notice for HttpProvider

From my view, it is just a provider with less capabilities than websockets, but still widely useful — and widely used as well.

@frozeman @nivida @GregTheGreek any thoughts?

* Update include_package-core.rst

* Update CHANGELOG.md

Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>
Co-authored-by: Alex <alex.luu@mail.utoronto.ca>
* [Docs] Updated solidity example to modern syntax

Replaced the old constructor function syntax with the modern one, added 'emit' to event calls, added pragma, added a valid bytes32 value and updated the JSON ABI.

* [Docs] Fixed a broken link (#1)

Original link gives out a 404, replaced by the proper guide.

Co-authored-by: Juan Alonso <Juan.Alonso@trimble.com>

* Revert "[Docs] Fixed a broken link (#1)"

This reverts commit 0de1272.

Co-authored-by: Juan Alonso <Juan.Alonso@trimble.com>
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 1053718577

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 223 unchanged lines in 7 files lost coverage.
  • Overall coverage remained the same at 76.196%

Files with Coverage Reduction New Missed Lines %
packages/web3-core-requestmanager/src/jsonrpc.js 1 70.0%
packages/web3-core-helpers/src/formatters.js 8 82.06%
packages/web3-utils/src/utils.js 27 9.92%
packages/web3-core-helpers/src/errors.js 29 1.56%
packages/web3-utils/src/soliditySha3.js 34 3.43%
packages/web3-utils/src/index.js 43 31.38%
packages/web3-eth-accounts/src/index.js 81 31.38%
Totals Coverage Status
Change from base Build 1015496704: 0.0%
Covered Lines: 3131
Relevant Lines: 3904

💛 - Coveralls

Comment thread docs/web3-eth.rst Outdated
- ``gasPrice`` - ``Number|String|BN|BigNumber``: (optional) The price of gas for this transaction in :ref:`wei <what-is-wei>`, defaults to :ref:`web3.eth.gasPrice <eth-gasprice>`.
- ``type`` - ``Number|String|BN|BigNumber``: (optional) A positive unsigned 8-bit number between 0 and 0x7f that represents the type of the transaction.
- ``maxFeePerGas`` - ``Number|String|BN|BigNumber``: (optional) The maximum fee per gas that the transaction is willing to pay in total
- ``maxPriorityFeePerGas`` - ``Number|String|BN|BigNumber`` (optional) The maximum fee per gas to give miners to incentivize them to include the transaction (Priority fee)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ``maxPriorityFeePerGas`` - ``Number|String|BN|BigNumber`` (optional) The maximum fee per gas to give miners to incentivize them to include the transaction (Priority fee)
- ``maxPriorityFeePerGas`` - ``Number|String|BN|BigNumber`` (optional, defaulted to ``1 Gwei``) The maximum fee per gas to give miners to incentivize them to include the transaction (Priority fee)

Comment thread docs/web3-eth.rst Outdated
- ``gas`` - ``Number``: (optional, default: To-Be-Determined) The amount of gas to use for the transaction (unused gas is refunded).
- ``gasPrice`` - ``Number|String|BN|BigNumber``: (optional) The price of gas for this transaction in :ref:`wei <what-is-wei>`, defaults to :ref:`web3.eth.gasPrice <eth-gasprice>`.
- ``type`` - ``Number|String|BN|BigNumber``: (optional) A positive unsigned 8-bit number between 0 and 0x7f that represents the type of the transaction.
- ``maxFeePerGas`` - ``Number|String|BN|BigNumber``: (optional) The maximum fee per gas that the transaction is willing to pay in total

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ``maxFeePerGas`` - ``Number|String|BN|BigNumber``: (optional) The maximum fee per gas that the transaction is willing to pay in total
- ``maxFeePerGas`` - ``Number|String|BN|BigNumber``: (optional, defaulted to ``(2 * block.baseFeePerGas) + maxPriorityFeePerGas``) The maximum fee per gas that the transaction is willing to pay in total

Comment thread docs/web3-eth.rst Outdated
Comment thread docs/web3-eth.rst Outdated
@luu-alex
luu-alex changed the base branch from 1.x to release/1.5.0 July 21, 2021 21:42
Comment thread CHANGELOG.md Outdated
remove merge conflict indicator
Spacesai1or
Spacesai1or previously approved these changes Jul 21, 2021
@Spacesai1or
Spacesai1or changed the base branch from release/1.5.0 to 1.x July 21, 2021 22:35
@Spacesai1or
Spacesai1or dismissed their stale review July 21, 2021 22:35

The base branch was changed.

@Spacesai1or Spacesai1or left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be merge in current state

alex/update-docs was branched off of release/1.5.0 and needs to be merged into 1.x, so that 1.x can be merged into release/1.5.0. All changes should be replicated in a branch that's based off of 1.x

This commit needs to be reverted

@luu-alex luu-alex closed this Jul 21, 2021
@Spacesai1or
Spacesai1or deleted the alex/update-docs branch January 4, 2022 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.x 1.0 related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants