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

Update dependency @ethereumjs/util to v9 #332

Open
wants to merge 1 commit into
base: main
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.1.0 -> 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.


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


  • 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 force-pushed the renovate/ethereumjs-util-9.x branch 7 times, most recently from ed5a067 to 31d7887 Compare August 19, 2023 00:35
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 9 times, most recently from 56a45ef to fe14710 Compare August 28, 2023 03:52
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 8 times, most recently from 6dcd1dd to f570920 Compare September 4, 2023 05:06
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 6 times, most recently from ef1d135 to a7acff4 Compare September 9, 2023 08:34
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 7 times, most recently from d33e702 to 927f0b7 Compare November 27, 2023 04:09
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 3 times, most recently from 3309566 to ab66c74 Compare December 29, 2023 03:32
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 8 times, most recently from 7b8662d to 0a1cd46 Compare February 8, 2024 16:17
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch 10 times, most recently from 8cd8fd6 to a055842 Compare March 19, 2024 20:15
@renovate renovate bot force-pushed the renovate/ethereumjs-util-9.x branch from a055842 to 6c89cb4 Compare August 15, 2024 11:44
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