Skip to content

Commit 0bf02da

Browse files
authored
Bump tessera to ecabef06b8a186a552380a04f9ed4855e546af02 (#170)
* go get tessera@ecabef06b8a186a552380a04f9ed4855e546af02 && tidy * Follow Tessera API changes
1 parent 5fbf0e9 commit 0bf02da

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

cmd/gcp/main.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,11 @@ func newGCPStorage(ctx context.Context, signer note.Signer) (*storage.CTStorage,
187187
return nil, fmt.Errorf("Failed to initialize GCP Tessera storage driver: %v", err)
188188
}
189189

190-
appender, _, err := tessera.NewAppender(ctx, driver, tessera.WithCheckpointSigner(signer), tessera.WithCTLayout())
190+
opts := tessera.NewAppendOptions().
191+
WithCheckpointSigner(signer).
192+
WithCTLayout()
193+
194+
appender, _, err := tessera.NewAppender(ctx, driver, opts)
191195
if err != nil {
192196
return nil, fmt.Errorf("Failed to initialize GCP Tessera appender: %v", err)
193197
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/rivo/tview v0.0.0-20240625185742-b0a7293b8130
1818
github.com/transparency-dev/formats v0.0.0-20250127084410-134797944be6
1919
github.com/transparency-dev/merkle v0.0.2
20-
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250213171719-5f7ca097f44a
20+
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250311134629-ecabef06b8a1
2121
go.etcd.io/bbolt v1.4.0
2222
golang.org/x/crypto v0.36.0
2323
golang.org/x/mod v0.24.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,8 @@ github.com/transparency-dev/formats v0.0.0-20250127084410-134797944be6 h1:TVUG0R
987987
github.com/transparency-dev/formats v0.0.0-20250127084410-134797944be6/go.mod h1:tSjZBSQ1ZMxgaOMppnyw48SbTDL947PD/8KYbvrx+lE=
988988
github.com/transparency-dev/merkle v0.0.2 h1:Q9nBoQcZcgPamMkGn7ghV8XiTZ/kRxn1yCG81+twTK4=
989989
github.com/transparency-dev/merkle v0.0.2/go.mod h1:pqSy+OXefQ1EDUVmAJ8MUhHB9TXGuzVAT58PqBoHz1A=
990-
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250213171719-5f7ca097f44a h1:b3ffGBgU7ZTcsvQrHAbLTBzDStL91/8pys69jIbrcMU=
991-
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250213171719-5f7ca097f44a/go.mod h1:pkPCyRNzIkb+rsgsjZm8JCY8q7esZsgJzNK3jT1q/Cs=
990+
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250311134629-ecabef06b8a1 h1:BS5jBBOMaaLJAR7Nmyjva4M3W2txzgGBw1DyCm1CqcM=
991+
github.com/transparency-dev/trillian-tessera v0.1.1-0.20250311134629-ecabef06b8a1/go.mod h1:uvyZ7WGpaRDPY+4Lme+s1vEUOluYevTYzrDg9j05cYU=
992992
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
993993
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
994994
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

0 commit comments

Comments
 (0)