FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor: get rid of unnecessary `setup_python_defs` calls · Issue #63 · ZeroSync/ZeroSync · GitHub

refactor: get rid of unnecessary setup_python_defs calls #63

Description

We sometimes call setup_python_defs in files other than the two headers_chain_proof and chain_proof main.cairo or before a test. Can confirm that by looking at the btc_api warnings when running make unit_test. The API should only be created once in each test.

Remove setup_python_defs calls from every other file and confirm that the tests and chain_proofs are still working afterwards. If every unnecessary call is removed tests should only print the Blockstream Warning at most once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginner-friendlyGood first issue for people wanting to contribute to this project.enhancementEnhancement of the code, not introducing new features.no-staleThis is exempt from the stale bot.priority-lowNice addition, maybe... someday...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL