thetatoken / theta-eth-rpc-adaptor

An adaptor that translates the Theta RPC APIs to the Ethereum RPC APIs
https://docs.thetatoken.org/
24 stars 11 forks source link

common/utils.go:249:34: undefined: common.HeightRPCCompatibility #29

Open mishra-keshav opened 2 years ago

mishra-keshav commented 2 years ago

@jieyilong , Please comment on this issue , ubuntu@ip-172-31-6-115:/usr/local/go/src/github.com/thetatoken/theta-eth-rpc-adaptor$ make install go install ./cmd/...

github.com/thetatoken/theta-eth-rpc-adaptor/common

common/utils.go:249:34: undefined: common.HeightRPCCompatibility make: *** [Makefile:24: release] Error 2

jieyilong commented 2 years ago

Thanks for the question. Did you checkout the theta code base following the instructions in the link below?

https://docs.thetatoken.org/docs/setup-the-eth-rpc-adaptor-for-the-theta-mainnet#21-install-the-adaptor

The code directories should look like:

thetatoken/theta
thetatoken/theta-eth-rpc-adaptor
mishra-keshav commented 2 years ago

Yes @jieyilong , I have followed the same documentation which you have provided. And also the code directories is as same as you have suggested but then also i am getting same error.