cosmos / gravity-bridge

A CosmosSDK application for moving assets on and off of EVM based, POW chains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Showing ERROR: exit status 127 while executing $ ebrelayer generate

SudeshGagare opened this issue · comments

cosmos@ubuntu:~/go/src/github.com/cosmos/peggy-master/testnet-contracts$ ebrelayer generate

ERROR: exit status 127
cosmos@ubuntu:~/go/src/github.com/cosmos/peggy-master/testnet-contracts$

I have installed both solc and abigen globally, but still it is showing the same ERROR:exit status 127

Make sure it’s version 5 of solc. Current contracts aren’t compatible with v6.

How to install a specific version of Solc?? Because the Command "$ sudo snap install solc" installs a different version.

commented

Hello, SudeshGagare!
You can install specific version of Solc using npm.
npm install -g solc@0.5.0

Thanks

commented

I have met same ERROR:exit status 127.
I have installed solc 0.5.0 correctly.
How should I fix that ?