diff --git a/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj b/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj index 74734fe2..fe84a39a 100644 --- a/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj +++ b/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj @@ -5,7 +5,7 @@ enable false 10 - 1.12.4 + 1.12.5 diff --git a/Tzkt.Api/Repositories/OperationRepository.SmartRollupExecuteOperation.cs b/Tzkt.Api/Repositories/OperationRepository.SmartRollupExecuteOperation.cs index 1a29224e..441ab19f 100644 --- a/Tzkt.Api/Repositories/OperationRepository.SmartRollupExecuteOperation.cs +++ b/Tzkt.Api/Repositories/OperationRepository.SmartRollupExecuteOperation.cs @@ -149,7 +149,7 @@ public async Task> GetSmartRollupExecut StorageLimit = row.StorageLimit, StorageUsed = row.StorageUsed, BakerFee = row.BakerFee, - StorageFee = row.StorageFee, + StorageFee = row.StorageFee ?? 0, Status = OpStatuses.ToString(row.Status), Rollup = row.SmartRollupId == null ? null : Accounts.GetAlias(row.SmartRollupId), Commitment = row.cId == null ? null : new() @@ -239,7 +239,7 @@ public async Task GetSmartRollupExecuteOps(SrOperationFilter filter, break; case "storageFee": foreach (var row in rows) - result[j++][i] = row.StorageFee; + result[j++][i] = row.StorageFee ?? 0; break; case "status": foreach (var row in rows) diff --git a/Tzkt.Api/Repositories/OperationRepository.SmartRollupOriginateOperation.cs b/Tzkt.Api/Repositories/OperationRepository.SmartRollupOriginateOperation.cs index e31daffd..74291382 100644 --- a/Tzkt.Api/Repositories/OperationRepository.SmartRollupOriginateOperation.cs +++ b/Tzkt.Api/Repositories/OperationRepository.SmartRollupOriginateOperation.cs @@ -100,7 +100,7 @@ public async Task> GetSmartRollupOrig StorageLimit = row.StorageLimit, StorageUsed = row.StorageUsed, BakerFee = row.BakerFee, - StorageFee = row.StorageFee, + StorageFee = row.StorageFee ?? 0, Status = OpStatuses.ToString(row.Status), PvmKind = PvmKinds.ToString((int)row.PvmKind), Kernel = row.Kernel, @@ -188,7 +188,7 @@ public async Task GetSmartRollupOriginateOps(SrOperationFilter filte break; case "storageFee": foreach (var row in rows) - result[j++][i] = row.StorageFee; + result[j++][i] = row.StorageFee ?? 0; break; case "status": foreach (var row in rows) diff --git a/Tzkt.Api/Swagger/Swagger.cs b/Tzkt.Api/Swagger/Swagger.cs index 5f54b814..7a9ad64e 100644 --- a/Tzkt.Api/Swagger/Swagger.cs +++ b/Tzkt.Api/Swagger/Swagger.cs @@ -2,7 +2,7 @@ { public static class Swagger { - const string Version = "1.12.4"; + const string Version = "1.12.5"; const string Path = "/v1/swagger.json"; public static void AddOpenApiDocument(this IServiceCollection services) diff --git a/Tzkt.Api/Tzkt.Api.csproj b/Tzkt.Api/Tzkt.Api.csproj index 21f4cab9..523152a7 100644 --- a/Tzkt.Api/Tzkt.Api.csproj +++ b/Tzkt.Api/Tzkt.Api.csproj @@ -1,7 +1,7 @@  - 1.12.4 + 1.12.5 diff --git a/Tzkt.Data/Tzkt.Data.csproj b/Tzkt.Data/Tzkt.Data.csproj index 48e66e4d..f910bde5 100644 --- a/Tzkt.Data/Tzkt.Data.csproj +++ b/Tzkt.Data/Tzkt.Data.csproj @@ -2,7 +2,7 @@ net7.0 - 1.12.4 + 1.12.5 diff --git a/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj b/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj index 1b0c4df2..e29dbe56 100644 --- a/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj +++ b/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj @@ -5,7 +5,7 @@ net7.0 enable enable - 1.12.4 + 1.12.5 diff --git a/Tzkt.Sync/Tzkt.Sync.csproj b/Tzkt.Sync/Tzkt.Sync.csproj index 8e3d19a4..131afad1 100644 --- a/Tzkt.Sync/Tzkt.Sync.csproj +++ b/Tzkt.Sync/Tzkt.Sync.csproj @@ -1,7 +1,7 @@  - 1.12.4 + 1.12.5