forked from web3/web3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] 1.x from ChainSafe:1.x #87
Open
pull
wants to merge
201
commits into
daddyfatstacksBIG:1.x
Choose a base branch
from
web3:1.x
base: 1.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
Pull Request Test Coverage Report for Build 720288941
💛 - Coveralls |
* 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 <wyatt@writerof.software>
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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <wyatt@writerof.software>
* 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] <support@github.com> * Update CHANGELOG Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <wyatt@writerof.software> Co-authored-by: Wyatt Barnes <me@wyatt.email>
…er (#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] <support@github.com> * Update CHANGELOG Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <me@wyatt.email>
* add nvmrc file * Update changelog Co-authored-by: Wyatt Barnes <wyatt@writerof.software> Co-authored-by: Wyatt Barnes <me@wyatt.email>
* 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 <loredana.cirstea@gmail.com> * Update changelog Co-authored-by: Loredana <loredana.cirstea@gmail.com>
* Update changelog * Built dist * Update version numbers * v1.3.5 Co-authored-by: Ubuntu <ubuntu@ip-172-31-69-58.ec2.internal>
* bump underscore * update package-locks * bump lcoks again
* Update CHANGELOG and ran npm i * Built lib for 1.3.6-rc.0 * v1.3.6-rc.0 * npm i * Built lib for 1.3.6-rc.1 * v1.3.6-rc.1 * 1.3.6-rc.2 (#4059) * npm i && npm audit fix * Manually bump version to 1.3.6-rc.2 * Built lib for 1.3.6-rc.2 * v1.3.6-rc.2 * 1.3.6-rc.2 fixes (#4062) * Manually update dependency versions to 1.3.6-rc.2 * Accidental commit * npm i * Manually update web3 dependency version to 1.3.6-rc.2 * npm i * Built manually for 1.3.6-rc.2 * Update CHANGELOG * Update CHANGELOG.md Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> * Add web3-core-helpers as dev dependency * Add web3-core-helpers as dev dependency * Fixing 1.3.6-rc.2 related issues (#4063) * Remove web3-eth-ens as dependency * Regen package-locks and build lib * Remove dtslint from ci scripts (#4064) * Remove web3-eth-ens as dependency * Regen package-locks and build lib * Remove npm run dtslint from build and lint * 1.3.6-rc.2 Fixes (#4065) * Remove web3-eth-ens as dependency * Regen package-locks and build lib * Remove npm run dtslint from build and lint * Add back removed package: web3-eth-ens * npm i * Build lib * Add back npm run dtslint * Update geth-dev-assistant * v1.3.6 Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>
* adding function unsubscribe by id * adding an unsubscribe testcase * adding testcase * seperated unsubscribebyid to its own method * adding testcases * adding await * fixing testcases Co-authored-by: Alex <alex.luu@mail.utoronto.ca> Co-authored-by: Alex <alex@chainsafe.io>
* add berlin tx support * update install locations * update package name in comment * fix existing tests to support new tx sigining format * remove build * remove old test case * use latest ethereumjs/tx * bump deps and fix test * update hashes * fix messageHash, decoding bug * fix tests * add hack * adding eip2930 and common object * fix lint updating package-lock * fix berlin tx signing and recovery * updating ethereumjs/tx package * updating checksum * removing helper.js * updating changelog and docs * fixing typo Co-authored-by: Gregory Markou <gregorymarkou@gmail.com>
* Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth * Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth * Fix typo
* npm run build for 1.4.0-rc.0 * v1.4.0-rc.0 * 1.4.0 Geth version downgrade (#4149) * Update pull Geth docker version from stable to pre-london (1.10.3) * Update CHANGELOG * v1.4.0
* removed some of the underscore methods in web3-core-method * removed underscore from bzz * adding subscriptions * fixing up test cases * changing variable names * removed underscore from formatters.js * removed underscore from request manager and abi * removing underscore in the rest of the web3 packages * fixing exports * fixing failing testcases * removing underscore from tests * addressing feedback * removing unwanted code from transaction * removing underscore from remaining packages * updating change log * addressing feedback * adding strict equality * efficient short circuiting * fixing test case
* npm run build for 1.4.0-rc.0 * v1.4.0-rc.0 * Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth * Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth * Fix typo * WIP * Fix type in error catch Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> * Remove commented code * Update index for tx pricing info * Correct order of if statements to properly assign tx type * Update maxFeePerGas calculation * Init _handleTxType function * Update _handleTxPricing to use gasPrice for eip-1559 txs * Fix bugs in _handleTxPricing * Update tests for eip-1559 changes * Fix BN bug: .mul only accepts BN instances * eth.accounts.signTransaction: Add London tests * Add EIP-1559 test without AccessList * Add tx.common.hardfork check to _handleTxType * Bug fixes * Add additional undefined check in _handleTxType * Add additional check for tx.hardfork in _handleTxType * Add additional check for tx.hardfork in _handleTxType * Update CHANGELOG * Handling EIP1559 transactions in outputTransactionFormatter (#4167) * Handing a null gasPrice and supporting maxFeePerGas and maxPriorityFeePerGas * Updating gasPrice check * Revert geth docker version tag * Add additional EIP-2930 and EIP-1559 tests * EIP 1559 Debug #2 (#4171) * Add additional EIP-2930 and EIP-1559 tests * Update gasPrice to geth default minimum * Replace hex number with number string * Add test skip if using Ganache * Add done function to ganache skip * Add done function to ganache skip * Update gasPrice params * Bump gasPrice to Geth default * Bump docker geth version to stable * Gas price type number for 1 Gwei * gasPrice type and backfills timeout change * gasPrice type and test acct creation * added nonce for geth auto nonce issue, removed auto acct creation * Remove redundant London test. Add gasLimit field to London test * Add validation for tx.maxPriorityFeePerGas and tx.maxFeePerGas * Add additional 1559 tests Co-authored-by: jdevcs <junaid@chainsafe.com> Co-authored-by: jdevcs <junaid@chainsafe.io> * Update error message Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> * Update error message Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> * Update use of tx.type * Replace hardfork strings with enum * Type check refactors for _handleTxPricing * Resolve tx.gasPrice if set and tx.type < 0x2 in _handleTxPricing * Fix _handleTxType logic Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> Co-authored-by: Cory Smith <cory.m.smith@gmail.com> Co-authored-by: jdevcs <junaid@chainsafe.com> Co-authored-by: jdevcs <junaid@chainsafe.io>
* add nonce to send options. * add nonce to send options. * Update CHANGELOG.md * linting * updating docs * update web3-shh.rst : whisper-overview broken link (#4170) whisper overview has been moved from https://github.com/ethereum/go-ethereum/wiki/Whisper to https://eth.wiki/concepts/whisper/whisper-overview * [Docs] Fixed a broken link (#4151) Original link gives out a 404, replaced by the closest thing I could find. * Possible typo in docs (#4088) I think the author missed a "this" in the phrase * Typically you will have only one Web3 connection, use const (#3967) Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> * Removing deprecation notice for HttpProvider (#4008) * 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 (#4147) * [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> * added EIP-2718 and EIP-1559 documentation * fixing typo * addressing feedback * changing possible types for maxPriorityFeePerGas * updating maxFeePerGas type * update changelog Co-authored-by: exx8 <exx8eran@gmail.com> Co-authored-by: starwalker00 <68958932+starwalker00@users.noreply.github.com> Co-authored-by: mongolsteppe <75075420+mongolsteppe@users.noreply.github.com> Co-authored-by: João Monteiro <joao.monteiro95@hotmail.com> Co-authored-by: William Entriken <github.com@phor.net> Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> Co-authored-by: Ev <evertonfrag@gmail.com> Co-authored-by: Juan Alonso <Juan.Alonso@trimble.com>
* WIP * Add missing fields for test runner * Correct function arguments for getFeeHistory * getFeeHistory tests with correct arguments * Init utils.toNumber function * Rename toNumber test to hexToNumber * Add inputFormatters to getFeeHistory * Rename newestBlock to lastBlock. Update types for blockCount and lastBlock * Add additional tests with different input types * Add missing function export * eth-feehistory docs (#4190) * updating docs * updating example * updating types and adding example of list * Update docs/web3-eth.rst * Update docs/web3-eth.rst * Update docs/web3-eth.rst Co-authored-by: alex <luu.alex@outlook.com> Co-authored-by: Wyatt Barnes <wyatt@writerof.software> Co-authored-by: Alex <alex.luu@mail.utoronto.ca> Co-authored-by: alex <luu.alex@outlook.com>
Test don't run when only changes to `CHANGELOG.md` have been made
* Closes #4210 - allow non-hex values for eip1559 gas params * Add tests for 4210 * Closes #4211 * Add tests for 4210 (#4218) * Update CHANGELOG Co-authored-by: Greg Markou <gregmarkou@Gregs-MacBook-Pro.local> Co-authored-by: Wyatt Barnes <me@wyatt.email> Co-authored-by: Wyatt Barnes <wyatt@writerof.software>
* Add txType and pricing helper methods. Refactor logic for sendTransaction * Add esModuleInterop: true * Add EIP-1559 test * Update CHANGELOG * Add check for ganache network * add @ethereumjs/common dependency * Correct if statement conditions * Update tests * Debugging ganache tests * Debugging ganache tests - toHex gasPrice * Revert debugs * Debugging e2e_ganache - txPricing all to hex * Debugging e2e_ganache - revert and console.log * Remove debugging console.log * Debugging - console.log * Debugging - move console logs * Debug - delete type if 0x0 * Debug - move deletion of type * Remove debugs * Debug - add check for method !== eth_sendRawTransaction * Debug- sanity check * Debug - minimal code changes * Debug - forgot to comment old code * Debug - old code * Debug - minimal code refactor * Debug - new code refactored * Didn't uncomment curly brace
* Accept predefined block numbers for eth_feeHistory (#4213) * Accept predefined block numbers for eth_feeHistory * Update feeHistory tests to reflect new input formatter Co-authored-by: Wyatt Barnes <wyatt@writerof.software> * Add block tag tests * Update CHANGELOG * Replace inputFormatter with null to match existing code Co-authored-by: brg8 <bgodlove88@gmail.com>
* Remove internal listener * Clear ws connection manually * Emit error for connectFailed instead of close * Add test * Add error reason and code, emit close, too * Add description in error * Remove connection listeners only on node * Update changelog * Check for client instead of connection for removing listener * Remove console
* Add empty job * test * undo test * undo test
* npm i and changelog update * v1.9.0-rc.0 * Build commit for 1.9.0-rc.0 * v1.9.0 * Build for 1.9.0
* Improve logging of connection errors Fixes. #5954 Existing code gobbles up the real error and only prints a generic message with the URL. This change utilizes the error object to give a better indication of what failed with the connection. * Updated CHANGELOG * Fix PR number in Changelog --------- Co-authored-by: Wyatt Barnes <me@wyatt.email>
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wyatt Barnes <me@wyatt.email> Co-authored-by: Oleksii Kosynskyi <oleksii.kosynskyi@gmail.com>
…=== '0x1'` (#5979) * Add type to numberToHex formatting for _txInputFormatter * Add test for type formatting * Add logic to add empty accesslist if type === '0x1' when sending transaction. Add test for same * Add input tx formatter test case * Add input tx formatter test case * Update CHANGELOG * Fix failing test cases * Update packages/web3-core-method/src/index.js Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com> * Update CHANGELOG.md --------- Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
* Fix error: "n.data.substring is not a function" * update CHANGELOG.md
* improvement of 'web3-core-method.buildCall.sendTxCallback(err, result)' to manage revert embedded error details got from some providers like MetaMask (related to issue #4454) * continuation of previous work on 'web3-core-method.buildCall.sendTxCallback(err, result)' to handle Revert in all cases: use `originalError` sub-object if provided * add fixed #4454 in the CHANGELOG * add unit test to cover my improvement of 'web3-core-method.buildCall.sendTxCallback(err, result)' to better manage revert call reason from some providers like MetaMask (related to issue #4454) * removal of unnecessary debug logs --------- Co-authored-by: Nicolas COURTILLER <nicolas.courtiller@free.fr>
* add filter and tests * add topic filter and tests * add filter for all events and tests * add changelog * fix tests * fix events * fix tests * fix tests * revert spaces
* libs update on node v18 * changelog update * libs update * updated links
* refactor: Remove the unnecessary chainId parameter (#5888) Co-authored-by: Alex <alex.luu@mail.utoronto.ca> Co-authored-by: Wyatt Barnes <me@wyatt.email> Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com> * changelog update --------- Co-authored-by: in74mz <35923031+in74mz@users.noreply.github.com> Co-authored-by: Alex <alex.luu@mail.utoronto.ca> Co-authored-by: Wyatt Barnes <me@wyatt.email>
* v1.10.0-rc.0 * build output and changelog update for v1.10.0-rc.0 * v1.10.0 * Build commit for 1.10.0
* Bump typescript version to 4.9.5 * Update CHANGELOG * Bump ts-node to 10.9.1 * Fix issue with encoding large negative numbers * Correct test cases for check-address-checksum-test * dtslint debug * Convert if/else to ternary * Update CHANGELOG
* update submit work and contract send docs * update types * fix linter * update whitespace * update changelog * update changelog
* replace module * add change log * add zlib * add ethereum-cryptography * remove 14 node from test * add timeout * node 18 * revert * node 16 * test * trying clean up before run * 16 * stop * fix kill ganache * firefox update * fix mosaic * fix * only mosaic * add links to 1.x version * win test * fix all * try win on ubuntu * add iltorb * only windows * off verdaccio_pid * all tests * win to ubuntu * only windows * all * needs e2e * without needs for win test * win needs e2e --------- Co-authored-by: Your Name <you@example.com>
* link update * doc update
* npm i * v1.10.1-rc.0 * lerna build * changelog update * updated file in dist * v1.10.1 * build for 1.10.1
* web3-providers-http: Fixed broken fetch for Node.js > 18.x and fixed double callback * web3-providers-http: Append globalThis.fetch for tests * web3-providers-http: Bump deps version
* change log update * npm audit fix and build * v1.10.2 * build for 1.10.2
…tx (#6457) * v1/chore(web3-eth-accounts): bump @ethereumjs/common and @ethereumjs/tx * revert package-lock.json
* libs update * changelog * changelog update
* npm audit fix * changelog * v1.10.3-dev.0 * Manual build commit for v1 dev * v1.10.3 * Build commit for 1.10.3
* release update * update release doc
* add Maintenance notes * add links
* libs update * changelog update
* npm i and npm audit fix * changelog update * version bumps and lerna build * lerna version bump and build
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )