Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contract spec XDR types - Part 1 #230

Merged
merged 8 commits into from
Mar 16, 2023

Conversation

CristhianRodriguezMolina
Copy link
Contributor

@CristhianRodriguezMolina CristhianRodriguezMolina commented Mar 16, 2023

Contributing to #228

In this PR, the following types were added:

  • String30
  • String60
  • String80
  • String1024
  • SCSpecType
  • SCSpecTypeBytesN
  • SCSpecTypeUDT
  • SCSpecUDTUnionCaseVoidV0
  • SCSpecUDTUnionCaseV0Kind
  • SCSpecUDTEnumCaseV0
  • SCSpecUDTErrorEnumCaseV0
  • SCSpecEntryKind

Copy link
Member

@miguelnietoa miguelnietoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!👏🏻

I have several suggestions about the folder structure.
I think we can add these types on lib/xdr/contract/spec/

Also for the types string1024, string80, string60, string30... these should be in the lib/xdr/contract/spec folder because they come from the stellar core file called Stellar-contract-spec.x

What do you think?

lib/xdr/contract/sc_spec_entry_kind.ex Outdated Show resolved Hide resolved
@elisa6 elisa6 assigned elisa6 and unassigned Elisabet6-zz Mar 16, 2023
Copy link
Member

@miguelnietoa miguelnietoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@CristhianRodriguezMolina CristhianRodriguezMolina deleted the 228-contract-spec-xdr branch March 16, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants