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

Feat: generate random felt #2634

Merged
merged 16 commits into from
Nov 6, 2024

Conversation

manlikeHB
Copy link
Contributor

@manlikeHB manlikeHB commented Nov 1, 2024

Closes #2353

Introduced changes

  • Added new cheat code to generate a (pseudo) random felt value.

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@manlikeHB manlikeHB marked this pull request as ready for review November 1, 2024 14:57
@manlikeHB
Copy link
Contributor Author

Hi @cptartur, PR ready for review.

Copy link
Collaborator

@kkawula kkawula left a comment

Choose a reason for hiding this comment

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

  1. Please revert the documentation format change. Probably your IDE has configured style for md file and refactored it entirely on save. I mean CHANGELOG.md SUMMARY.md generate_random_felt.md
  2. Add e2e test, examples: https://github.com/foundry-rs/starknet-foundry/blob/master/crates/forge/tests/e2e/running.rs

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
crates/cheatnet/tests/cheatcodes/generate_random_felt.rs Outdated Show resolved Hide resolved
crates/cheatnet/tests/cheatcodes/generate_random_felt.rs Outdated Show resolved Hide resolved
@manlikeHB
Copy link
Contributor Author

@kkawula @cptartur, please review.

@manlikeHB
Copy link
Contributor Author

@kkawula Clippy CI error fixed.

CHANGELOG.md Outdated Show resolved Hide resolved
crates/cheatnet/tests/cheatcodes/generate_random_felt.rs Outdated Show resolved Hide resolved
auto-merge was automatically disabled November 6, 2024 12:50

Head branch was pushed to by a user without write access

@piotmag769 piotmag769 added this pull request to the merge queue Nov 6, 2024
Merged via the queue into foundry-rs:master with commit 41dd99e Nov 6, 2024
25 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.

Random number generation cheatcode
4 participants