Skip to content

chore: bump eigensdk & alloy version#1164

Merged
shekohex merged 13 commits intomainfrom
daniel/bump-eigensdk
Oct 2, 2025
Merged

chore: bump eigensdk & alloy version#1164
shekohex merged 13 commits intomainfrom
daniel/bump-eigensdk

Conversation

@danielbui12
Copy link
Contributor

@danielbui12 danielbui12 commented Sep 26, 2025

Summarize crate changes

  • Update eigenlayer-contract-deployer from 0.2.0 to 0.4.0
  • Update eigensdk from 0.5.0 to 2.0.0
  • Update alloy from 0.12.6 to 1.0.35
  • Update alloy-primitives from 0.8.25 to 1.2.1
  • Update alloy-json-abi from 0.8.25 to 1.2.1
  • Update alloy-json-rpc from 0.12.6 to 1.0.35
  • Update alloy-dyn-abi from 0.8.25 to 1.2.1
  • Update alloy-sol-types from 0.8.25 to 1.2.1
  • Update alloy-rlp from 0.3.8 to 0.3.12
  • Update alloy-rpc-client from 0.12.6 to 1.0.35
  • Update alloy-rpc-types from 0.12.6 to 1.0.35
  • Update alloy-rpc-types-eth from 0.12.6 to 1.0.35
  • Update alloy-provider from 0.12.6 to 1.0.35
  • Update alloy-pubsub from 0.12.6 to 1.0.35
  • Update alloy-signer from 0.12.6 to 1.0.35
  • Update alloy-signer-local from 0.12.6 to 1.0.35
  • Update alloy-network from 0.12.6 to 1.0.35
  • Update alloy-contract from 0.12.6 to 1.0.35
  • Update alloy-consensus from 0.12.6 to 1.0.35
  • Update alloy-transport from 0.12.6 to 1.0.35
  • Update alloy-transport-http from 0.12.6 to 1.0.35
  • Update alloy-signer-aws from 0.12.6 to 1.0.35
  • Update alloy-signer-gcp from 0.12.6 to 1.0.35
  • Update alloy-signer-ledger from 0.12.6 to 1.0.35

Issues

@danielbui12 danielbui12 self-assigned this Sep 26, 2025
@danielbui12 danielbui12 added the dependencies Pull requests that update a dependency file label Sep 26, 2025
@github-project-automation github-project-automation bot moved this to Not Started 🕧 in Tangle Universe Sep 26, 2025
@danielbui12 danielbui12 moved this from Not Started 🕧 to Building 🏗️ in Tangle Universe Sep 26, 2025
@shekohex shekohex requested a review from Copilot September 26, 2025 08:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@drewstone
Copy link
Contributor

@claude review

@claude
Copy link
Contributor

claude bot commented Sep 26, 2025

Claude finished @drewstone's task —— View job


Code Review for PR #1164: Bump eigensdk & alloy version

I've completed my review of the dependency upgrades and associated code changes.

Review Tasks:

  • Analyze dependency version updates for breaking changes
  • Review API migration changes in core modules
  • Check module path updates (camelCase to snake_case)
  • Verify example and test updates
  • Look for potential issues or improvements
  • Post comprehensive review feedback

Review Summary

This 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

  1. Provider API Updates - The migration from on_http/on_ws to connect_http/connect_ws in provider builders has been correctly applied across all files.

  2. Module Path Updates - Most module paths have been correctly updated from camelCase to snake_case (e.g., registryCoordinatorregistry_coordinator).

  3. API Signature Changes:

    • Removed deprecated logger parameters from eigensdk calls
    • Updated decode_log calls to remove the boolean parameter
    • Correctly handled the get_receipt signature change
  4. Feature Removal - The deprecated "logging" feature has been properly removed from eigensdk dependencies.

❌ Issues Found

1. Unused Import in crates/manager/src/config/mod.rs

use crate::error::{Error, Result};
                    ^^^^^ // Error is unused

