Closed mallochine closed 3 years ago
there is an active PR https://github.com/ethereum/go-ethereum/pull/23046 that solves the above error. I have tried it in my local machine.
hey nice find
@mallochine sorry for taking this too long. I ask the go-ethereum devs but it seems they still not review the above PR. I tried to update our mod using go get github.com/certifaction/go-ethereum@BP-3079-clien-compile-wasm
, and get this error when I try to update using go mod tidy
:
go: github.com/certifaction/go-ethereum@v1.10.3-wasm: parsing go.mod:
module declares its path as: github.com/ethereum/go-ethereum
but was required as: github.com/certifaction/go-ethereum
turns out, it happened because it is still use github.com/ethereum/go-ethereum
as module name in here: https://github.com/certifaction/go-ethereum/blob/BP-3079-clien-compile-wasm/go.mod#L1
Do you have any other suggestion?
use go replace on go.mod , and git clone it on ci job first
closed as #141
@moldis please fix this since go-ethereum package is your responsibility.
You can reproduce the compile error by doing this:
The temporary workaround that I'm using (in order to build the wasm taht Hau can use) is to edit those go-ethereum files locally and fix the golang errors by nuking the CPU stat collection.
In order to fix this, Artem you need to do either one of the following two:
@moldis also this is way outside the scope of my responsibilities, so I'm assigning to you