Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jan 13, 2025
1 parent a9bee62 commit 8bf31bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 96 deletions.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/layer1/based/TaikoInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ abstract contract TaikoInbox is EssentialContract, ITaikoInbox, ITaiko, IFork {
}

function isForkActive() external view override returns (bool) {
return state.stats2.numBlocks >= getConfigV3().forkHeights.pacaya;
return state.stats2.numBatches >= getConfig().forkHeights.pacaya;
}

// Public functions -------------------------------------------------------------------------
Expand Down
63 changes: 0 additions & 63 deletions packages/protocol/contracts/layer1/fork/ForkManager.sol

This file was deleted.

32 changes: 0 additions & 32 deletions packages/protocol/contracts/layer1/fork/PacayaForkManager.sol

This file was deleted.

0 comments on commit 8bf31bc

Please sign in to comment.