EYBlockchain / timber

Construct a Merkle Tree database from Ethereum logs.
Other
67 stars 19 forks source link

Remove test-specific code from Merkle-tree #24

Closed iAmMichaelConnor closed 4 years ago

iAmMichaelConnor commented 4 years ago
  if (contractName === 'MerkleTreeControllerMiMC') {
    contractName =
      process.env.CURVE === 'BLS12_377'
        ? 'MerkleTreeControllerMiMC_BLS12'
        : 'MerkleTreeControllerMiMC_BN254';
  }

in src/routes/merkle-tree.routes.js.

This code is too specific to be in the src code, as it appears to only exist to allow tests to work.

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 3.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: