Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates multiple dependencies to their latest versions, with the primary focus on upgrading the EigenLayer SDK from version 0.5.0 to 2.0.0 and Alloy libraries from 0.12.6 to 1.0.35. The upgrade also includes eigenlayer-contract-deployer from 0.2.0 to 0.4.0 and eigenlayer-middleware from 0.5.4 to 1.3.1.
Key changes include:
- Major version updates for eigensdk and alloy libraries with API changes
- Module path updates reflecting naming convention changes (snake_case)
- Method signature changes for provider builders and contract calls
- Removal of deprecated logger parameters and features
Reviewed Changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Cargo.toml | Updates dependency versions for eigensdk, alloy libraries, and related packages |
| crates/runner/Cargo.toml | Removes deprecated "logging" feature from eigensdk |
| crates/clients/eigenlayer/Cargo.toml | Removes deprecated "logging" feature from eigensdk |
| examples/incredible-squaring-eigenlayer/Cargo.toml | Adds new "build-script" feature |
| crates/evm-extra/src/util.rs | Updates provider builder methods from on_http/on_ws to connect_http/connect_ws |
| crates/clients/evm/src/instrumented_client.rs | Updates provider builder methods for HTTP and WebSocket connections |
| crates/chain-setup/tangle/src/deploy.rs | Updates provider builder WebSocket connection method |
| crates/chain-setup/tangle/src/transactions.rs | Updates provider builder WebSocket connection method |
| crates/chain-setup/anvil/src/anvil.rs | Removes generic type parameter from get_receipt function signature |
| crates/runner/src/eigenlayer/ecdsa.rs | Updates module paths and removes deprecated logger usage |
| crates/runner/src/eigenlayer/bls.rs | Updates module paths and removes deprecated logger usage |
| crates/clients/eigenlayer/src/client.rs | Updates module paths, removes logger parameters, and fixes return value handling |
| crates/eigenlayer-extra/src/util.rs | Updates module paths and simplifies return value handling |
| crates/evm-extra/src/extract/event.rs | Removes boolean parameter from decode_log calls |
| examples/incredible-squaring-eigenlayer/src/jobs/initialize_task.rs | Removes boolean parameter from decode_log call |
| examples/incredible-squaring-eigenlayer/src/jobs/compute_x_square.rs | Removes boolean parameter from decode_log call |
| examples/incredible-squaring-eigenlayer/src/tests.rs | Updates module paths from camelCase to snake_case |
| crates/testing-utils/eigenlayer/src/env.rs | Updates module paths from camelCase to snake_case |
| cli/src/anvil/mod.rs | Updates module paths from camelCase to snake_case |
| examples/incredible-squaring-eigenlayer/foundry.toml | Updates eigenlayer-middleware version and paths |
| examples/incredible-squaring-eigenlayer/remappings.txt | Updates eigenlayer-middleware version path |
| examples/incredible-squaring-eigenlayer/contracts/src/SquaringServiceManager.sol | Removes unused import and using declaration |
| examples/incredible-squaring-eigenlayer/avs_contracts.json | Updates contract implementation addresses |
| examples/incredible-squaring-eigenlayer/README.md | Updates test command with correct package name |
| crates/manager/src/sdk/entry.rs | Removes commented out code |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@claude review |
|
Claude finished @drewstone's task —— View job Code Review for PR #1164: Bump eigensdk & alloy versionI've completed my review of the dependency upgrades and associated code changes. Review Tasks:
Review SummaryThis PR updates major dependencies with several breaking API changes that have been mostly well-handled. However, there are a few issues that need to be addressed before merging. ✅ Correctly Migrated Changes
❌ Issues Found1. Unused Import in
|
|
This upgrade depends on next release of foundry version with soldeer > v0.7.1 to fix issue Steps to reproduce:
But it still work normally if we run (without set the |
|
Does this release handle it @danielbui12 https://github.com/mario-eth/soldeer/releases/tag/v0.8.0 |
Tjemmmic
left a comment
There was a problem hiding this comment.
You had shown the tests passing last week, were there changes/updates made since then?
|
|
||
| [features] | ||
| default = ["vm-sandbox"] | ||
| default = [] |
There was a problem hiding this comment.
Why remove this? Was this a temporary change for testing?
There was a problem hiding this comment.
The vm-sandbox feature is still under development as part of Shady's work
|
|
||
| ```bash | ||
| RUST_LOG=blueprint_sdk=trace cargo test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture | ||
| RUST_LOG=incredible_squaring_blueprint_eigenlayer=trace cargo test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture |
There was a problem hiding this comment.
This logging target does not exist
There was a problem hiding this comment.
@Tjemmmic that command run the tests of incredible_squaring_blueprint_eigenlayer crate, wdym logging target incredible_squaring_blueprint_eigenlayer does not exist?
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
| Ok(response) | ||
| } | ||
|
|
||
| // TODO: Slashing contract equivalent |
@drewstone yes it does. but in our code, we're using |
| { | ||
| "proxy_admin": "0x9d4454b023096f34b160d6b654540c56a1f81688", | ||
| "squaring_service_manager": "0x36c02da8a0983159322a80ffe9f24b1acff8b570", | ||
| "squaring_service_manager_impl": "0xdc11f7e700a4c898ae5caddb1082cffa76512add", | ||
| "squaring_service_manager_impl": "0x36b58f5c1969b7b6591d752ea6f5486d069010ab", | ||
| "squaring_task_manager": "0x5f3f1dbd7b74c6b46e8c44f98792a1daf8d69154", | ||
| "registry_coordinator": "0xcd8a1c3ba11cf5ecfa6267617243239504a98d90", | ||
| "bls_apk_registry": "0x2bdcc0de6be1f7d2ee689a0342d76f52e8efaba3", | ||
| "index_registry": "0x7bc06c482dead17c0e297afbc32f6e63d3846650", | ||
| "stake_registry": "0x4c5859f0f772848b2d91f1d83e2fe57935348029", | ||
| "operator_state_retriever": "0xb0d4afd8879ed9f52b28595d31b441d079b2ca07", | ||
| "strategy": "0x524f04724632eed237cba3c37272e018b3a7967e", | ||
| "pauser_registry": "0x04c89607413713ec9775e14b954286519d836fef", | ||
| "pauser_registry": "0x21df544947ba3e8b3c32561399e88b52dc8b2823", | ||
| "token": "0x4826533b4897376654bb4d4ad88b7fafd0c98528", | ||
| "instant_slasher": "0x1429859428c0abc9c2c47c8ee9fbaf82cfa0f20f", | ||
| "socket_registry": "0xfd471836031dc5108809d173a067e8486b9047a3" |
There was a problem hiding this comment.
There weren't more addresses that changed?
|
|
||
| ```bash | ||
| RUST_LOG=blueprint_sdk=trace cargo test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture | ||
| RUST_LOG=incredible_squaring_blueprint_eigenlayer=trace cargo test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
@danielbui12 It looks like these changes also introduced some new problems with the cargo-tangle tests. Clippy is also failing |
Summarize crate changes
Issues