-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
fix(deps): update dependency @ethereumjs/tx to v5 #736
Closed
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
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
4 times, most recently
from
August 18, 2023 01:40
5f7f82b
to
9013713
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
4 times, most recently
from
August 26, 2023 02:36
f2ca411
to
b1a8c58
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
6 times, most recently
from
September 4, 2023 21:51
8caacfd
to
38c7c58
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
5 times, most recently
from
September 14, 2023 19:52
a58a89e
to
02a9db6
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
September 16, 2023 21:57
07e0006
to
72bf2cf
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
2 times, most recently
from
September 25, 2023 12:46
86f8de9
to
f6fdc58
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
October 12, 2023 03:49
1a5ec1a
to
6a5f8a8
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
October 19, 2023 06:05
c817964
to
ac0ec07
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
2 times, most recently
from
August 9, 2024 13:35
5f81943
to
55a5566
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
from
August 15, 2024 12:14
55a5566
to
9dce21e
Compare
melissamforbs
approved these changes
Aug 18, 2024
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
2 times, most recently
from
August 22, 2024 14:35
4bce129
to
4d979a8
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
from
August 29, 2024 12:21
4d979a8
to
9aa3a73
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
September 14, 2024 21:26
92003ed
to
2ea1adb
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
2 times, most recently
from
September 16, 2024 22:03
09e28a3
to
38d4622
Compare
melissamforbs
approved these changes
Oct 1, 2024
melissamforbs
approved these changes
Oct 1, 2024
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
4 times, most recently
from
October 4, 2024 13:33
ea10125
to
cfcf3ed
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
from
October 10, 2024 19:13
cfcf3ed
to
85d2389
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
October 23, 2024 01:50
80bfa48
to
3e96d00
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
3 times, most recently
from
October 30, 2024 01:10
03f9cf4
to
1a84e70
Compare
renovate
bot
force-pushed
the
renovate/ethereumjs-tx-5.x
branch
from
October 30, 2024 23:00
1a84e70
to
7666c50
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.
This PR contains the following updates:
3.5.2
->5.4.0
Release Notes
ethereumjs/ethereumjs-monorepo (@ethereumjs/tx)
v5.4.0
: @ethereumjs/tx v5.4.0Compare Source
EOA Code Transaction (EIP-7702) (outdated)
This release introduces support for a non-final version of EIP-7702 EOA code transactions, see PR #3470. This tx type allows to run code in the context of an EOA and therefore extend the functionality which can be "reached" from respectively integrated into the scope of an otherwise limited EOA account.
The following is a simple example how to use an
EOACodeEIP7702Transaction
with one autorization list item:Note: Things move fast with
EIP-7702
and the released implementation is based on this commit and therefore already outdated. An up-to-date version will be released along our breaking release round planned for early September 2024.Verkle Updates
kzg-wasm
to0.4.0
, PR #3358osaka
hardfork, PR #3371Other Features
BlobEIP4844Transaction.networkWrapperToJson()
to also include the 4844 fields, PR #3365Bugfixes
v5.3.0
: @ethereumjs/tx v5.3.0Compare Source
Full 4844 Browser Readiness
WASM KZG
Shortly following the "Dencun Hardfork Support" release round from last month, this is now the first round of releases where the EthereumJS libraries are now fully browser compatible regarding the new 4844 functionality, see PRs #3294 and #3296! 🎉
Our WASM wizard @acolytec3 has spent the last two weeks and created a WASM build of the c-kzg library which we have released under the
kzg-wasm
name on npm (and you can also use independently for other projects). See the newly created GitHub repository for some library-specific documentation.This WASM KZG library can now be used for KZG initialization (replacing the old recommended
c-kzg
initialization), see the respective README section from the tx library for usage instructions (which is also accurate for the other using upstream libraries like block or EVM).Note that
kzg-wasm
needs to be added manually to your own dependencies and the KZG initialization code needs to be adopted like the following (which you will likely want to do in most cases, so if you deal with post Dencun EVM bytecode and/or 4844 blob txs in any way):Manual addition is necessary because we did not want to bundle our libraries with WASM code by default, since some projects are then prevented from using our libraries.
Note that passing in the KZG setup file is not necessary anymore, since this is now defaulting to the setup file from the official KZG ceremony (which is now bundled with the KZG library).
Trie Node.js Import Bug
Since this fits well also to be placed here relatively prominently for awareness: we had a relatively nasty bug in the
@ethereumjs/trie
library with aNode.js
web stream import also affecting browser compatibility, see PR #3280. This bug has been fixed along with these releases and this library now references the updated trie library version.v5.2.1
: @ethereumjs/tx v5.2.1Compare Source
debug
dependency to the@ethereumjs/trie
package (dependency), PR #3271v5.2.0
Compare Source
Dencun Hardfork Support
While all EIPs contained in the upcoming Dencun hardfork run pretty much stable within the EthereumJS libraries for quite some time, this is the first release round which puts all this in the official space and removes "experimental" labelling preparing for an imminent Dencun launch on the last testnets (Holesky) and mainnet activation! 🎉
Dencun hardfork on the execution side is called Cancun and can be activated within the EthereumJS libraries (default hardfork still
Shanghai
) with a followingcommon
instance:Note that the
kzg
initialization slightly changed from previous experimental releases and a custom KZG instance is now passed toCommon
by using thecustomCrypto
parameter, see PR #3262.At the moment using the Node.js bindings for the
c-kzg
library is the only option to get KZG related functionality to work, note that this solution is not browser compatible. We are currently working on a WASM build of that respective library. Let us know on the urgency of this task! 😆While
EIP-4844
- activating shard blob transactions - is for sure the most prominent EIP from this hardfork, enabling better scaling for the Ethereum ecosystem by providing cheaper block space for L2s, there are in total 6 EIPs contained in the Dencun hardfork. The following is an overview of which EthereumJS libraries mainly implement the various EIPs:@ethereumjs/evm
)@ethereumjs/block
,@ethereumjs/evm
,@ethereumjs/vm
)@ethereumjs/tx
,@ethereumjs/block
,@ethereumjs/evm
)@ethereumjs/evm
)@ethereumjs/vm
)@ethereumjs/block
,@ethereumjs/evm
)WASM Crypto Support
With this release round there is a new way to replace the native JS crypto primitives used within the EthereumJS ecosystem by custom/other implementations in a controlled fashion, see PR #3192.
This can e.g. be used to replace time-consuming primitives like the commonly used
keccak256
hash function with a more performant WASM based implementation, see@ethereumjs/common
README for some detailed guidance on how to use.New addSignature() API Method
There is a new dedicated method
addSignature()
introduced for all tx types which allows to add the raw signature values to a transaction without the need to call intotx.sign()
, which would need a private key to do so, see PR #3238.This functionality is e.g. handy for hardware wallet implementations where the signature generation is taking place externally.
Self-Contained (and Working 🙂) README Examples
All code examples in
EthereumJS
monorepo library README files are now self-contained and can be executed "out of the box" by simply copying them over and running "as is", see tracking issue #3234 for an overview. Additionally all examples can now be found in the respective library examples folder (in fact the README examples are now auto-embedded from over there). As a nice side effect all examples are now run in CI on new PRs and so do not risk to get outdated or broken over time.v5.1.0
: @ethereumjs/tx v5.1.0Compare Source
More Type-Aligned Library Structure
This release gently introduces a backwards-compatible new/adopted library structure which is more aligned with the idea of independent tx types, bundling various functionalities together in a way that is not necessarily hierarchical, see PR #2993 and #3010.
Reused functionality (e.g. calculating the upfront-cost (
getUpfrontCost()
) of anEIP-1559
-compatible tx - is internally bundled in capability files (e.g.capabilities/eip1559.ts
), which provide static call access to the respective methods.These methods are then called and the functionality exposed by the respective methods in the tx classes, see the following example code for an
FeeMarketEIP1559Transaction
:This makes creating additional or custom tx types and reusing of existing functionality substantially easier and makes the library substantially more robust by largely consolidating previously redundant code parts.
Dencun devnet-11 Compatibility
This release contains various fixes and spec updates related to the Dencun (Deneb/Cancun) HF and is now compatible with the specs as used in devnet-11 (October 2023).
kzg
module to use the official trusted setup formainnet
, PR #3107Other Changes
ecrecover
calls, PR #2985getDataFee()
toBlobEIP4844Transaction
, PR #2955v5.0.0
: @ethereumjs/tx v5.0.0Compare Source
Final release version from the breaking release round from Summer 2023 on the EthereumJS libraries, thanks to the whole team for this amazing accomplishment! ❤️ 🥳
See RC1 release notes for the main change description.
Following additional changes since RC1:
dataGas
toblobGas
(see EIP-4844 PR #7354), PR #2919v4.2.0
: @ethereumjs/tx v4.2.0Compare Source
This release is part of a final planned release round for the current major EthereumJS release versions, with next major versions planned to be released in July 2023.
It mainly removes all non-final EIP-4844, KZG and SSZ code from the libraries (mainly block, tx, util, evm, vm, blockchain) - see PR #2721 - to allow for a clean slate for the current major versions to transition to maintenance mode. In particular the
@chainsafe/ssz
dependency is removed from the@ethereumjs/util
library, which is a dependency of all other upstream EthereumJS libraries and removal therefore makes the whole stack lighter again.If you are interested in continuously following EIP-4844 work have a look at and follow our upcoming breaking releases where major changes will be integrated with 4844 nearing a final state.
Other Changes:
v4.1.2
: @ethereumjs/tx v4.1.2Compare Source
Features
allowUnlimitedInitcodeSize
option to partially disable EIP-3860, PR #2594TransactionFactory.fromRPCTx()
static constructor, PR #2613Bugfixes
Maintenance
Ethers
dependency, alternativefromEthersProvider()
static constructor implementation, PR #2633@ethereumjs/util
@chainsafe/ssz
dependency to 0.11.1 (no WASM, native SHA-256 implementation, ES2019 compatible, explicit imports), PRs #2622, #2564 and #2656v4.1.1
: - Stable Istanbul SupportCompare Source
First stable
Istanbul
release passing allStateTests
andBlockchainTests
from the official Ethereum test suite v7.0.0-beta.1. Test suite conformance have been reached along work on PR #607 (thanks @s1na!) and there were several fixes along the way, so it is strongly recommended thatyou upgrade from the first
beta
Istanbul
releasev4.1.0
.Istanbul Related Fixes
EEI
to theEVM
module, PR #612,gasRefund
is re-added to theexecResult
in theEVM
module at the end of message execution inEVM
to remain (for the most part) backwards-compatible in the releaseblake2f
precompile for rounds >0x4000000
RevertPrecompiled*
test failuresRIPEMD
precompile has to remain touched even when the call reverts and be considered for deletion, see EIP-716 for contextethereumjs-block
tov2.2.1
ethereumjs-blockchain
tov4.0.2
ethereumjs-util
from^6.1.0
to~6.1.0
Other Changes
promisify
being present in hot paths (performance optimization), PR #600result.return
toresult.returnValue
onEVM
execution in examples, PR #604v4.1.0
: @ethereumjs/common v4.1.0Compare Source
Holesky Testnet Support
This release comes with full support for the Holesky public Ethereum testnet replacing the
Goerli
test network.EIP-7516 BLOBBASEFEE Opcode
This release supports EIP-7516 with a new
BLOBBASEFEE
opcode added to and scheduled for the Dencun HF, see PR #3035 and #3068. The opcode returns the value of the blob base-fee of the current block it is executing in.Dencun devnet-11 Compatibility
This release contains various fixes and spec updates related to the Dencun (Deneb/Cancun) HF and is now compatible with the specs as used in devnet-11 (October 2023).
EIP-4788
: do not use precompile anymore but use the pre-deployed bytecode, PR #2955Bugfixes
forkHash
on timestamp == genesis timestamp, PR #2959Other Changes
v4.0.2
: @ethereumjs/tx v4.0.2Compare Source
Maintenance release with dependency updates, PR #2445
v4.0.1
: @ethereumjs/tx v4.0.1Compare Source
Support for Geth genesis.json Genesis Format
For lots of custom chains (for e.g. devnets and testnets), you might come across a Geth genesis.json config which has both config specification for the chain as well as the genesis state specification.
Common
now has a new constructorCommon.fromGethGenesis()
- see PRs #2300 and #2319 - which can be used in following manner to instantiate for example a VM run or a tx with agenesis.json
based Common:New Ethers Static Constructor
There is a new static constructor
TransactionFactory.fromEthersProvider()
which has been added to the library, see PR #2315. The new constructor allows for an easy instantiation of a fitting transaction object using an Ethers provider connecting e.g. to a local node or a service provider like Infura.Other Changes and Fixes
v4.0.0
: @ethereumjs/tx v4.0.0Compare Source
Final release - tada 🎉 - of a wider breaking release round on the EthereumJS monorepo libraries, see the Beta 1 release notes for the main long change set description as well as the Beta 2, Beta 3 and Release Candidate (RC) 1 release notes for notes on some additional changes (CHANGELOG).
Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.