Skip to content

Commit 781c004

Browse files
committed
increase signature length to 128
1 parent 142b9e7 commit 781c004

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

code/go/0chain.net/blobbercore/allocation/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func FetchAllocationFromEventsDB(ctx context.Context, allocationID string, alloc
141141
return a, nil
142142
}
143143

144-
logging.Logger.Info("Saving the allocation to DB")
144+
logging.Logger.Info("Saving the allocation to DB", zap.String("allocation_id", a.ID))
145145

146146
if !isExist {
147147
err = Repo.Save(ctx, a)

goose/migrations/1730098482_session_key.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ ALTER TABLE allocations ADD COLUMN owner_signing_public_key character varying(51
44

55
ALTER TABLE reference_objects ADD COLUMN signature_version smallint;
66

7+
ALTER TABLE reference_objects ALTER COLUMN actual_file_hash_signature TYPE character varying(128);
8+
9+
ALTER TABLE reference_objects ALTER COLUMN validation_root_signature TYPE character varying(128);
10+
711
-- +goose StatementEnd

0 commit comments

Comments
 (0)