Skip to content

Commit

Permalink
Merge branch 'main' into ex/grid
Browse files Browse the repository at this point in the history
  • Loading branch information
guiltygyoza committed Sep 18, 2024
2 parents 63e3cee + 6b80e2f commit 070610b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/object/src/hashgraph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ export class HashGraph {
vertices: Map<Hash, Vertex> = new Map();
frontier: Hash[] = [];
forwardEdges: Map<Hash, Hash[]> = new Map();
static readonly rootHash: Hash = computeHash(
/*
computeHash(
"",
{ type: OperationType.NOP, value: null },
{ type: OperationType.NOP },
[],
);
)
*/
static readonly rootHash: Hash =
"ee075937c2a6c8ccf8d94fb2a130c596d3dbcc32910b6e744ad55c3e41b41ad6";
private arePredecessorsFresh = false;
private reachablePredecessors: Map<Hash, BitSet> = new Map();
private topoSortedIndex: Map<Hash, number> = new Map();
Expand Down

0 comments on commit 070610b

Please sign in to comment.