Flow CLI cannot use struct encoding
Open
Nobody has claimed this yet.
Bug
Feedback
Improvement
- Dominant language
- Go
- Stars
- 209
- Forks
- 87
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Description
Problem
If you try to specify a struct in your flow.json for contract inputs, it will not work
Steps to Reproduce
Clone and try to deploy this flow project:
https://github.com/austinkline/flow-cli-struct-encoding
Acceptance Criteria
The correct transaction should be generated so that the deployment can work
Context
Working on some contracts that use this type of encoding
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Clone the linked flow-cli-struct-encoding project and inspect its flow.json contract inputs first. Run the deployment to reproduce the failure, then trace how the Flow CLI encodes the specified struct. Done means the correct transaction is generated and the deployment succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100