You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 6, 2020. It is now read-only.
Along with a long overdue update of the official Ethereum Transaction tests
35
+
(see PRs [#131](https://github.com/ethereumjs/ethereumjs-tx/pull/131) and
36
+
[#138](https://github.com/ethereumjs/ethereumjs-tx/pull/138) for
37
+
`FakeTransaction`) and
38
+
an introduction of setting chain and hardfork by using our shared
39
+
[ethereumjs-common](https://github.com/ethereumjs/ethereumjs-common) class
40
+
(see PR [#131](https://github.com/ethereumjs/ethereumjs-tx/pull/130)) the
41
+
transaction library now supports all HFs up to the `Petersburg` hardfork,
42
+
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`).
43
+
44
+
API Changes:
45
+
46
+
- Removal of the `data.chainId` parameter, use the `opts.chain` parameter or a custom `Common` instance
47
+
48
+
**Default EIP-155 Support**
49
+
50
+
Along with defaulting to a post-`Spurious Dragon` HF replay protection from
51
+
[EIP-155](https://eips.ethereum.org/EIPS/eip-155) is now activated by default. Transactions are subsequently also by default signed with `EIP-155` replay protection,
52
+
see PRs [#153](https://github.com/ethereumjs/ethereumjs-tx/pull/153),
53
+
[#147](https://github.com/ethereumjs/ethereumjs-tx/pull/147) and
- Fix bug causing `FakeTransaction.from` to not retrieve sender address from tx signature, see PR [#118](https://github.com/ethereumjs/ethereumjs-tx/pull/118)
**Note:** this package expects ECMAScript 6 (ES6) as a minimum environment. From browsers lacking ES6 support, please use a shim (like [es6-shim](https://github.com/paulmillr/es6-shim)) before including any of the builds from this repo.
37
+
# Chain and Hardfork Support
38
38
39
-
# BROWSER
39
+
This library uses the [ethereumjs-common](https://github.com/ethereumjs/ethereumjs-common)
40
+
package to support different chain and hardfork options, see API documentation
41
+
for details.
40
42
41
-
For a browser build please see https://github.com/ethereumjs/browser-builds.
43
+
Currently all hardforks up to `petersburg` are supported, `EIP-155` replay protection
0 commit comments