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

Restrictive mode #558

Merged
merged 43 commits into from
Aug 14, 2024
Merged

Restrictive mode #558

merged 43 commits into from
Aug 14, 2024

Conversation

marioiordanov
Copy link
Contributor

@marioiordanov marioiordanov commented Jul 18, 2024

Usage related changes

Users can start devnet with cli argument --restrictive-mode or --restrictive-mode <method_1> <method_2>

Checklist:

  • Checked out the contribution guidelines
  • Applied formatting - ./scripts/format.sh
  • No linter errors - ./scripts/clippy_check.sh
  • No unused dependencies - ./scripts/check_unused_deps.sh
  • No spelling errors - ./scripts/check_spelling.sh
  • Performed code self-review
  • Rebased to the latest commit of the target branch (or merged it into my branch)
    • Once you make the PR reviewable, please prefer merging over rebasing
  • Updated the docs if needed - ./website/README.md
  • Linked the issues resolvable by this PR - linking info
  • Updated the tests if needed; all passing - execution info

@marioiordanov marioiordanov marked this pull request as ready for review July 18, 2024 07:20
website/docs/restrictive.md Outdated Show resolved Hide resolved
website/docs/restrictive.md Outdated Show resolved Hide resolved
website/docs/restrictive.md Show resolved Hide resolved
website/docs/restrictive.md Outdated Show resolved Hide resolved
website/docs/restrictive.md Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/server.rs Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/restrictive_methods.rs Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/api/json_rpc/mod.rs Outdated Show resolved Hide resolved
crates/starknet-devnet/src/cli.rs Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/api/json_rpc/mod.rs Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/server.rs Show resolved Hide resolved
crates/starknet-devnet/src/cli.rs Show resolved Hide resolved
crates/starknet-devnet/src/cli.rs Show resolved Hide resolved
crates/starknet-devnet/src/cli.rs Show resolved Hide resolved
crates/starknet-devnet/src/cli.rs Show resolved Hide resolved
@marioiordanov marioiordanov merged commit 02e12cf into main Aug 14, 2024
1 check passed
@marioiordanov marioiordanov deleted the restrictive branch August 14, 2024 08:36
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.

Restrictive flags needed for running Devnet in an untrusted environment
3 participants