Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Dec 2, 2022
1 parent 4f43bc7 commit 87bbb2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/protocol/contracts/L2/V1TaikoL2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ contract V1TaikoL2 is AddressResolver, ReentrancyGuard, IHeaderSync {
function _hashPublicInputs(
uint256 chainId,
uint256 number,
uint256 feeBase,
uint256 baseFee,
bytes32[255] memory ancestors
) private pure returns (bytes32) {
return keccak256(abi.encodePacked(chainId, number, feeBase, ancestors));
return keccak256(abi.encodePacked(chainId, number, baseFee, ancestors));
}
}
1 change: 0 additions & 1 deletion packages/protocol/contracts/libs/LibConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ library LibConstants {
uint256 public constant K_ANCHOR_TX_GAS_LIMIT = 250000;
uint256 public constant K_FEE_PREMIUM_LAMDA = 590;
uint256 public constant K_REWARD_BURN_BP = 100; // 100 basis points or 1%
uint256 public constant K_ANCHOR_TX_GAS_LIMIT = 250000;
uint256 public constant K_PROPOSER_DEPOSIT_PCTG = 25; // 25%

// Moving average factors
Expand Down

0 comments on commit 87bbb2b

Please sign in to comment.