baking-bad/tzkt

bug when sync data

Closed this issue · 1 comments

info: Program[0]
Version 1.13.3.0
info: Program[0]
Initialize database...
info: Program[0]
Database initialized
warn: Tzkt.Sync.Services.Observer[0]
Observer started
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Overriding address(es) 'http://+:80'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://0.0.0.0:5001
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /app
info: Tzkt.Sync.Services.Observer[0]
State initialized: [5650611:BLk9432iUpkb21WPUmFQkqeBsUBT1ecsa9836d95PxzU4BvHPJ9]
info: Tzkt.Sync.Services.QuotesService[0]
Quote provider: TzktQuotesProvider (Async)
info: Tzkt.Sync.Services.Observer[0]
Quotes initialized: [5650611]
info: Tzkt.Sync.Services.Observer[0]
Synchronization started
warn: Microsoft.EntityFrameworkCore.Query[10103]
The query uses the 'First'/'FirstOrDefault' operator without 'OrderBy' and filter operators. This may lead to unpredictable results.
fail: Tzkt.Sync.Services.Observer[0]
Failed to apply updates
System.NotImplementedException: Slashing of unstaked deposits cannot be implemented due to bugs in Oxford. Let's wait for fixes...
at Tzkt.Sync.Protocols.Proto18.StakingCommit.Apply(Block block, JsonElement op, JsonElement content) in /app/Tzkt.Sync/Protocols/Handlers/Proto18/Commits/Operations/StakingCommit.cs:line 277
at Tzkt.Sync.Protocols.Proto18Handler.Commit(JsonElement block) in /app/Tzkt.Sync/Protocols/Handlers/Proto18/Proto18Handler.cs:line 180
at Tzkt.Sync.ProtocolHandler.CommitBlock(Int32 head) in /app/Tzkt.Sync/Protocols/ProtocolHandler.cs:line 77
at Tzkt.Sync.ProtocolHandler.CommitBlock(Int32 head) in /app/Tzkt.Sync/Protocols/ProtocolHandler.cs:line 138
at Tzkt.Sync.Services.Observer.ApplyUpdatesAsync(CancellationToken cancelToken) in /app/Tzkt.Sync/Services/Observer/Observer.cs:line 183
at Tzkt.Sync.Services.Observer.ExecuteAsync(CancellationToken cancelToken) in /app/Tzkt.Sync/Services/Observer/Observer.cs:line 66
fail: Tzkt.Sync.Services.Observer[0]
Failed to apply updates
System.NotImplementedException: Slashing of unstaked deposits cannot be implemented due to bugs in Oxford. Let's wait for fixes...
at Tzkt.Sync.Protocols.Proto18.StakingCommit.Apply(Block block, JsonElement op, JsonElement content) in /app/Tzkt.Sync/Protocols/Handlers/Proto18/Commits/Operations/StakingCommit.cs:line 277
at Tzkt.Sync.Protocols.Proto18Handler.Commit(JsonElement block) in /app/Tzkt.Sync/Protocols/Handlers/Proto18/Proto18Handler.cs:line 180
at Tzkt.Sync.ProtocolHandler.CommitBlock(Int32 head) in /app/Tzkt.Sync/Protocols/ProtocolHandler.cs:line 77
at Tzkt.Sync.ProtocolHandler.CommitBlock(Int32 head) in /app/Tzkt.Sync/Protocols/ProtocolHandler.cs:line 138
at Tzkt.Sync.Services.Observer.ApplyUpdatesAsync(CancellationToken cancelToken) in /app/Tzkt.Sync/Services/Observer/Observer.cs:line 183
at Tzkt.Sync.Services.Observer.ExecuteAsync(CancellationToken cancelToken) in /app/Tzkt.Sync/Services/Observer/Observer.cs:line 66

Duplicate of #168