mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-11-23 08:20:31 -05:00
To fix intermittent `truffle test` failures, use Truffle's external compiler system for generating a valid artifact for Hasher at compile-time instead of in migrations/2_deploy_hasher.js. - Define compileHelper.js script, which outputs temporary artifact data to `./build/Hasher.json`. - Configure `external` compiler in truffle-config to run compileHelper and process result - Remove usage of @truffle/artifactor in migration, since the artifact will now already exist |
||
|---|---|---|
| .. | ||
| 1_initial_migration.js | ||
| 2_deploy_hasher.js | ||
| 3_deploy_verifier.js | ||
| 4_deploy_eth_tornado.js | ||
| 5_deploy_erc20_tornado.js | ||