You will need CDT 1.7 installed. These instructions are written for Linux if you want to run on a mac, it's much more difficult IMHO
mkdir ~/verify cd ~/verify
- Install cdt 1.7.0
wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.7.0/eosio.cdt_1.7.0-1-ubuntu-18.04_amd64.deb
- Install CDT using apt
sudo apt install ./eosio.cdt_1.7.0-1-ubuntu-18.04_amd64.deb`
- Clone the contracts repo and build contracts
git clone https://github.com/ProtonProtocol/proton.contracts.git
cd proton.contracts
./build.sh
- Inspect the code changes in Github
- Get the SHA 256 SUM of the wasm you just built
shasum -a 256 build/contracts/eosio.system/eosio.system.wasm
You will get an output that looks like this:
shasum -a 256 build/contracts/eosio.system/eosio.system.wasm 42af59ee2e225e58395df414fd885638247cbe852d2c5baf20bb1e695d68e394 build/contracts/eosio.system/eosio.system.wasm
- Does it match the sum you see on the msig?
https://www.protonscan.io/msig/swapsledger4/u52smn
- Approve