This commit is contained in:
poma 2020-12-18 01:29:53 +03:00
parent 0ca9f1ff56
commit 620ebba503
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,9 @@
DEPLOYER=0xce0042b868300000d44a59004da54a005ffdcf9f
SALT=0x00000000000000000000000000000000000000000000000000000000000325a5
AIRDROP_CHUNK_SIZE=180
# needed only for deploy script
PRIVATE_KEY=
RPC_URL=
NET_ID=42
AIRDROP_CHUNK_SIZE=200
NET_ID=
GAS_PRICE_IN_WEI=123000000000

View File

@ -21,6 +21,12 @@ yarn build
Note: build script will globally `yarn link` `torn-token` package
Note: build script will not recompile snark circuit if compilation result already exists
The result of the build is `actions.json` file, that contains everything that is needed to deploy contracts on Ethereum along with expected deploy addresses.
## Reproducible build
In order to generate exactly the same actions.json the code has to be compiled in `/private/tmp/tornado-deploy` dir because solidity compiler includes a hash of full path to files into contact bytecode as swarm hash. If you compile in other dir this swarm hash will be different. It doesn't affect contract execution but your `actions.json` will have a different hash from the initiation version.
## Verify addresses
```