Bump @types/ethereumjs-tx from 1.0.1 to 2.0.0
Bumps @types/ethereumjs-tx from 1.0.1 to 2.0.0.
Release notes
Sourced from @types/ethereumjs-tx's releases.
v2.0.0 - TypeScript / HF Support / EIP-155
TypeScript / Module Import / Node Support
First
TypeScriptbased 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').FakeTransactionThe library now also comes with a type declaration file distributed along with the package published.
Along with this release we drop official support for
Nodeversions4,5and6. Officially tested versions are nowNode8,10and11(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 thePetersburghardfork, 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.chainIdparameter, use theopts.chainparameter or a customCommoninstanceDefault EIP-155 Support
Along with defaulting to a post-
Spurious DragonHF replay protection from EIP-155 is now activated by default. Transactions are subsequently also by default signed withEIP-155replay protection, see PRs #153, #147 and #143.This comes with some changes in how different
vvalues passed on instantiation or changed on runtime are handled:
- The constructor throws if the
vvalue is present, indicates thatEIP-155was enabled, and the chain id it indicates doesn't match the one of the internalcommonobject- No default
vis set. If a transaction isn't signed, it would be an empty buffer- If
vis changed after construction its value is validated in its setterFor activating non-
EIP-155behavior instantiate the transaction with a pre-Spurious Dragonhardfork option.v1.3.7 - Bugfix Release
- Fix bug causing
FakeTransaction.fromto not retrieve sender address from tx signature, see PR #118v1.3.6 - Bugfix Release
- Fixes issue #108 with the
FakeTransaction.hash()function by reverting the introduced signature handling changes in Fake transaction hash creation from PR #94 introduced inv1.3.5. The signature is now again only created and added to the hash whenfromaddress is set andfromis not defaulting to the zero adress any more, see PR #110- Added additional tests to cover issue described above
v1.3.5 - Bug Fix Release
- Include signature by default in
FakeTransaction.hash, PR #97- Fix
FakeTransactionsignature failure bug, PR #94v1.3.4 - Bug Fix Release
... (truncated)
Changelog
Sourced from @types/ethereumjs-tx's changelog.
[2.0.0] - 2019-06-03
TypeScript / Module Import / Node Support
First
TypeScriptbased 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').FakeTransactionThe library now also comes with a type declaration file distributed along with the package published.
Along with this release we drop official support for
Nodeversions4,5and6. Officially tested versions are nowNode8,10and11(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 thePetersburghardfork, see constructor option docs for information on instantiation and default values (current hardfork default:petersburg).API Changes:
- Removal of the
data.chainIdparameter, use theopts.chainparameter or a customCommoninstanceDefault EIP-155 Support
Along with defaulting to a post-
Spurious DragonHF replay protection from EIP-155 is now activated by default. Transactions are subsequently also by default signed withEIP-155replay protection, see PRs #153, #147 and #143.This comes with some changes in how different
vvalues passed on instantation or changed on runtime are handled:
... (truncated)
Commits
f0234abMerge pull request #157 from ethereumjs/new-release-v200451b2daRegenerated documentation237689aBumped version to v2.0.0, added CHANGELOG entry, updated README5b72ca6Merge pull request #156 from ethereumjs/expose-as-fake-transaction034d5a1Expose FakeTransaction as FakeTransaction, import from module in tests070882fMerge pull request #155 from ethereumjs/update-readme0689c8fFix README's formattingbd5edf5Remove standard-js badge39aec25Remove unused param from the README's exampleb564c15Merge pull request #153 from ethereumjs/simplify-constructor- Additional commits viewable in compare view
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.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)