Skip to content

scripts/build.sh duplicates the Makefile optimize logic #643

Open

Description

@codemagician1949

Where: scripts/build.sh, Makefile
Problem: Both files locate the wasm, run stellar contract optimize and print a hash with their own copy of the same shell logic. They have already drifted (different fallbacks and messages).
Suggested fix: Keep the logic in one place (e.g. build.sh) and have make optimize call it.
Done when: There is a single implementation of the optimize-and-hash step.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions