Error logs:

command-line-arguments
# command-line-arguments
link: github.com/fjl/memsize: invalid reference to runtime.stopTheWorld
make[1]: *** [Makefile:29: op-node] 오류 1
make[1]: 디렉터리 '/home/max/src/tokamak-thanos/op-node' 나감
make:*** [Makefile:110: op-node] 오류 2

Analytics

Dependency version at runtime

image.png

Cause

While attempting to clone tokamak-thanos and deploy it on testnet, I saw the following issue.

I completed the dependency installation with pnpm install and typed make op-node op-batcher op-proposer

This is what happened after that.

The cause is that certain repos crash on the latest version of Go, Go1.23 or later, as shown in the link below.

https://github.com/fjl/memsize/issues/5

For Optimism, they have removed that repository after a certain version to resolve this issue.

Solution

The current solution is simple

Instruct users to set their Go version to 1.22.7 or lower, or delete this repository from the team.