Skip to content

Commit

Permalink
Adjust factor to quicker block time
Browse files Browse the repository at this point in the history
  • Loading branch information
adaki2004 committed May 24, 2023
1 parent 9b29d88 commit bfbda56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/L1/TaikoConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ library TaikoConfig {
ethDepositGas: 21000,
ethDepositMaxFee: 1 ether / 10,
txListCacheExpiry: 0,
adjustmentQuotient: 16000,
adjustmentQuotient: 32000,
relaySignalRoot: false
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/script/DetermineNewProofTimeIssued.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import "forge-std/Script.sol";
import "forge-std/console2.sol";
import {LibLn} from "../test/LibLn.sol";

uint16 constant DESIRED_PROOF_TIME_TARGET = 500;
uint16 constant ADJUSTMENT_QUOTIENT = 16000;
uint16 constant DESIRED_PROOF_TIME_TARGET = 160;
uint16 constant ADJUSTMENT_QUOTIENT = 32000;

contract DetermineProofTimeIssued is Script {
function run() public view {
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/TaikoL1TestBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ abstract contract TaikoL1TestBase is Test {
// Calculation shall be done in derived contracts - based on testnet or mainnet expected proof time
uint64 public initProofTimeIssued;
uint16 proofTimeTarget;
uint16 public constant ADJUSTMENT_QUOTIENT = 16000;
uint16 public constant ADJUSTMENT_QUOTIENT = 32000;

function deployTaikoL1() internal virtual returns (TaikoL1 taikoL1);

Expand Down

0 comments on commit bfbda56

Please sign in to comment.