Skip to content

Commit

Permalink
chore: empty epochs on init
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jun 24, 2024
1 parent fd72292 commit b19d411
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/epochs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,7 @@ local balances = require("balances")
local arns = require("arns")
local epochs = {}

Epochs = Epochs
or {
[0] = {
startTimestamp = 0,
endTimestamp = 0,
distributionTimestamp = 0,
startBlockHeight = 0,
observations = {
failureSummaries = {},
reports = {},
},
prescribedObservers = {},
distributions = {},
},
}
Epochs = Epochs or {}

local epochSettings = {
prescribedNameCount = 5,
Expand Down

0 comments on commit b19d411

Please sign in to comment.