[BUG] Extra argument passed to transactions in Stable Cadence Pre-release version
@chasefleming がすでに取り組んでいます。
2023年9月21日 から。
評価
この issue はまだ評価されていません。
説明
Problem
When trying to send a transaction with parameters, I consistently get
❌ Command Error: error parsing transaction arguments: argument count is [n+1], expected [n]
Steps to Reproduce
With the Stable Cadence CLI preview release installed, try the following transaction:
transaction(s: String) {
prepare(signer: &Account) {
log(s)
}
}
flow transactions send ./transactions/test_param.cdc hello
And it should output:
❌ Command Error: error parsing transaction arguments: argument count is 2, expected 1
Confirm it works without the transaction parameter:
transaction {
prepare(signer: &Account) {
log("hello")
}
}
flow transactions send ./transactions/test.cdc
And it should succeed.
Acceptance Criteria
Transactions with and without params should execute.
Context
Using the preview release to update FLIPs and contracts.
Machine Info
OS: macOS 13.6 (22G120)
CLI: v1.5.0-stable-cadence.2
- 主要言語
- Go
- スター
- 209
- フォーク
- 88
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
onflow/flow-cli のほかの issue
-
Simplify MCP contract sorting with slices helpers対応中かも @luangucun が 41 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
`flow cadence lint` lints imports対応中かも @holyfuchs が 180 日前に担当しました。 オープンBug Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
flow test prints unreadable output対応中かも @holyfuchs が 178 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
Feature
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
onflow/flow-cli の issue をすべて見る
似ている issue
-
scaleway_lb_frontend: updating a frontend with external_acls = true deletes all scaleway_lb_aclオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
scaleway/terraform-provider-scaleway#4485 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Add Solenta対応中かも @sharmao07 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
slavakurilyak/awesome-ai-agents#760 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100