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 CheckHistorySeeder signed extension to prevent feeless and invalid remarks #3073

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

dastansam
Copy link
Contributor

@dastansam dastansam commented Sep 27, 2024

Code contributor checklist:

let who = ensure_signed(origin.clone())?;

ensure!(
Some(who.clone()) == Self::history_seeder(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure if I should still leave the validation here?

Copy link
Member

Choose a reason for hiding this comment

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

No, I believe it is pointless

let who = ensure_signed(origin.clone())?;

ensure!(
Some(who.clone()) == Self::history_seeder(),
Copy link
Member

Choose a reason for hiding this comment

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

No, I believe it is pointless

@dastansam dastansam added this pull request to the merge queue Sep 28, 2024
Merged via the queue into main with commit 0db01f7 Sep 28, 2024
16 of 17 checks passed
@dastansam dastansam deleted the fix/history-seeding-signed-extension branch September 28, 2024 05:49
@dariolina dariolina added the need to audit This change needs to be audited label Sep 30, 2024
@vanhauser-thc vanhauser-thc added audited This change was audited and removed need to audit This change needs to be audited labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audited This change was audited
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants