Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avalanche-cli fails updating submodules for avalanche-interchain-token-transfer #2133

Open
m5k opened this issue Sep 6, 2024 · 2 comments
Open
Assignees

Comments

@m5k
Copy link

m5k commented Sep 6, 2024

There may be a bug in the avalanche-cli for pulling the ICTTURL.

cmd := exec.Command(

 cmd := exec.Command(
  "git",
  "submodule",
  "update",
  "--init",
  "--recursive",
  "--single-branch",
 )

"--single-branch" isn't a proper usage flag, so it errors.

Reproduce:

  1. Execute: avalanche interchain tokenTransferrer deploy
  2. Step: Downloading Avalanche InterChain Token Transfer Contracts
  3. Results in:
  4. Error: could not update submodules of repository https://github.com/ava-labs/avalanche-interchain-token-transfer: exit status 1

Reproduced: avalanche-cli v1.7.1 & v1.7.0

@m5k
Copy link
Author

m5k commented Sep 6, 2024

I have confirmed that by removing "--single-branch" the error no longer occurs and the command proceeds to the next step.

@felipemadero
Copy link
Collaborator

Hi! I currently can't reproduce the issue. May it depend on git version? Just tested with 2.39.3.
Which version are you using?

@felipemadero felipemadero self-assigned this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

2 participants