EYBlockchain / timber

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

feat: change mutex scope #155

Closed richimenendez closed 3 months ago

richimenendez commented 3 months ago

Related Ticket

https://eyblockchain.atlassian.net/browse/TAX-8482

Dependent PR's

Description

Adds a mutex to getSiblingPathByLeafIndex route in order to avoid a race condition in merkle tree operations that were leading to Proof Generation Fail errors. This mutex was originally added to the controller layer but was changed to route level to increase the scope of the mutex.

QA Instructions

Checklist