Commit 20d68df
authored
Remove finality cert table constraint in observer (#1030)
Remove the primary key constraint in finality certs in observer to
avoid an edge-case where multiple certs for the same instance may be
discovered in conjunction with using duckdb appender to insert them.
Appender does not offer the ability to insert or ignore records. And
even if it did, we probably want to capture all and any certs, since
certs are validated before insertion.
While at it, also fix a typo in cert JSON struct tags.1 parent d13dac1 commit 20d68df
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
0 commit comments