Fix: Remove the unused Error import.

2. Incorrect Module Path in crates/clients/eigenlayer/src/tests.rs

Lines 12-13 use registrycoordinator (camelCase) instead of registry_coordinator (snake_case):

// Current (incorrect):
use eigenlayer_contract_deployer::bindings::core::registrycoordinator::...

// Should be:
use eigenlayer_contract_deployer::bindings::core::registry_coordinator::...

3. Dependency Conflict in cargo-tangle tests

The test test_run_eigenlayer_avs is failing due to a c-kzg version conflict. This appears to be a dependency resolution issue that needs investigation.

📋 Additional Observations

  1. Version Pinning: All alloy dependencies are pinned to exact versions (e.g., =1.0.35), which is good for consistency but may require more frequent updates.

  2. Contract Address Updates: The AVS contracts JSON has updated implementation addresses - ensure these are intentional and tested.

  3. Build Script Feature: The new "build-script" feature has been added to eigenlayer-contract-deployer - verify this is required for the build process.

🔧 Required Actions

Before merging this PR:

  1. Fix the unused import in crates/manager/src/config/mod.rs
  2. Correct the module paths in crates/clients/eigenlayer/src/tests.rs (lines 12-13)
  3. Investigate and resolve the c-kzg dependency conflict in cargo-tangle tests
  4. Run cargo clippy -- -D warnings locally to catch any other linting issues

The migration appears largely successful, with these being relatively minor issues that should be straightforward to fix. The API changes are consistent with the major version bumps and follow the expected patterns for these libraries.


Job runBranch

@danielbui12
Copy link
Contributor Author

danielbui12 commented Sep 29, 2025

This upgrade depends on next release of foundry version with soldeer > v0.7.1 to fix issue Builder::init should not be called after logger initialized: SetLoggerError(()) itself

Steps to reproduce:

  • Run cargo clean && RUST_LOG=incredible_squaring_blueprint_eigenlayer=trace ograc test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture

But it still work normally if we run (without set the RUST_LOG target):

cargo test --package incredible-squaring-blueprint-eigenlayer test_eigenlayer_incredible_squaring_blueprint -- --nocapture

@drewstone
Copy link
Contributor

Copy link
Contributor

@Tjemmmic Tjemmmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You had shown the tests passing last week, were there changes/updates made since then?


[features]
default = ["vm-sandbox"]
default = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this? Was this a temporary change for testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

@Tjemmmic Tjemmmic Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logging target does not exist

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Ok(response)
}

// TODO: Slashing contract equivalent
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good next task

@danielbui12
Copy link
Contributor Author

Does this release handle it @danielbui12 https://github.com/mario-eth/soldeer/releases/tag/v0.8.0

@drewstone yes it does. but in our code, we're using forge soldeer not soldeer directly

Comment on lines 1 to 15
{
"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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-project-automation github-project-automation bot moved this from Building 🏗️ to Completed ✅ in Tangle Universe Sep 30, 2025
@Tjemmmic
Copy link
Contributor

@danielbui12 It looks like these changes also introduced some new problems with the cargo-tangle tests. Clippy is also failing

@Tjemmmic Tjemmmic moved this from Completed ✅ to Building 🏗️ in Tangle Universe Sep 30, 2025
@danielbui12 danielbui12 added DO NOT MERGE Please do not merge this PR yet, even if it is ready and removed DO NOT MERGE Please do not merge this PR yet, even if it is ready labels Oct 1, 2025
@github-project-automation github-project-automation bot moved this from Building 🏗️ to Completed ✅ in Tangle Universe Oct 2, 2025
@shekohex shekohex merged commit b4901c9 into main Oct 2, 2025
61 of 62 checks passed
@shekohex shekohex deleted the daniel/bump-eigensdk branch October 2, 2025 13:58
This was referenced Sep 25, 2025
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

Status: Completed ✅

Development

Successfully merging this pull request may close these issues.

5 participants