Skip to content
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

Etherscan upgrades #3

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4b72ee2
Bump elliptic from 6.5.3 to 6.5.4 (#361)
dependabot[bot] Mar 10, 2021
99be456
Bump y18n from 3.2.1 to 3.2.2 (#363)
dependabot[bot] Mar 31, 2021
af9060a
Bump yargs-parser from 5.0.0 to 5.0.1 (#364)
dependabot[bot] Apr 12, 2021
2189a1a
Standardize repository (#367)
ryanml Apr 30, 2021
e7a9b3c
Bump hosted-git-info from 2.8.8 to 2.8.9 (#370)
dependabot[bot] May 11, 2021
3f96e5e
Bump normalize-url from 4.5.0 to 4.5.1 (#373)
dependabot[bot] Jun 11, 2021
b141835
Bump ini from 1.3.5 to 1.3.8 (#362)
dependabot[bot] Jun 11, 2021
d5a3e61
Bump ws from 5.2.2 to 5.2.3 (#374)
dependabot[bot] Jun 11, 2021
8d0e2a1
Update `ethereumjs-tx` to `@ethereumjs/tx` to support EIP1559 transac…
rickycodes Jul 14, 2021
7e2f9cf
Ver 16.0.2 (#379)
rickycodes Jul 15, 2021
1c867f9
This no longer needs the 0x prefix (#380)
rickycodes Jul 15, 2021
6d55b87
Ver 16.0.3 (#381)
rickycodes Jul 15, 2021
88c1d2d
Bump tar from 4.4.13 to 4.4.15 (#382)
dependabot[bot] Aug 5, 2021
4e96611
Bump path-parse from 1.0.6 to 1.0.7 (#384)
dependabot[bot] Aug 12, 2021
d931aab
Bump tar from 4.4.15 to 4.4.19 (#386)
dependabot[bot] Sep 2, 2021
ce5c626
lint: fixing identation to consistent spaces
martinheidegger Jan 17, 2022
34a07f0
feat: adding support for api-keys
martinheidegger Jan 17, 2022
75c4185
feat: allowing to specify networks using common network specifiers
martinheidegger Jan 17, 2022
9e09aa0
fix: allowing any kind of statusCode
martinheidegger Jan 17, 2022
69615bd
fix: returning the error itself if the message isnt given.
martinheidegger Jan 17, 2022
d5650e2
fix: de-referencing interval if no request is pending.
martinheidegger Jan 17, 2022
e8d91c7
fix: only use defined properties during transaction listening.
martinheidegger Jan 17, 2022
cb61e5b
fix: making sure that callbacks are always called with error instances
martinheidegger Jan 17, 2022
40105e8
feat: adding support for gas estimate through etherscan
martinheidegger Jan 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto

yarn.lock linguist-generated=false
32 changes: 32 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build, Lint, and Test

on:
push:
branches: [main]
pull_request:

jobs:
build-lint-test:
name: Build, Lint, and Test
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile --ignore-scripts
- run: yarn build
- run: yarn lint
- run: yarn test
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- build-lint-test
steps:
- uses: actions/checkout@v2
- run: echo "Great success!"
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10
v12
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [16.0.3] - 2021-07-15

### Changed

- Remove zero prefix from address. ([#380](https://github.com/MetaMask/web3-provider-engine/pull/380))
- The previously published version `v16.0.2` (now deprecated) included an upgrade that didn't take into account that `tx.getSenderAddress().toString('hex')` now _includes_ the leading `0x` prefix.

## [16.0.2] - 2021-07-14

### Changed

- Update `ethereumjs-tx` to `@ethereumjs/tx` to support EIP1559 transactions ([#356](https://github.com/MetaMask/web3-provider-engine/pull/377))

## [16.0.1] - 2020-09-23

### Changed

- Fix broken publish files ([#356](https://github.com/MetaMask/web3-provider-engine/pull/356))

## [16.0.0] - 2020-09-22
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ Categorically, we don’t want / can’t have the following types of RPC calls g
* id mgmt + tx signing (requires private data)
* filters (requires a stateful data api)
* vm (expensive, hard to scale)

## Running tests

```bash
yarn test
```
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "web3-provider-engine",
"version": "16.0.1",
"version": "16.0.3",
"description": "A JavaScript library for composing Ethereum provider objects using middleware modules",
"repository": "https://github.com/MetaMask/web3-provider-engine",
"main": "index.js",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"test": "node test/index.js && yarn lint",
"prepublishOnly": "yarn build && yarn bundle",
Expand All @@ -24,6 +27,7 @@
"ganache-core/**/elliptic": "^6.5.2"
},
"dependencies": {
"@ethereumjs/tx": "^3.3.0",
"async": "^2.5.0",
"backoff": "^2.5.0",
"clone": "^2.0.0",
Expand All @@ -35,7 +39,6 @@
"eth-rpc-errors": "^3.0.0",
"eth-sig-util": "^1.4.2",
"ethereumjs-block": "^1.2.2",
"ethereumjs-tx": "^1.2.0",
"ethereumjs-util": "^5.1.5",
"ethereumjs-vm": "^2.3.4",
"json-stable-stringify": "^1.0.1",
Expand Down
Loading