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

Add isSequencer mapping to SequencerInbox #1424

Merged
merged 5 commits into from
Jan 13, 2023

Conversation

magicxyyz
Copy link
Contributor

Add isSequencer mapping in the SequencerInbox for feed message signing (and possibly redis signing)

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Jan 9, 2023
@codecov
Copy link

codecov bot commented Jan 11, 2023

Codecov Report

Merging #1424 (9b48858) into contracts-develop (d6e69cc) will increase coverage by 3.90%.
The diff coverage is 47.43%.

@@                  Coverage Diff                  @@
##           contracts-develop    #1424      +/-   ##
=====================================================
+ Coverage              48.38%   52.29%   +3.90%     
=====================================================
  Files                    245      260      +15     
  Lines                  29528    34120    +4592     
  Branches                 555      555              
=====================================================
+ Hits                   14287    17842    +3555     
- Misses                 13196    14200    +1004     
- Partials                2045     2078      +33     

Comment on lines 160 to 162
* @notice Updates whether an address is authorized to be a sequencer at the sequencer inbox
* @param addr the address
* @param isSequencer_ if the specified address should be authorized as a sequencer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add a @dev here that this is not validated onchain right now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a dev comment describing briefly where the IsSeqeuncer information is used. Please let me know if that's what you had in mind

Copy link
Member

@gzeoneth gzeoneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@PlasmaPower PlasmaPower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PlasmaPower PlasmaPower merged commit 2dee040 into contracts-develop Jan 13, 2023
@PlasmaPower PlasmaPower deleted the sequencer-inbox-is-sequencer branch January 13, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contracts s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants