Build and Test Osmosis Source Code
Install Go 1.18
Currently, Osmosis uses Go 1.18 to compile the code.
Install Go 1.18 by following instructions there.
Verify the installation by typing go version
in your terminal.
$ go version
go version go1.18.1 darwin/amd64
Build Osmosis
In order to build Osmosis you need the source code. Either download the source of a release or clone the git repository.
Build Osmosis from the source code:
cd osmosis
make build
After building, you should see a new executable file osmosis/build/osmosisd
.
Run Tests
Run tests from the source code:
cd osmosis
make test