Web3Signer is an open-source signing service capable of signing on multiple platforms (Ethereum1 and 2, Filecoin) using private keys stored in an external vault, or encrypted on a disk.
Make cached GVR calculation thread-safe. During Web3Signer first boot, if multiple requests for signing comes in, it can result in multiple threads attempting to insert gvr in a fresh database. This would show an constraint violation in database logs.
Fixed Issue(s)
Fixes #978
Documentation
[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.
Changelog
[x] I thought about adding a changelog entry, and added one if I deemed necessary.
Testing
[x] I thought about testing these changes in a realistic/non-local environment.
PR Description
Make cached GVR calculation thread-safe. During Web3Signer first boot, if multiple requests for signing comes in, it can result in multiple threads attempting to insert gvr in a fresh database. This would show an constraint violation in database logs.
Fixed Issue(s)
Fixes #978
Documentation
doc-change-required
label to this PR if updates are required.Changelog
Testing