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

build: (deps). [Snyk] Upgrade: , , keyv-file #2967

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

swirlds-automation
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

@ethereumjs/util
from 9.0.3 to 9.1.0 | 1 version ahead of your current version | a month ago
on 2024-08-15
@ethereumjs/trie
from 6.2.0 to 6.2.1 | 1 version ahead of your current version | a month ago
on 2024-08-15
keyv-file
from 0.3.2 to 0.3.3 | 1 version ahead of your current version | a month ago
on 2024-08-17

Release notes
Package name: @ethereumjs/util
  • 9.1.0 - 2024-08-15

    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=<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">account</span><span class="pl-kos">.</span><span class="pl-c1">nonce</span><span class="pl-kos">}</span></span> and balance=<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">account</span><span class="pl-kos">.</span><span class="pl-c1">balance</span><span class="pl-kos">}</span></span> 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
  • 9.0.3 - 2024-03-18
from @ethereumjs/util GitHub release notes
Package name: @ethereumjs/trie
  • 6.2.1 - 2024-08-15

    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)

    Bugfixes

    • Fixes an issue in the delete operation used for unhashed tries and pruning activated which resulted in a wrong state root (bad!), PR #3333
  • 6.2.0 - 2024-03-18
from @ethereumjs/trie GitHub release notes
Package name: keyv-file from keyv-file GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Copy link

github-actions bot commented Sep 12, 2024

Acceptance Tests

  17 files  224 suites   29m 15s ⏱️
601 tests 596 ✔️ 4 💤 1
644 runs  639 ✔️ 4 💤 1

Results for commit ca26b49.

♻️ This comment has been updated with latest results.

snyk-bot and others added 2 commits September 12, 2024 09:39
Snyk has created this PR to upgrade:
  - @ethereumjs/util from 9.0.3 to 9.1.0.
    See this package in npm: https://www.npmjs.com/package/@ethereumjs/util
  - @ethereumjs/trie from 6.2.0 to 6.2.1.
    See this package in npm: https://www.npmjs.com/package/@ethereumjs/trie
  - keyv-file from 0.3.2 to 0.3.3.
    See this package in npm: https://www.npmjs.com/package/keyv-file

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/bdb2179b-5ce8-4cf3-8b32-a42cc27e3d62?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
@ebadiere ebadiere force-pushed the snyk-upgrade-9142d4b9acd9918de466041ccb15428f branch from c78fc3d to 9db0522 Compare September 12, 2024 15:40
@ebadiere ebadiere changed the title [Snyk] Upgrade: , , keyv-file build: (deps). [Snyk] Upgrade: , , keyv-file Sep 12, 2024
@ebadiere ebadiere added the dependencies Pull requests that update a dependency file label Sep 12, 2024
@ebadiere ebadiere added this to the 0.56.0 milestone Sep 12, 2024
Copy link

github-actions bot commented Sep 12, 2024

Tests

       3 files     274 suites   20s ⏱️
1 289 tests 1 288 ✔️ 1 💤 0
1 301 runs  1 300 ✔️ 1 💤 0

Results for commit ca26b49.

♻️ This comment has been updated with latest results.

Copy link

sonarcloud bot commented Sep 12, 2024

@quiet-node quiet-node merged commit 99fb174 into main Sep 16, 2024
43 checks passed
@quiet-node quiet-node deleted the snyk-upgrade-9142d4b9acd9918de466041ccb15428f branch September 16, 2024 19:13
@quiet-node quiet-node modified the milestones: 0.56.0, 0.57.0 Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.54%. Comparing base (f55c304) to head (ca26b49).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2967   +/-   ##
=======================================
  Coverage   89.54%   89.54%           
=======================================
  Files          56       56           
  Lines        3796     3796           
  Branches      775      775           
=======================================
  Hits         3399     3399           
  Misses        350      350           
  Partials       47       47           
Flag Coverage Δ
relay 89.68% <ø> (ø)
server 88.15% <ø> (ø)
ws-server 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@quiet-node quiet-node modified the milestones: 0.57.0, 0.56.0 Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants