Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 24, 2019

Bumps ethereumjs-tx from 1.3.7 to 2.1.2.

Release notes

Sourced from ethereumjs-tx's releases.

v2.1.2 - MuirGlacier Support

  • Added support for the MuirGlacier HF by updating the ethereumjs-common dependency to v1.5.0

v2.1.1 - Istanbul Support (EIP-2028)

  • Added support for Istanbul reduced non-zero call data gas prices (EIP-2028), PR #171

v2.1.0 - Testnet + Custom/Private Network Support

Using testnets and custom/private networks is now easier

This release is focused on making this library easier to use in chains other than mainnet.

Using standard testnets can be as easy as passing their names to the Transaction constructor. For example, new Transaction(rawTx, {chain: 'ropsten', hardfork: 'byzantium'}) is enough to use this library with Ropsten on Byzantium.

If you are using a custom network, you can take advantage of ethereumjs-common, which contains all the network parameters. In this version of ethereumjs-tx you can use its new Common.forCustomNetwork to create a Common instance based on a standard network with some parameters changed. You can see an example of how to do this [here (https://github.com/ethereumjs/ethereumjs-common/blob/9e624f86107cea904d8171524130d92c99bf9302/src/index.ts).

List of changes:

  • Upgraded ethereumjs-common to ^1.3.0
  • Added more documentation and examples on how to create transactions for public testnets and custom networks.

v2.0.0 - TypeScript / HF Support / EIP-155

TypeScript / Module Import / Node Support

First TypeScript based release of the library, see PR #145 for details.

This comes along with some changes on the API, Node import of the exposed classes now goes like this:

const EthereumTx = require('ethereumjs-transaction').Transaction
const FakeEthereumTx = require('ethereumjs-transaction').FakeTransaction

The library now also comes with a type declaration file distributed along with the package published.

Along with this release we drop official support for Node versions 4,5 and 6. Officially tested versions are now Node 8, 10 and 11 (see PRs #138 and #146).

Hardfork Support / Official Test Updates

Along with a long overdue update of the official Ethereum Transaction tests (see PRs #131 and #138 for FakeTransaction) and an introduction of setting chain and hardfork by using our shared ethereumjs-common class (see PR #131) the transaction library now supports all HFs up to the Petersburg hardfork, see [constructor option docs (https://github.com/ethereumjs/ethereumjs-tx/blob/master/docs/interfaces/transactionoptions.md) for information on instantiation and default values (current hardfork default: petersburg).

API Changes:

  • Removal of the data.chainId parameter, use the opts.chain parameter or a custom Common instance

Default EIP-155 Support

Along with defaulting to a post-Spurious Dragon HF replay protection from EIP-155 is now activated by default. Transactions are subsequently also by default signed with EIP-155 replay protection, see PRs #153, #147 and #143.

This comes with some changes in how different v values passed on instantiation or changed on runtime are handled:

... (truncated)
Changelog

Sourced from ethereumjs-tx's changelog.

2.1.2 - 2019-12-19

  • Added support for the MuirGlacier HF by updating the ethereumjs-common dependency to v1.5.0

2.1.1 - 2019-08-30

  • Added support for Istanbul reduced non-zero call data gas prices (EIP-2028), PR #171

2.1.0 - 2019-06-28

Using testnets and custom/private networks is now easier

This release is focused on making this library easier to use in chains other than mainnet.

Using standard testnets can be as easy as passing their names to the Transaction constructor. For example, new Transaction(rawTx, {chain: 'ropsten', hardfork: 'byzantium'}) is enough to use this library with Ropsten on Byzantium.

If you are using a custom network, you can take advantage of ethereumjs-common, which contains all the network parameters. In this version of ethereumjs-tx you can use its new Common.forCustomNetwork to create a Common instance based on a standard network with some parameters changed. You can see an example of how to do this here.

List of changes:

  • Upgraded ethereumjs-common to ^1.3.0
  • Added more documentation and examples on how to create transactions for public testnets and custom networks.

[2.0.0] - 2019-06-03

TypeScript / Module Import / Node Support

First TypeScript based release of the library, see PR #145 for details.

This comes along with some changes on the API, Node import of the exposed classes now goes like this:

const EthereumTx = require('ethereumjs-transaction').Transaction
</tr></table> ... (truncated)
Commits
  • a8da65a Merge pull request #190 from ethereumjs/update-common-and-new-release
  • 6f8f14a Bumped version to v2.1.2, added CHANGELOG entry, updated README
  • 3da414e Updated ethereumjs-common to v1.5.0 (MuirGlacier support)
  • ba4ef9a Merge pull request #188 from ryanio/fixTests
  • 0b0606e fix test runner by putting tx rlp toBuffer call in try catch block to catch m...
  • 2df0cf3 Merge pull request #187 from ethereumjs/runActionsOnPR
  • 5642c73 run gh actions on pr
  • 0892118 Merge pull request #186 from ethereumjs/github-actions
  • 8bf127f use firefox headless
  • 3363b72 Merge branch 'master' into github-actions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 24, 2019
@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from 589cfd9 to ab2ab1d Compare December 31, 2019 09:04
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from ab2ab1d to 112665b Compare January 14, 2020 10:07
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch 2 times, most recently from ce0dc69 to c5fdba5 Compare February 18, 2020 09:23
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from c5fdba5 to 2646e13 Compare March 10, 2020 09:50
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from 2646e13 to 689ca4b Compare April 14, 2020 10:30
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from 689ca4b to e26bebf Compare May 12, 2020 11:04
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from e26bebf to d32e5b9 Compare May 19, 2020 11:47
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ethereumjs-tx-2.1.2 branch from d32e5b9 to 08f1d8d Compare May 19, 2020 11:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants