Skip to content

bare_actions are not optional when using an ARC56 spec #171

@joe-p

Description

@joe-p

ARC56 is intended to be fully back compatible with ARC4, so ARC56-specific fields should be optional. This report was for bare_actions but we should also check for other optional fields as well.

algokit generate client ... complains because bare_actions are not defined. The ARC-4 spec JSON contains just a method array (plus name and desc).

    bare_actions = BareActions.from_dict(data.bare_actions)
                                                 ~~~~^^^^^^^^^^^^^^^^
KeyError: 'bare_actions'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions