-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat(protocol): preconfs #18089
Open
cyberhorsey
wants to merge
59
commits into
main
Choose a base branch
from
preconfs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,939
−588
Open
feat(protocol): preconfs #18089
Changes from 15 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
0cc1a08
wip
cyberhorsey 647f32d
wip
cyberhorsey cc76577
wip
cyberhorsey 32479ab
Merge branch 'main' into preconfs
cyberhorsey 835c801
.
cyberhorsey b5b4d2d
.
cyberhorsey c62acb4
dockefile lint
cyberhorsey 12dd8f7
forge fmt & update contract layout tables
cyberhorsey ffd10e4
fix deps
cyberhorsey 854719f
.
cyberhorsey 9a65b96
forge fmt & update contract layout tables
cyberhorsey 958f779
copy out bridge
cyberhorsey b5bdfc5
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey 39b059c
protocl config
cyberhorsey abdebc2
forge fmt & update contract layout tables
cyberhorsey 21989ec
remove l1height check for reorg
cyberhorsey 94cc5a3
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey 6cc1dde
preconftaskmanager registry + api updates
cyberhorsey 4d9dac5
Merge branch 'main' into preconfs
cyberhorsey a1a9369
lints
cyberhorsey 5234e4a
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey 9074cbb
go fmt
cyberhorsey 4583462
fix out of range bug
cyberhorsey 3306c11
Merge branch 'main' into preconfs
cyberhorsey 5e6f375
try removing tags
cyberhorsey e7d68d3
try this tag
cyberhorsey 9cfd959
add install jq
62677f8
updates
cyberhorsey 31eaaa4
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey 0aec63d
Merge branch 'main' into preconfs
cyberhorsey 66e2447
force push
cyberhorsey b7fcae7
try use head
RogerLamTd f84a0a3
set gas tip cap
cyberhorsey 2db1c01
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey f647179
add .preconferAddress
cyberhorsey 0754b7f
big int
cyberhorsey 9cd665b
Merge branch 'main' into preconfs
cyberhorsey 6164871
go mod tidy
cyberhorsey 8f77172
remove 0xff
cyberhorsey af9a1ad
.
cyberhorsey db75702
rm gastipcap
cyberhorsey 644fbde
temp fix
cyberhorsey e80fcce
update ipreconftaskmanager + bindings, add loookahead creation
cyberhorsey b51706e
.
cyberhorsey 01779db
lookahead pusher pk
cyberhorsey 5794ec9
Merge branch 'main' into preconfs
cyberhorsey fb25618
forge fmt & update contract layout tables
cyberhorsey ca019f7
beacon
cyberhorsey 20c5736
Merge branch 'preconfs' of github.com:taikoxyz/taiko-mono into preconfs
cyberhorsey 41ed9de
ret error
cyberhorsey 9f8c995
Go mod tidy
cyberhorsey 351ee1d
rm lookaehad pushing for now
cyberhorsey b42f2cd
rm spew
cyberhorsey b9aa84f
change blobstorage to conform to standard blob api
cyberhorsey 4912932
one blobHash
cyberhorsey a9c6d83
lint + workflow for blobstorage
cyberhorsey 5e24f2f
rm lint job
cyberhorsey 2600ded
lint
cyberhorsey 69e11a6
add timeout to relayer lint
cyberhorsey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
packages/protocol/contracts/layer1/preconfs/PreconfsTaikoL1.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.27; | ||
|
||
import "../based/TaikoL1.sol"; | ||
|
||
/// @title PreconfsTaikoL1 | ||
/// @custom:security-contact [email protected] | ||
contract PreconfsTaikoL1 is TaikoL1 { | ||
/// @inheritdoc ITaikoL1 | ||
function getConfig() public pure override returns (TaikoData.Config memory _config_) { | ||
return TaikoData.Config({ | ||
chainId: 167_010, | ||
blockMaxProposals: 324_000, | ||
blockRingBufferSize: 360_000, | ||
maxBlocksToVerify: 16, | ||
blockMaxGasLimit: 240_000_000, | ||
livenessBond: 125e18, // 125 TAIKO token | ||
stateRootSyncInternal: 16, | ||
maxAnchorHeightOffset: 64, | ||
baseFeeConfig: LibSharedData.BaseFeeConfig({ | ||
adjustmentQuotient: 8, | ||
sharingPctg: 0, | ||
gasIssuancePerSecond: 5_000_000, | ||
minGasExcess: 1_340_000_000, | ||
maxGasIssuancePerBlock: 600_000_000 | ||
}), | ||
ontakeForkHeight: 0 | ||
}); | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyberhorsey you don't mean to check in these changes, do you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I do, this branch isnt made to be merged yet. This change is necessary only for the current deployment, unless we also add in the L1 chain Id of Helder to the
isDencunSupported
code. However Helder is not going to be very long lived, so for now I just commented this out, until we migrate to Holesky or otherwise.