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

Cargo update #1498

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Cargo update #1498

wants to merge 2 commits into from

Conversation

morph-dev
Copy link
Collaborator

What was wrong?

Automatic cargo update failed (see #1496).

How was it fixed?

  • manually updated "alloy-primitives", "revm", "revm-primitives" and "revm-inspectors"
    • culprit was only "alloy-primitives" and "revm-primitives"
  • updated dependencies in trin-execution/src/storage/evm_db.rs
    • we now use alloy_primitives::map::FbHashMap which is optimized when keys are fixed byte arrays.

Note: first commit is automated cargo update, second one is my fix.

To-Do

ogenev and others added 2 commits September 29, 2024 00:29
info: syncing channel updates for '1.81.0-x86_64-unknown-linux-gnu'
info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
    Updating git repository `https://github.com/ethereum/eth-trie.rs`
From https://github.com/ethereum/eth-trie.rs
 * [new tag]         v0.1.0-alpha.2 -> origin/tags/v0.1.0-alpha.2
 * [new tag]         v0.1.0-alpha.2 -> v0.1.0-alpha.2
 * [new tag]         v0.0.1         -> v0.0.1
 * [new tag]         v0.1.0-alpha.1 -> v0.1.0-alpha.1
    Updating git repository `https://github.com/paradigmxyz/reth.git`
From https://github.com/paradigmxyz/reth
 * [new tag]             v1.0.7     -> origin/tags/v1.0.7
 * [new tag]             v1.0.7     -> v1.0.7
 * [new tag]             v0.1.0-alpha.1 -> v0.1.0-alpha.1
 * [new tag]             v0.1.0-alpha.10 -> v0.1.0-alpha.10
 * [new tag]             v0.1.0-alpha.11 -> v0.1.0-alpha.11
 * [new tag]             v0.1.0-alpha.12 -> v0.1.0-alpha.12
 * [new tag]             v0.1.0-alpha.13 -> v0.1.0-alpha.13
 * [new tag]             v0.1.0-alpha.14 -> v0.1.0-alpha.14
 * [new tag]             v0.1.0-alpha.15 -> v0.1.0-alpha.15
 * [new tag]             v0.1.0-alpha.16 -> v0.1.0-alpha.16
 * [new tag]             v0.1.0-alpha.17 -> v0.1.0-alpha.17
 * [new tag]             v0.1.0-alpha.18 -> v0.1.0-alpha.18
 * [new tag]             v0.1.0-alpha.19 -> v0.1.0-alpha.19
 * [new tag]             v0.1.0-alpha.2 -> v0.1.0-alpha.2
 * [new tag]             v0.1.0-alpha.20 -> v0.1.0-alpha.20
 * [new tag]             v0.1.0-alpha.21 -> v0.1.0-alpha.21
 * [new tag]             v0.1.0-alpha.3 -> v0.1.0-alpha.3
 * [new tag]             v0.1.0-alpha.4 -> v0.1.0-alpha.4
 * [new tag]             v0.1.0-alpha.5 -> v0.1.0-alpha.5
 * [new tag]             v0.1.0-alpha.6 -> v0.1.0-alpha.6
 * [new tag]             v0.1.0-alpha.7 -> v0.1.0-alpha.7
 * [new tag]             v0.1.0-alpha.8 -> v0.1.0-alpha.8
 * [new tag]             v0.1.0-alpha.9 -> v0.1.0-alpha.9
 * [new tag]             v0.2.0-beta.1 -> v0.2.0-beta.1
 * [new tag]             v0.2.0-beta.2 -> v0.2.0-beta.2
 * [new tag]             v0.2.0-beta.3 -> v0.2.0-beta.3
 * [new tag]             v0.2.0-beta.4 -> v0.2.0-beta.4
 * [new tag]             v0.2.0-beta.5 -> v0.2.0-beta.5
 * [new tag]             v0.2.0-beta.6 -> v0.2.0-beta.6
 * [new tag]             v0.2.0-beta.7 -> v0.2.0-beta.7
 * [new tag]             v0.2.0-beta.8 -> v0.2.0-beta.8
 * [new tag]             v0.2.0-beta.9 -> v0.2.0-beta.9
 * [new tag]             v1.0.0     -> v1.0.0
 * [new tag]             v1.0.0-rc.1 -> v1.0.0-rc.1
 * [new tag]             v1.0.0-rc.2 -> v1.0.0-rc.2
 * [new tag]             v1.0.1     -> v1.0.1
 * [new tag]             v1.0.2     -> v1.0.2
 * [new tag]             v1.0.3     -> v1.0.3
 * [new tag]             v1.0.4     -> v1.0.4
 * [new tag]             v1.0.5     -> v1.0.5
 * [new tag]             v1.0.6     -> v1.0.6
    Updating git repository `https://github.com/ethereum/utp`
From https://github.com/ethereum/utp
 * [new tag]         v0.1.0-alpha.14 -> origin/tags/v0.1.0-alpha.14
 * [new tag]         v0.1.0-alpha.14 -> v0.1.0-alpha.14
 * [new tag]         v0.1.0-alpha.10 -> v0.1.0-alpha.10
 * [new tag]         v0.1.0-alpha.11 -> v0.1.0-alpha.11
 * [new tag]         v0.1.0-alpha.12 -> v0.1.0-alpha.12
 * [new tag]         v0.1.0-alpha.13 -> v0.1.0-alpha.13
 * [new tag]         v0.1.0-alpha.6  -> v0.1.0-alpha.6
 * [new tag]         v0.1.0-alpha.7  -> v0.1.0-alpha.7
 * [new tag]         v0.1.0-alpha.8  -> v0.1.0-alpha.8
 * [new tag]         v0.1.0-alpha.9  -> v0.1.0-alpha.9
    Updating git repository `https://github.com/Snowfork/milagro_bls`
From https://github.com/Snowfork/milagro_bls
 * [new ref]         HEAD       -> origin/HEAD
 * [new tag]         0.4.1      -> 0.4.1
 * [new tag]         0.5.0      -> 0.5.0
 * [new tag]         0.5.1      -> 0.5.1
 * [new tag]         0.5.2      -> 0.5.2
 * [new tag]         0.5.3      -> 0.5.3
 * [new tag]         0.6.0      -> 0.6.0
 * [new tag]         0.6.1      -> 0.6.1
 * [new tag]         v0.10.0    -> v0.10.0
 * [new tag]         v0.11.0    -> v0.11.0
 * [new tag]         v0.11.1    -> v0.11.1
 * [new tag]         v0.11.2    -> v0.11.2
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.5.2     -> v0.5.2
 * [new tag]         v0.7.0     -> v0.7.0
 * [new tag]         v0.9.0     -> v0.9.0
 * [new tag]         v1.0.0     -> v1.0.0
 * [new tag]         v1.0.1     -> v1.0.1
 * [new tag]         v1.1.0     -> v1.1.0
 * [new tag]         v1.2.0     -> v1.2.0
 * [new tag]         v1.3.0     -> v1.3.0
 * [new tag]         v1.4.0     -> v1.4.0
 * [new tag]         v1.4.1     -> v1.4.1
 * [new tag]         v1.4.2     -> v1.4.2
 * [new tag]         v1.5.0     -> v1.5.0
 * [new tag]         v1.5.1     -> v1.5.1
    Updating git repository `https://github.com/ralexstokes/ssz-rs`
From https://github.com/ralexstokes/ssz-rs
 * [new ref]         d09f55b4f8554491e3431e01af1c32347a8781cd -> refs/commit/d09f55b4f8554491e3431e01af1c32347a8781cd
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.2.0     -> v0.2.0
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.4.0     -> v0.4.0
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.6.0     -> v0.6.0
 * [new tag]         v0.7.0     -> v0.7.0
     Locking 43 packages to latest compatible versions
    Updating alloy-chains v0.1.33 -> v0.1.34
    Updating alloy-core v0.8.3 -> v0.8.5
    Updating alloy-dyn-abi v0.8.3 -> v0.8.5
    Updating alloy-json-abi v0.8.3 -> v0.8.5
    Updating alloy-primitives v0.8.3 -> v0.8.5
    Updating alloy-sol-macro v0.8.3 -> v0.8.5
    Updating alloy-sol-macro-expander v0.8.3 -> v0.8.5
    Updating alloy-sol-macro-input v0.8.3 -> v0.8.5
    Updating alloy-sol-type-parser v0.8.3 -> v0.8.5
    Updating alloy-sol-types v0.8.3 -> v0.8.5
    Updating async-trait v0.1.82 -> v0.1.83
    Updating autocfg v1.3.0 -> v1.4.0
    Updating cc v1.1.21 -> v1.1.22
    Updating flate2 v1.0.33 -> v1.0.34
    Updating hyper-util v0.1.8 -> v0.1.9
    Updating iri-string v0.7.5 -> v0.7.6
    Updating jsonrpsee v0.24.4 -> v0.24.5
    Updating jsonrpsee-client-transport v0.24.4 -> v0.24.5
    Updating jsonrpsee-core v0.24.4 -> v0.24.5
    Updating jsonrpsee-http-client v0.24.4 -> v0.24.5
    Updating jsonrpsee-proc-macros v0.24.4 -> v0.24.5
    Updating jsonrpsee-server v0.24.4 -> v0.24.5
    Updating jsonrpsee-types v0.24.4 -> v0.24.5
    Updating jsonrpsee-wasm-client v0.24.4 -> v0.24.5
    Updating jsonrpsee-ws-client v0.24.4 -> v0.24.5
    Updating libc v0.2.158 -> v0.2.159
    Updating lz4-sys v1.11.0 -> v1.11.1+lz4-1.10.0
    Updating pkg-config v0.3.30 -> v0.3.31
    Updating redox_syscall v0.5.4 -> v0.5.6
    Updating revm v14.0.2 -> v14.0.3
    Updating revm-inspectors v0.7.4 -> v0.7.7
    Updating revm-interpreter v10.0.2 -> v10.0.3
    Updating revm-precompile v11.0.2 -> v11.0.3
      Adding revm-primitives v10.0.0
    Updating rustls-pki-types v1.8.0 -> v1.9.0
    Updating serde_spanned v0.6.7 -> v0.6.8
    Updating syn v2.0.77 -> v2.0.79
    Updating syn-solidity v0.8.3 -> v0.8.5
    Updating tempfile v3.12.0 -> v3.13.0
    Updating thiserror v1.0.63 -> v1.0.64
    Updating thiserror-impl v1.0.63 -> v1.0.64
    Updating toml_edit v0.22.21 -> v0.22.22
    Updating winnow v0.6.18 -> v0.6.20
note: pass `--verbose` to see 148 unchanged dependencies behind latest
@morph-dev morph-dev self-assigned this Sep 30, 2024
@morph-dev morph-dev removed the request for review from KolbyML September 30, 2024 12:24
@morph-dev morph-dev marked this pull request as draft September 30, 2024 12:24
@morph-dev
Copy link
Collaborator Author

It seems that new alloy-primitives updated the way Address is serialized.
The new string representation uses checksum string, which makes some of our tests fail (they expect lowercase).

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.

2 participants