Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Fix description of enums supported by contract types #703

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

leighmcculloch
Copy link
Contributor

@leighmcculloch leighmcculloch commented Jan 17, 2024

What

Change definition of enum types supported by contract types to state that unit and tuple types are supported.

Why

Some time ago someone (I think @brson?) added support for multiple value tuple-like enum variants. The docs still say that only single value tuple-like enum variants are supported.

Thanks to @FredericRezeau for pointing this out in stellar/soroban-examples#295 (comment).

@stellar-jenkins
Copy link

@stellar-jenkins
Copy link

@kalepail kalepail merged commit f1a1d43 into main Jan 17, 2024
2 checks passed
@kalepail kalepail deleted the ponderable-neurotrophic branch January 17, 2024 23:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants