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

Feature/add validator to pixel routes #64

Conversation

aweolumidedavid
Copy link
Contributor

Add checks to all the pixel routes to validation position and color ( make sure they are in the correct range ) before using them. The following route functions were modified:

  • consumeIndexerMsg
  • getPixel
  • placePixelDevnet
  • placePixelRedis

backend/routes/indexer.go Outdated Show resolved Hide resolved
backend/routes/indexer.go Outdated Show resolved Hide resolved
backend/routes/pixel.go Outdated Show resolved Hide resolved
backend/routes/pixel.go Outdated Show resolved Hide resolved
backend/routes/pixel.go Outdated Show resolved Hide resolved
Copy link
Contributor

@b-j-roberts b-j-roberts left a comment

Choose a reason for hiding this comment

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

Thank you!

@b-j-roberts b-j-roberts merged commit 65a613b into keep-starknet-strange:main Apr 25, 2024
3 checks passed
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.

2 participants