lightninglabs / taproot-assets

A layer 1 daemon, for the Taproot Assets Protocol specification, written in Go (golang)
MIT License
439 stars 106 forks source link

Fix proof storage clobber error for postgres backend #954

Closed gijswijs closed 6 days ago

gijswijs commented 1 week ago

Fixes #951. An (intermitent) failure popped up when running itest on the postgres backend.

This draft PR tries to solve this error, initially by unifying the behavior of both backends.

Currenlty the status is that this leads to an error later in the process (only for postgres), where the given number of events rhat exist with the given status is of by one.

gijswijs commented 1 week ago

Also fixes #961