Skip to content

[Bug]: #2922

@0xmkar

Description

@0xmkar

Describe the bug
The avalanche interchain tokenTransferrer deploy command fails with an "execution reverted" error during deployment of Avalanche ICTT (Interchain Token Transfer) contracts on the local network, causing the entire deployment process to abort.

To Reproduce
Run the CLI command with detailed logging: avalanche interchain tokenTransferrer deploy --log-level DEBUG

Choose the options: Local Network → C-Chain as Home → specify existing Home contract address → use stored private key → select remote chain (chain2) → remote endpoint.

Process proceeds through:

Downloading Avalanche ICTT Contracts

Compiling Avalanche ICTT Contracts

The command ends with: Error: execution reverted

Expected behavior
The process should complete successfully, deploying both Home and Remote bridge contracts without any runtime errors

Screenshots
Not available, as this is a CLI session. Full logs are provided below.

avalanche interchain tokenTransferrer deploy --log-level DEBUG 13043ms
[08-17|02:17:46.799] INFO cmd/root.go:134 -----------
[08-17|02:17:46.799] INFO cmd/root.go:135 cmd: interchain tokenTransferrer deploy --log-level DEBUG
✔ Local Network
✔ C-Chain
Home RPC Endpoint: http://127.0.0.1:9650/ext/bc/C/rpc
[08-17|02:17:48.512] INFO ux/output.go:43 Home RPC Endpoint: http://127.0.0.1:9650/ext/bc/C/rpc

✔ A token that already has a Home deployed (recommended)
Enter the address of the Home: 0x95CA0a568236fC7413Cd2b794A7da24422c2BBb6
4A7da24422c2BBb6█
✔ Get private key from an existing stored key (created from avalanche key create or avalanche key import)
✔ ewoq
✔ Blockchain chain2
Remote RPC Endpoint: http://127.0.0.1:44003/ext/bc/NieberEBV9gN1jzQw1uofvUSeqv4SFJYraVN72mnnnaL9BbPB/rpc
[08-17|02:18:02.160] INFO ux/output.go:43 Remote RPC Endpoint: http://127.0.0.1:44003/ext/bc/NieberEBV9gN1jzQw1uofvUSeqv4SFJYraVN72mnnnaL9BbPB/rpc

✔ Use the private key of the Genesis Allocated address 0x1815dc231df3b0121f30f5B900177807c8b115B0
Downloading Avalanche ICTT Contracts
[08-17|02:18:04.572] INFO ux/output.go:43 Downloading Avalanche ICTT Contracts

Compiling Avalanche ICTT Contracts
[08-17|02:18:05.467] INFO ux/output.go:43 Compiling Avalanche ICTT Contracts

Error: execution reverted
[08-17|02:18:06.027] INFO ux/output.go:43 Error: execution reverted

Operating System
Linux Mint

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions