Skip to content

--build-only not respected without --send=yes on stellar contract invoke #2109

@JakeUrban

Description

@JakeUrban

What version are you using?

v23.0.0

What did you do?

stellar contract invoke --build-only --id CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 -- balance --id CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75
ℹ️  Simulation identified as read-only. Send by rerunning with `--send=yes`.
"23650000"

What did you expect to see?

The XDR of the transaction.

What did you see instead?

The simulated result.

If I add --send, it works:

stellar contract invoke --build-only --send=yes --id CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 -- balance --id CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75
AAAAAgAAAADW+EG7Ro4psijThkm7KsZTPwDj2i+tlfltrJ8FAE4/9wAAAGQDeXnXAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAYAAAAAAAAAAGt785ZruUpaPdgYdSUwlJbdWWfpClqZfSZ7ynlZHfklgAAAAdiYWxhbmNlAAAAAAEAAAASAAAAAa3vzlmu5Slo92Bh1JTCUlt1ZZ+kKWpl9JnvKeVkd+SWAAAAAAAAAAAAAAAA

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions