CLI: Deploying a contract should fail and warn if the interface version is incorrect

Open
#88 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
blockchain, cli

Research direction

Start at the CLI's deploy command and trace how the deployed contract's interface version could be obtained and validated. Define the mismatch behavior from the issue, then add coverage for both warning and failure outcomes; done when deployment no longer requires a manual contract call to discover an incorrect interface version.

Written by the indexing model from the issue text.

Description

What problem does your feature solve?

I deployed a contract, but have to call it to see if the interface version it was built with is correct.

What would you like to see?

We could check that and fail the deployment if that is the case.

What alternatives are there?
  • Don't do that.
  • Warn, but not fail.
Dominant language
Rust
Stars
123
Forks
141
Avg merge
2d 21h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/stellar-cli

All issues in stellar/stellar-cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.