Skip to content

Running without --broadcast? #1

@KholdStare

Description

@KholdStare

Hey @0xPhaze ! Good stuff!

I ran a deploy script without the US_DRY_RUN=true option, but also without the --broadcast, which gave a simulation of the transactions. However it did create a deployment json file, even though no contracts were actually deployed. If I wanted to go ahead and make a deployment, I'd need to delete some json files before going ahead.

This seems like an in-between step between dry-run and actual execution. Some questions:

  • Should this "simulation" be the actual dry run? I.e. Remove the US_DRY_RUN flag and just rely on whether the broadcast flag is present?
  • Regardless whether we keep the US_DRY_RUN flag, is it possible to detect the absence of the --broadcast flag and not output the deployments .json file?

If you're busy but have an opinion, I/we could make the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions