CLI: exact deploy replay drops authorship fields and --no-mint preview says it mints
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 16
Description
## Reproduction
On `@artblocks/abx-cli` `0.1.0-alpha.45`, run a 1/1 dry run with a pinned or generated salt, authorship fields, an on-chain image, and deferred minting:
```sh
ABX_CHAIN=arbitrum-sepolia abx deploy \
--image release-candidate.svg \
--name "ABX Arbitrum Sepolia RC" \
--symbol ABXRC \
--creator "Art Blocks" \
--license "CC0-1.0" \
--onchain-image \
--no-mint \
--dry-run
```
## Observed
1. The line labeled `reproduce this exact preview` omits `--creator` and `--license`. The same helper also appears to omit the other authorship fields (`--display-notes` and `--creator-links`). Copying the advertised replay command would therefore deploy different collection metadata.
2. The staging transaction summary says `1 deploy (bakes the reader field + mints)` even though `--no-mint` is set. The structured plan and later mint summary correctly report `deferred: true` and mint count `0`.
The live test deployment used the full original command, so its on-chain fields and mint timing were correct; these are preview/replay-reporting defects.
## Expected
- The copy-pasteable replay command preserves every creator-supplied flag that affects deployed state or custody, including all authorship fields.
- The staging summary does not claim a mint when `--no-mint` is active.
- Regression tests cover both behaviors.
## Likely locations
- `packages/cli/src/commands/deploy.ts`: `deployCommandLine`
- `packages/cli/src/ownerops.ts`: `previewImageStaging` / `stageImageField` final-label text
Contributor guide
Research direction
Start in packages/cli/src/commands/deploy.ts at deployCommandLine and packages/cli/src/ownerops.ts at previewImageStaging and stageImageField. Reproduce the dry-run command, then add regression coverage for preserving all authorship flags in the replay command and for showing no mint when --no-mint is active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100