Skip to content

Commit

Permalink
feat: update getConstants()
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Nov 25, 2022
1 parent 46eb062 commit 8dfec2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/protocol/contracts/L1/TaikoL1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ contract TaikoL1 is EssentialContract, IHeaderSync, V1Events {
uint256, // TAIKO_TX_MIN_GAS_LIMIT
uint256, // V1_ANCHOR_TX_GAS_LIMIT
bytes4, // V1_ANCHOR_TX_SELECTOR
bytes32 // V1_INVALIDATE_BLOCK_LOG_TOPIC
bytes32, // V1_INVALIDATE_BLOCK_LOG_TOPIC
bool // K_WHITELIST_PROVERS
)
{
return (
Expand All @@ -269,7 +270,8 @@ contract TaikoL1 is EssentialContract, IHeaderSync, V1Events {
LibConstants.TAIKO_TX_MIN_GAS_LIMIT,
LibConstants.V1_ANCHOR_TX_GAS_LIMIT,
LibConstants.V1_ANCHOR_TX_SELECTOR,
LibConstants.V1_INVALIDATE_BLOCK_LOG_TOPIC
LibConstants.V1_INVALIDATE_BLOCK_LOG_TOPIC,
LibConstants.K_WHITELIST_PROVERS
);
}
}
6 changes: 4 additions & 2 deletions packages/protocol/contracts/L2/V1TaikoL2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ contract V1TaikoL2 is AddressResolver, ReentrancyGuard, IHeaderSync {
uint256, // TAIKO_TX_MIN_GAS_LIMIT
uint256, // V1_ANCHOR_TX_GAS_LIMIT
bytes4, // V1_ANCHOR_TX_SELECTOR
bytes32 // V1_INVALIDATE_BLOCK_LOG_TOPIC
bytes32, // V1_INVALIDATE_BLOCK_LOG_TOPIC
bool // K_WHITELIST_PROVERS
)
{
return (
Expand All @@ -166,7 +167,8 @@ contract V1TaikoL2 is AddressResolver, ReentrancyGuard, IHeaderSync {
LibConstants.TAIKO_TX_MIN_GAS_LIMIT,
LibConstants.V1_ANCHOR_TX_GAS_LIMIT,
LibConstants.V1_ANCHOR_TX_SELECTOR,
LibConstants.V1_INVALIDATE_BLOCK_LOG_TOPIC
LibConstants.V1_INVALIDATE_BLOCK_LOG_TOPIC,
LibConstants.K_WHITELIST_PROVERS
);
}

Expand Down

0 comments on commit 8dfec2b

Please sign in to comment.