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

fix(deps): update dependency @ethereumjs/util to v9 #1127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 9, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ethereumjs/util (source) 8.0.3 -> 9.1.0 age adoption passing confidence

Release Notes

ethereumjs/ethereumjs-monorepo (@​ethereumjs/util)

v9.1.0: @​ethereumjs/util v9.1.0

Compare Source

Support for Partial Accounts

For Verkle or other contexts it can be useful to create partial accounts not containing all the account parameters. This is now supported starting with this release, see PR #​3269:

import { Account } from '@​ethereumjs/util'

const account = Account.fromPartialAccountData({
  nonce: '0x02',
  balance: '0x0384',
})
console.log(`Partial account with nonce=${account.nonce} and balance=${account.balance} created`)
New requests Module

This release introduces a new requests module (see PRs #​3372, #​3393, #​3398 and #​3477) with various type and an abstract base class for EIP-7685 general purpose execution layer requests to the CL (Prague hardfork) as well as concrete implementations for the currently supported request types:

  • EIP-6110: DepositRequest (Prague Hardfork)
  • EIP-7002: WithdrawawlRequest (Prague Hardfork)
  • EIP-7251: ConsolidationRequest (Prague Hardfork)

These request types are mainly used within the @​ethereumjs/block library where applied usage instructions are provided in the README.

Verkle Updates
  • Update kzg-wasm to 0.4.0, PR #​3358
  • Shift Verkle to osaka hardfork, PR #​3371
  • New verkle module with utility methods and interfaces, PR #​3462
  • Rename verkle utils and refactor, PR #​3468
Other Features
  • Stricter prefixed hex typing, PRs #​3348, #​3427 and #​3357 (some changes removed in PR #​3382 for backwards compatibility reasons, will be reintroduced along upcoming breaking releases)
Other Changes
  • Adjust Account.isContract() (in Verkle context work), PR #​3343
  • Rename deposit receipt to deposit request, PR #​3408
  • Adjust Account.isEmpty() to also work for partial accounts, PR #​3405
  • Enhances typing of CL requests, PR #​3398
  • Rename withdrawal request's validatorPublicKey to validatorPubkey, PR #​3474

v9.0.3: @​ethereumjs/util v9.0.3

Compare Source

  • Allow optional trustedSetupPath for the initKZG() method, PR #​3296

v9.0.2: @​ethereumjs/util v9.0.2

Compare Source

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.

Other Changes
  • Adjust byte bigint utils, PR #​3159
  • Check that hex to byte conversion is valid in hexToBytes, PR #​3185
  • Performance-optimized hexToBytes, PR #​3203

v9.0.1: @​ethereumjs/util v9.0.1

Compare Source

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).

  • Update peer dependency for kzg module to use the official trusted setup for mainnet, PR #​3107
Other Changes
  • Performance: New reoccurringly used BigInt constants (BIGINT_0, BIGINT_32, BIGINT_2EXP96,...) in the bytes module for reusage along performance optimizations, PR #​3050
  • Performance: bytesToBigInt() performance optimization for 1-byte bytes, PR #​3054
  • Fix a bug in fromUtf8(), PR #​3112

v9.0.0: @​ethereumjs/util v9.0.0

Compare 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.

v8.1.0: @​ethereumjs/util v8.1.0

Compare 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.

v8.0.6: @​ethereumjs/util v8.0.6

Compare Source

  • Bump @chainsafe/ssz dependency to 0.11.1 (no WASM, native SHA-256 implementation, ES2019 compatible, explicit imports), PRs #​2622, #​2564 and #​2656
  • Update ethereum-cryptography from 1.2 to 2.0 (switch from noble-secp256k1 to noble-curves), PR #​2641

v8.0.5

Compare Source

v8.0.4: @​ethereumjs/util v8.0.4

Compare Source

  • Removed async library dependency, PR #​2514
  • New GWEI_TO_WEI constant in a newly created units module, PR #​2483
  • Change withdrawal amount representation from Wei to Gwei (see EIP-4895 PR #​6325) in withdrawal module Withdrawal class, PR #​2483
  • Added @chainsafe/ssz dependency, new prepartory ssz container module, PR #​2488
  • Use literal value instead of formula for MAX_INTEGER_BIGINT, PR #​2536

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from msmolyakov as a code owner August 9, 2023 13:47
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

size-limit report 📦

Path Size
css 24.33 KB (0%)
background 204.25 KB (-6.02% 🔽)
ui 417.81 KB (-2.79% 🔽)
contentscript 5.2 KB (0%)

@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from fbba2d5 to 12fdddd Compare August 26, 2023 18:09
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from 12fdddd to e593c3d Compare November 2, 2023 10:56
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from e593c3d to 257745f Compare February 8, 2024 19:03
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from 257745f to fc250ce Compare March 18, 2024 15:05
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from fc250ce to 6161111 Compare August 15, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants