add linting and formatting support for solidity (#217)

* Added new `format-solidity` and `lint-solidity` Makefile targets
* Updated documentation on how to install the new tools dependencies
* Formatted the solidity code, updated expected byte code and deployed stagenet contract
* Updated go.mod to go 1.19
* Updated Github actions for go 1.19 and we now use all formatters/linters in the actions checks
This commit is contained in:
Dmitry Holodov
2022-11-01 23:01:59 -05:00
committed by GitHub
parent 7e253a7aa1
commit ec325f2cf7
25 changed files with 155 additions and 111 deletions

View File

@@ -10,8 +10,8 @@ sudo snap install go --classic
On other systems or in docker, use the directions here: https://go.dev/doc/install.
Summary for X86-64 Linux:
```bash
wget https://go.dev/dl/go1.18.3.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz
wget https://go.dev/dl/go1.18.7.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.7.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> .profile
source .profile
```