-
Notifications
You must be signed in to change notification settings - Fork 151
feat: EIP-712 typed messages for improved lcp security council admin privileges #3166
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
Open
ercecan
wants to merge
54
commits into
needs-audit
Choose a base branch
from
erce/eip712-typed-messages
base: needs-audit
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.
Open
Changes from 35 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
e7a0d20
Save build script just in case
ercecan 89ac22a
WIP use addresses instead of pubkeys for security council
ercecan 7388f1c
Fix method id verifier unit tests
ercecan db81c88
Fix possible underflow in pubkey recovery
ercecan fb0fe35
Custom error type for pubkey recovery
ercecan 1d8a18e
Lints
ercecan 6e9ab32
Function and parameter rename
ercecan 4210506
Fix comments
ercecan 87978b1
Merge branch 'nightly' into erce/use-address-instead-of-pubkeys-for-s…
ercecan 6ce73f8
Run the guest code ci
ercecan 7aa4783
Fix nits
ercecan cd734e6
Fix comment
ercecan 47e9389
Merge branch 'needs-audit' into erce/use-address-instead-of-pubkeys-f…
ercecan 89d5ad9
Implement eip712 typed message structure for batch proof method id up…
ercecan f049740
Lints
ercecan 648f8c7
Merge branch 'needs-audit' into erce/use-address-instead-of-pubkeys-f…
ercecan 0eb4639
Update e2e tests
ercecan 17e4f07
Merge branch 'erce/use-address-instead-of-pubkeys-for-security-counci…
ercecan 3c87048
Lint fix
ercecan b97b54d
Merge branch 'needs-audit' of https://github.com/chainwayxyz/citrea i…
ercecan 71ce119
Lints
ercecan a407b6c
Remove spaces in domain name to be safe
ercecan 0996845
feat: lcp security council member management messages (#3174)
ercecan 912051c
feat: update da pubkey messages (#3177)
ercecan 4850d5a
feat: lcp upgrade support (#3179)
ercecan 9397eca
feat: add nonce to security council messages (#3182)
ercecan 746b1ad
feat: Remove batch proof method id message (#3183)
ercecan b61217f
refactor: Remove chain id from message bodies (#3184)
ercecan 34cb50c
fix: Handle nonce overflow (#3186)
ercecan ab328b0
test: Add some missing sc messages tests (#3187)
ercecan f17a5e0
feat: Security council set lcp state message (#3188)
ercecan 000c546
Move sec council messages
ercecan 394bb9d
Add prev allowed lcp method ids for networks
ercecan ea7dba7
Merge branch 'needs-audit' of https://github.com/chainwayxyz/citrea i…
ercecan 2c0bfab
fix: consume nonce on failed council messages (#3194)
ercecan ab544a1
refactor: sort sc messages by nonce (#3196)
ercecan e73c487
refactor: Rename method id upgrade authority to security council (#3189)
ercecan 242e11e
Rename security council tx kind backup name
ercecan 005a5aa
Central registry of prefixes
ercecan a91b1b7
Move import
ercecan e2540aa
Increment nonce only after signature validation
ercecan 5c4cd0d
Fix lint
ercecan afe75e3
Assert threshold
ercecan acfc492
Remove comment
ercecan 63ce59c
Move under impl
ercecan e6330ef
Fix test
ercecan 2ff6059
Assert removed addresses
ercecan b1f9f29
Test unsorted nonce messages also work
ercecan 364eea4
Calculate what we assert in terms of constants in tests
ercecan dd80544
Validate initial lcp
ercecan 83e1727
Lint fmt
ercecan e46f435
Fix set lcp state test
ercecan 4e85afd
Alphabetical order of prefixes
ercecan 02343a8
Move l2 height validation after signature verification and nonce incr…
ercecan 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.