We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635703a commit 2e1142cCopy full SHA for 2e1142c
1 file changed
src/templates/origin-arm/origin-arm.ts
@@ -220,7 +220,7 @@ export const createOriginARMProcessors = ({
220
)
221
}
222
const getYesterdayState = async (block: Block) => {
223
- const startOfToday = dayjs(block.header.timestamp).startOf('day').toDate()
+ const startOfToday = dayjs.utc(block.header.timestamp).startOf('day').toDate()
224
return (
225
findLast(states, (state) => state.timestamp < startOfToday) ??
226
(await ctx.store.findOne(ArmState, {
0 commit comments