Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(protocol): optimize Taiko L1 gas cost #18376

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/protocol/contracts/layer1/based/LibVerifying.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ library LibVerifying {
IAddressResolver _resolver,
uint64 _maxBlocksToVerify
)
public
internal
{
if (_maxBlocksToVerify == 0) {
return;
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/script/layer1/deploy_protocol_on_l1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ forge script ./script/layer1/DeployProtocolOnL1.s.sol:DeployProtocolOnL1 \
--ffi \
-vvvv \
--private-key $PRIVATE_KEY \
--block-gas-limit 100000000
--block-gas-limit 200000000

export PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
SECURITY_COUNCIL=0x60997970C51812dc3A010C7d01b50e0d17dc79C8 \
Expand All @@ -43,4 +43,4 @@ forge script ./script/layer1/DeployTaikoToken.s.sol:DeployTaikoToken \
--ffi \
-vvvv \
--private-key $PRIVATE_KEY \
--block-gas-limit 100000000
--block-gas-limit 200000000