stellar-core icon indicating copy to clipboard operation
stellar-core copied to clipboard

Implement SQL invariants in BucketDB

Open sisuresh opened this issue 1 year ago • 1 comments

We have certain invariants enforced in our ledger SQL logic like - https://github.com/stellar/stellar-core/blob/5a6d8502b6b6b12a40b133bcbae9e1abf1901041/src/ledger/LedgerTxnTrustLineSQL.cpp#L22

These invariants should be reflected in BucketDB as well.

sisuresh avatar Nov 16 '23 01:11 sisuresh

The PR that closed this was reverted due to the fact that some ops allow prefetching an issuer trustline.

sisuresh avatar Feb 26 '24 17:02 sisuresh

Closing, invariants in SQL were buggy

SirTyson avatar Jul 09 '24 23:07 SirTyson