Skip to content

Commit

Permalink
Set :ecount const/$_shard in reify
Browse files Browse the repository at this point in the history
This fixes loading default contexts at specific t values after loading a ledger from storage
  • Loading branch information
cap10morgan committed Jul 13, 2023
1 parent 72bb32f commit 3197523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fluree/db/json_ld/reify.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@
(= -1 t-new)
(into commit-data/commit-schema-flakes)))
ecount* (assoc ecount const/$_predicate pid
const/$_default sid)]
const/$_default sid
const/$_shard @last-sid)]
(when (empty? all-flakes)
(commit-error "Commit has neither assertions or retractions!"
commit-metadata))
Expand Down

0 comments on commit 3197523

Please sign in to comment.