Skip to content

Conversation

@aoikurokawa
Copy link
Collaborator

@aoikurokawa aoikurokawa commented Oct 24, 2025

Problem

  • Noticed some errors due to wrong instruction (current branch master != mainnet)
[2025-10-24T03:54:11Z INFO  jito_vault_crank] Updating 34 vaults
[2025-10-24T03:54:11Z INFO  jito_vault_cranker::vault_handler] Updating vault: 8tR62x6wxJRVry4EmtKDih6ADqxavVcLXL1H1pkayxAh
...
[2025-10-24T03:54:11Z INFO  jito_vault_cranker::vault_handler] Get tracker failed, initializing. Expecting AccountNotFound: Error: Failed to get VaultUpdateStateTracker account: DoyqsKqYhPPGz3xwdgxJVG9XvXc8qvHMdvpaCPMgcAjC
...
[2025-10-24T03:54:12Z INFO  jito_vault_cranker::vault_handler] ⚠️  Transaction 1/1 failed (attempt 1/10), retrying in 1s: Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 1: Failed to serialize or deserialize account data", data: Empty }) }
...
[2025-10-24T03:54:22Z INFO  jito_vault_crank] Time elapsed: 10.75s
[2025-10-24T03:54:22Z INFO  jito_vault_crank] Sleeping for 300 seconds

Solution

  • Bump down of crates jito-restaking-client and jito-vault-client that is compatible with current mainnet

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@aoikurokawa aoikurokawa changed the title Cranker, CLI: Downgrade restaking, vault clients Cranker, CLI: Change the version of restaking, vault clients Oct 24, 2025
@aoikurokawa aoikurokawa marked this pull request as ready for review October 24, 2025 22:11
@aoikurokawa aoikurokawa requested a review from Copilot October 24, 2025 22:13
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 addresses compatibility issues between the cranker code and mainnet by downgrading the jito-restaking-client and jito-vault-client dependencies to a specific commit that matches the deployed mainnet version. The changes resolve transaction simulation errors caused by instruction mismatches.

  • Pinned jito-restaking-client and jito-vault-client to commit bbc5abe64d5bbbeab1d6f33f5a63a97cc3b9638a
  • Fixed transaction size calculation in vault handler to use proper serialization
  • Commented out incompatible secondary admin functionality in CLI

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
crankers/Cargo.toml Updated restaking and vault client dependencies to specific git commit
cli/Cargo.toml Updated restaking and vault client dependencies to specific git commit
Cargo.toml Added bincode dependency and cli to workspace members
crankers/src/vault_handler.rs Fixed transaction size calculation and improved batch handling logic
cli/src/vault_handler.rs Commented out incompatible secondary admin functionality and added hardcoded addresses
crankers/README.md Fixed command line formatting with proper backslashes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aoikurokawa aoikurokawa requested a review from Copilot October 24, 2025 22:24
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

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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