From 9e28cb63936ea5e52382eca101db98332b99dfc4 Mon Sep 17 00:00:00 2001
From: 257Byte <257byte@gmail.com>
Date: Sun, 11 Dec 2022 16:36:16 +0300
Subject: [PATCH] v1.11.0
---
Tzkt.Api.Tests/Tzkt.Api.Tests.csproj | 2 +-
Tzkt.Api/Swagger/Description.md | 2 +-
Tzkt.Api/Swagger/Swagger.cs | 2 +-
Tzkt.Api/Tzkt.Api.csproj | 2 +-
Tzkt.Data/Tzkt.Data.csproj | 4 ++--
Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj | 2 +-
Tzkt.Sync/Services/Domains/DomainsService.cs | 3 ++-
Tzkt.Sync/Tzkt.Sync.csproj | 4 ++--
8 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj b/Tzkt.Api.Tests/Tzkt.Api.Tests.csproj
index 32b708aee..f42070de3 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.10.3
+ 1.11.0
diff --git a/Tzkt.Api/Swagger/Description.md b/Tzkt.Api/Swagger/Description.md
index 99dc0a4bb..d705ea348 100644
--- a/Tzkt.Api/Swagger/Description.md
+++ b/Tzkt.Api/Swagger/Description.md
@@ -7,8 +7,8 @@ TzKT API is available for the following Tezos networks with the following base U
- Mainnet: `https://api.tzkt.io/` or `https://api.mainnet.tzkt.io/` ([view docs](https://api.tzkt.io))
- Ghostnet: `https://api.ghostnet.tzkt.io/` ([view docs](https://api.ghostnet.tzkt.io))
-- Jakartanet: `https://api.jakartanet.tzkt.io/` ([view docs](https://api.jakartanet.tzkt.io))
- Kathmandunet: `https://api.kathmandunet.tzkt.io/` ([view docs](https://api.kathmandunet.tzkt.io))
+- Limanet: `https://api.limanet.tzkt.io/` ([view docs](https://api.limanet.tzkt.io))
We also provide a staging environment for testing newest features and pre-updating client applications before deploying to production:
diff --git a/Tzkt.Api/Swagger/Swagger.cs b/Tzkt.Api/Swagger/Swagger.cs
index b76574b66..c9bd6f2f4 100644
--- a/Tzkt.Api/Swagger/Swagger.cs
+++ b/Tzkt.Api/Swagger/Swagger.cs
@@ -8,7 +8,7 @@ namespace Tzkt.Api.Swagger
{
public static class Swagger
{
- const string Version = "v1.10.3";
+ const string Version = "v1.11.0";
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 a8951b89f..7340c5566 100644
--- a/Tzkt.Api/Tzkt.Api.csproj
+++ b/Tzkt.Api/Tzkt.Api.csproj
@@ -2,7 +2,7 @@
net7.0
- 1.10.3
+ 1.11.0
diff --git a/Tzkt.Data/Tzkt.Data.csproj b/Tzkt.Data/Tzkt.Data.csproj
index a0ee0bf55..dd4aca3a3 100644
--- a/Tzkt.Data/Tzkt.Data.csproj
+++ b/Tzkt.Data/Tzkt.Data.csproj
@@ -2,11 +2,11 @@
net7.0
- 1.10.3
+ 1.11.0
-
+
diff --git a/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj b/Tzkt.Sync.Tests/Tzkt.Sync.Tests.csproj
index af502f55c..9d390e552 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.10.3
+ 1.11.0
diff --git a/Tzkt.Sync/Services/Domains/DomainsService.cs b/Tzkt.Sync/Services/Domains/DomainsService.cs
index a0e4f9238..86a31d7a8 100644
--- a/Tzkt.Sync/Services/Domains/DomainsService.cs
+++ b/Tzkt.Sync/Services/Domains/DomainsService.cs
@@ -140,7 +140,7 @@ LIMIT @limit
Owner = row.Owner,
Expiration = row.Expiration is string s
? DateTimeOffset.Parse(s).UtcDateTime
- : DateTimeOffset.MaxValue.UtcDateTime,
+ : DateTimeOffset.MaxValue.UtcDateTime.Date,
Data = row.Data == "{}" ? null : ParseDomainData((string)row.Data),
FirstLevel = row.FirstLevel,
LastLevel = row.LastLevel
@@ -218,6 +218,7 @@ AND expiry."LastLevel" < state."Level"
INNER JOIN "Domains" AS domain
ON domain."Id" = id
WHERE domain."Expiration" != expiration
+ FOR UPDATE
) updates
WHERE "Id" = updates.id
""", new { ptr = RecordsBigMap, ptr2 = ExpiryBigMap, level = Level });
diff --git a/Tzkt.Sync/Tzkt.Sync.csproj b/Tzkt.Sync/Tzkt.Sync.csproj
index 503b5b060..ca39fdd9e 100644
--- a/Tzkt.Sync/Tzkt.Sync.csproj
+++ b/Tzkt.Sync/Tzkt.Sync.csproj
@@ -2,7 +2,7 @@
net7.0
- 1.10.3
+ 1.11.0
@@ -13,7 +13,7 @@
-
+