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

Added support for debug CLI flag. #1322

Merged
merged 9 commits into from
Aug 29, 2023
Merged

Added support for debug CLI flag. #1322

merged 9 commits into from
Aug 29, 2023

Commits on Aug 25, 2023

  1. Added support for debug CLI flag.

    Removed `manual_blocks_enabled` flag.
    Added a new `debug` flag:
    ```rust
        /// Should be used for local development only. Enabling debug mode:
        /// - Allows GraphQL Endpoints to arbitrarily advanced blocks.
        /// - Enabled debugger GraphQL Endpoints.
        /// - Allows setting `utxo_validation` to `false`.
        #[arg(long = "debug", env)]
        pub debug: bool,
     ```
    
    Removed `debug` and `dap` features, now the code contains it by default and disables it if `debug` is `false` in the config.
    The `Config` has two stages `unvalidated` and `validated`. The config can be validated by calling the `unvalidated::Config::validate` method.
    xgreenx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    15067e0 View commit details
    Browse the repository at this point in the history
  2. Updated CHANGELOG.md

    xgreenx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    27d5006 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a19199d View commit details
    Browse the repository at this point in the history
  4. Fix finding after self review

    xgreenx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    04e177c View commit details
    Browse the repository at this point in the history
  5. Fix unit test

    xgreenx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    3d47738 View commit details
    Browse the repository at this point in the history
  6. Apply suggestions from code review

    Co-authored-by: Brandon Vrooman <brandon.vrooman@fuel.sh>
    xgreenx and Brandon Vrooman authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    863a4ea View commit details
    Browse the repository at this point in the history
  7. Update crates/fuel-core/src/service/config.rs

    Co-authored-by: Brandon Vrooman <brandon.vrooman@fuel.sh>
    xgreenx and Brandon Vrooman authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    e2f8319 View commit details
    Browse the repository at this point in the history
  8. Apply suggestions from review

    xgreenx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    cde339e View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    dfd1be9 View commit details
    Browse the repository at this point in the history