Skip to content

Conversation

@md0x
Copy link
Contributor

@md0x md0x commented Sep 23, 2024

Changes proposed in this PR:

  • Fix routes seed to use state key to prevent passing fake enabled routes

Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
@md0x md0x marked this pull request as ready for review September 23, 2024 15:27
Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
Copy link
Contributor

@Reinis-FRP Reinis-FRP left a comment

Choose a reason for hiding this comment

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

nice!

Copy link
Member

@chrismaree chrismaree left a comment

Choose a reason for hiding this comment

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

this is great! really good check.

there might be other kinds of derivation issue we have as a result of not using the state within parts of the PDA key seed...we should explore every bit of state to ensure they are sufficiently locked like this.

@md0x md0x changed the title test: fake route test feat(svm-routes): add additional param to block non-enabled routes Sep 24, 2024
@md0x md0x merged commit 42f8398 into master Sep 24, 2024
9 checks passed
@md0x md0x deleted the pablo/fake-route branch September 24, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants