EYBlockchain / timber

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

fix: autostart waits for shield contract deployment #37

Closed Westlad closed 3 years ago

Westlad commented 3 years ago

If you deploy a Timber instance using autostart, it will fail if it cannot resolve contract artefacts. This can be because the contracts have not yet been deployed. This is particularly true in a test/demo situation. This PR prevents Timber failing with an error immediately, instead, it will poll for the contract artefacts every 3 s, only failing after 20 attempts (default; this value can be changed by the AUTOSTART_RETRIES environment variable).

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 3.2.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: