Skip to content

Commit

Permalink
incremented cache schema version since existing caches contain duplic…
Browse files Browse the repository at this point in the history
…ate strategies
  • Loading branch information
zavelevsky committed Aug 9, 2023
1 parent d3a8d3c commit 30a2342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain-cache/ChainCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
import { Logger } from '../common/logger';
const logger = new Logger('ChainCache.ts');

const schemeVersion = 4; // bump this when the serialization format changes
const schemeVersion = 5; // bump this when the serialization format changes

type PairToStrategiesMap = { [key: string]: EncodedStrategy[] };
type StrategyById = { [key: string]: EncodedStrategy };
Expand Down

0 comments on commit 30a2342

Please sign in to comment.