cli icon indicating copy to clipboard operation
cli copied to clipboard

ignite scaffold message errors with invalid checksum

Open rootulp opened this issue 2 years ago • 3 comments

Describe the bug

I attempted to scaffold a new message and encountered the error invalid checksum

To reproduce

  1. Install latest Ignite CLI (at the moment v0.21.2)
  2. Attempt to scaffold a message, observe error
$ ignite scaffold message foo
invalid checksum

What version are you using?

$ ignite version
Ignite CLI version:	v0.21.2
Ignite CLI build date:	2022-05-16T18:58:45Z
Ignite CLI source hash:	83cee38e68fe3dd7cdf48a1a7881ac553a281042
Your OS:		darwin
Your arch:		arm64
Your go version:	go version go1.18.1 darwin/arm64
Your uname -a:		Darwin MacBook-Pro-3.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64

Host: macOS Monterey Version 12.4 Chip: Apple M1 Pro

This error does not reproduce on my machine for Ignite CLI v0.20.4

rootulp avatar May 31 '22 20:05 rootulp

Can't reproduce.

Screen Shot 2022-06-01 at 15 38 51

macOS Monterey Version 12.3.1 Chip: Apple M1 Pro

fadeev avatar Jun 01 '22 11:06 fadeev

I also failed to reproduce the issue:

  macOS Monterey Version 12.3.1
  Chip: Apple M1 Pro

I am wondering if it might have something to do with the newer macOS version (12.4), or maybe with a lack of disk space.

Assuming you already tried scaffolding a new chain from scratch, there is a chance that the checksum error might originate in the Git repository, it is a long shot but maybe you can check that you don't get errors in your chain app repo using something like:

git fsck --no-dangling --full

This should not show any errors.

jeronimoalbi avatar Jun 02 '22 10:06 jeronimoalbi

I observed this error in a clone of https://github.com/b9lab/ida-exercise-week-2-student-repo

No errors observed here:

git fsck --no-dangling --full

Checking object directories: 100% (256/256), done.
Checking objects: 100% (1018/1018), done.

rootulp avatar Jun 02 '22 14:06 rootulp

Closing due to stale nature, please reopen if otherwise.

salmad3 avatar Nov 26 '23 22:11 salmad3