AT Protocol IPLD-CAR Repository toolkit (CLI)

support repo v3

Changed files
+2 -2
repo
+2 -2
repo/repo.go
··· 17 17 ) 18 18 19 19 // current version of repo currently implemented 20 - const ATP_REPO_VERSION int64 = 2 20 + const ATP_REPO_VERSION int64 = 3 21 21 22 22 type SignedCommit struct { 23 23 Did string `cborgen:"did"` ··· 112 112 return nil, fmt.Errorf("loading root from blockstore: %w", err) 113 113 } 114 114 115 - if sc.Version != ATP_REPO_VERSION { 115 + if sc.Version > ATP_REPO_VERSION { 116 116 return nil, fmt.Errorf("unsupported repo version: %d", sc.Version) 117 117 } 118 118