Skip to content

Commit

Permalink
hot fix: ignore more and more cross chain indexing checks
Browse files Browse the repository at this point in the history
  • Loading branch information
eanzhao committed Dec 19, 2024
1 parent 57121c8 commit 8afdb6b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public partial class CrossChainContract
/// <param name="parentHeight"></param>
private void BindParentChainHeight(long childHeight, long parentHeight)
{
Assert(State.ChildHeightToParentChainHeight[childHeight] == 0,
$"Already bound at height {childHeight} with parent chain");
// Assert(State.ChildHeightToParentChainHeight[childHeight] == 0,
// $"Already bound at height {childHeight} with parent chain");
State.ChildHeightToParentChainHeight[childHeight] = parentHeight;
}

Expand All @@ -52,8 +52,8 @@ private Hash ComputeRootWithMultiHash(IEnumerable<Hash> nodes)
private void AddIndexedTxRootMerklePathInParentChain(long height, MerklePath path)
{
var existing = State.TxRootMerklePathInParentChain[height];
Assert(existing == null,
$"Merkle path already bound at height {height}.");
// Assert(existing == null,
// $"Merkle path already bound at height {height}.");
State.TxRootMerklePathInParentChain[height] = path;
}

Expand Down

0 comments on commit 8afdb6b

Please sign in to comment.