Skip to content

Conversation

@milapsheth
Copy link
Member

@milapsheth milapsheth commented Oct 10, 2025

Note

Upgrades Hedera InterchainTokenService to v2.1.1 on mainnet and testnet, rotating component addresses and updating InterchainTokenFactory implementations.

  • Hedera (mainnet/testnet):
    • InterchainTokenService (ITS):
      • Bump salt to ITS v2.1.1 and rotate tokenManagerDeployer, interchainTokenDeployer, tokenManager, tokenHandler, and implementation addresses.
    • InterchainTokenFactory:
      • Update implementation address for interchain-token-factory on both networks.

Written by Cursor Bugbot for commit 317b7f2. This will update automatically on new commits. Configure here.

@milapsheth milapsheth requested a review from a team as a code owner October 10, 2025 08:43
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Overview

Summary

This PR upgrades Hedera's Interchain Token Service (ITS) to v2.1.1 on both mainnet and testnet environments.

Key Changes:

  • Updated salt from "ITS v2.1.0" to "ITS v2.1.1" for both mainnet and testnet
  • Updated contract addresses for:
    • tokenManagerDeployer
    • interchainTokenDeployer
    • tokenManager
    • tokenHandler
    • implementation
    • InterchainTokenFactory implementation
  • Maintained consistent proxySalt at "ITS v1.0.0" (as per custom instructions)
  • address and predeployCodehash fields remain unchanged, as expected for a proxy upgrade

Issues Found:

  • The version field in both files remains at "2.1.0" but should be updated to "2.1.1" to match the salt and deployment version. This was correctly done in the stagenet upgrade (commit 59c3e26).

Confidence Score: 3/5

  • This PR is generally safe but requires a version field correction before merging
  • The changes follow the established upgrade pattern and correctly update contract addresses. However, the version field was not updated from "2.1.0" to "2.1.1" in both config files, creating an inconsistency with the salt field and the actual deployment version. This is a metadata issue that should be corrected for accuracy, though it won't affect the deployed contracts themselves.
  • Both axelar-chains-config/info/mainnet.json and axelar-chains-config/info/testnet.json need the version field updated to "2.1.1"

Important Files Changed

File Analysis

Filename Score Overview
axelar-chains-config/info/mainnet.json 3/5 Updated Hedera ITS to v2.1.1 with new contract addresses, but version field not updated to match
axelar-chains-config/info/testnet.json 3/5 Updated Hedera ITS to v2.1.1 with new contract addresses, but version field not updated to match

Sequence Diagram

sequenceDiagram
    participant Deployer
    participant ITS Proxy
    participant Old Implementation
    participant New Implementation v2.1.1
    participant TokenManager
    participant TokenHandler
    participant TokenFactory

    Note over Deployer,TokenFactory: Hedera ITS v2.1.1 Upgrade Process
    
    Deployer->>New Implementation v2.1.1: Deploy new implementation contract
    Note over New Implementation v2.1.1: Address: 0x1B13a9BaF8d3116C56CCDF3aa9049ad532a9C03d
    
    Deployer->>TokenManager: Deploy new TokenManager implementation
    Note over TokenManager: Address: 0xE89A3e8E7262d96BD5dB9568060B8DDB2e7B7bCD (mainnet)<br/>0xF0C255159c56DADC2559295e2427240484172Aba (testnet)
    
    Deployer->>TokenHandler: Deploy new TokenHandler
    Note over TokenHandler: Address: 0x563ee90271512e7a83D0cF31c46395F27a3f489f
    
    Deployer->>TokenFactory: Deploy new InterchainTokenFactory implementation
    Note over TokenFactory: Address: 0x4B4c1F7754026E00608f1f27e20ff5cDbB047A70 (mainnet)<br/>0x18e160AA6740bfa78091a6Aee08270d48CAf9944 (testnet)
    
    Deployer->>ITS Proxy: Upgrade proxy to point to new implementation
    ITS Proxy-->>Old Implementation: Stop routing calls
    ITS Proxy-->>New Implementation v2.1.1: Start routing calls
    
    Note over ITS Proxy: Proxy address remains unchanged:<br/>0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C
    Note over ITS Proxy: proxySalt stays at "ITS v1.0.0"<br/>salt updated to "ITS v2.1.1"
Loading

2 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

"proxySalt": "ITS v1.0.0",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C",
"version": "2.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: version field should be updated to "2.1.1" to match the salt upgrade

Suggested change
"version": "2.1.0",
"version": "2.1.1",

"proxySalt": "ITS v1.0.0",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C",
"version": "2.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: version field should be updated to "2.1.1" to match the salt upgrade

Suggested change
"version": "2.1.0",
"version": "2.1.1",

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.

1 participant