-
Notifications
You must be signed in to change notification settings - Fork 4
feat(e2e tests): invalid signature penalizes peer #243
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
jonastheis
wants to merge
14
commits into
main
Choose a base branch
from
feat/e2e-tests-invalid-signature-penalizes-peer
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.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4f6fde6
Add NetworkHandle to RollupManagerCommand
jonastheis a6c531e
finish can_penalize_peer_for_invalid_block test
jonastheis a953318
fix test after merge
jonastheis 319e7a9
fix linter
jonastheis d3d743b
fix linter
jonastheis 320770d
remove unrelated formatting changes
jonastheis 5adc52d
Merge remote-tracking branch 'origin/main' into feat/e2e-tests-invali…
jonastheis 0c3388e
fix after merge
jonastheis 8ed6d71
address review comments
jonastheis a0c8240
Merge branch 'main' into feat/e2e-tests-invalid-block-penalizes-peer
jonastheis e610f5a
Merge remote-tracking branch 'origin/main' into feat/e2e-tests-invali…
jonastheis 050d2b8
Fixes after merge
jonastheis e8d1c33
implement test can_penalize_peer_for_invalid_signature
jonastheis 02c6aa2
Merge remote-tracking branch 'origin/main' into feat/e2e-tests-invali…
jonastheis 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 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.
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.
We should probably add a log with warn level here just to notify that the node is running without signer.
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.
Then this would print for every node start, even if the node is not configured as a sequencer.
Maybe I'm not understanding the previous behavior correctly but I think it is the same.
map(rollup_node_signer::Signer::spawn)
should only get called whenself.signer_args.signer(chain_id).await?
isSome(...)
. If it'sNone
then signer will becomeNone
.The if now has the same behavior except that imo it's a bit easier to understand and it changes the priority of the branches so that we can also manually configure a signer in a test