Update contracts and get verifiersLen from SC

This commit is contained in:
Eduard S
2021-01-29 17:46:14 +01:00
parent 8cc23b9fb2
commit 90fe98d15c
11 changed files with 453 additions and 428 deletions

View File

@@ -10,14 +10,19 @@ abigen --abi=HEZ.abi --bin=HEZ.bin --pkg=HEZ --out=HEZ.go
```
You must compile the contracts to get the `.bin` and `.abi` files. The contracts used are in the repo: https://github.com/hermeznetwork/contracts
Branch: `feature/newDeploymentScript`
Specifically they have been processed in the commit with hash: `254dc035142c56553d6d4ee9b2ea9d97259357c2`
Branch: `feature/newDeploymentScript-eth-edu`
at the commit with hash: `e6c5b7db8da2de1b9cc55e281c8d1dfa524b06f0`
Alternatively, you can run the `update.sh` script like this:
```
./update.sh CONTRACT_REPO_PATH
```
Versions:
```
$ abigen --version
abigen version 1.9.21-stable-0287d548
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.7.1+commit.f4a555be.Linux.g++
solidity version 0.6.12
```
```
$ abigen --version
abigen version 1.9.25-stable-e7872729
```