mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
repair Hermes ledger migration fidelity
This commit is contained in:
parent
38e6e19f29
commit
4bebc37f2c
4 changed files with 14 additions and 9 deletions
|
|
@ -245,9 +245,9 @@ describe('hermes session ledger unit', () => {
|
|||
expect(isHermesLedgerPublicationError(caught)).toBe(true)
|
||||
})
|
||||
|
||||
it('does not adopt a v1 ledger after the cost-provenance contract changes', async () => {
|
||||
await writeFile(join(cacheDir, 'hermes-session-ledger.v1.json'), JSON.stringify({
|
||||
version: 1,
|
||||
it('does not adopt a v2 ledger whose migration could re-date historical observations', async () => {
|
||||
await writeFile(join(cacheDir, 'hermes-session-ledger.v2.json'), JSON.stringify({
|
||||
version: 2,
|
||||
cursors: {
|
||||
default: {
|
||||
corrupt: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue