You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found some potential issues testing with production data around sendCertificate. Capturing here to follow up.
Large numbers in bridge table - likely others - choke meddler
e.g. 1.5e+19 These numbers appear to be valid.
Haven't found a good remediation. The sqlite type is DECIMAL(78, 0) but the type returned from the internal query is string. Then big.Int.SetString fails because it doesn't support exponent in the string.
Logical inconsistency: shouldSendCertificate checks that there are no pending certs. But then GetLastSentCertificate filters and only selects pending certs.
The net result is that sendCertificate only sends one cert and then doesn't send again
My fix (workaround?) is to remove the PENDING predicate from GetLastSentCertificate
Got code generating test certs from production data. Not sure if they are 'valid' because - for instance - don't seem to see any claims yet.
Q: are we indexing old claim format? If not, might want to for testing purposes.
The text was updated successfully, but these errors were encountered:
Large numbers in bridge table - likely others - choke meddler
e.g. 1.5e+19 These numbers appear to be valid.
Haven't found a good remediation. The sqlite type is DECIMAL(78, 0) but the type returned from the internal query is string. Then big.Int.SetString fails because it doesn't support exponent in the string.
Found some potential issues testing with production data around
sendCertificate
. Capturing here to follow up.bridge
table - likely others - choke meddler1.5e+19
These numbers appear to be valid.DECIMAL(78, 0)
but the type returned from the internal query is string. Then big.Int.SetString fails because it doesn't support exponent in the string.shouldSendCertificate
checks that there are no pending certs. But thenGetLastSentCertificate
filters and only selects pending certs.sendCertificate
only sends one cert and then doesn't send againGetLastSentCertificate
The text was updated successfully, but these errors were encountered: