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

Bigint to int128 cont'd -- spec changes #58

Merged
merged 4 commits into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions Stellar-contract-spec.x
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ enum SCSpecType
SC_SPEC_TYPE_I32 = 2,
SC_SPEC_TYPE_U64 = 3,
SC_SPEC_TYPE_I64 = 4,
SC_SPEC_TYPE_BOOL = 5,
SC_SPEC_TYPE_SYMBOL = 6,
SC_SPEC_TYPE_BITSET = 7,
SC_SPEC_TYPE_STATUS = 8,
SC_SPEC_TYPE_BYTES = 9,
SC_SPEC_TYPE_BIG_INT = 10,
SC_SPEC_TYPE_INVOKER = 11,
SC_SPEC_TYPE_ACCOUNT_ID = 12,
SC_SPEC_TYPE_U128 = 5,
SC_SPEC_TYPE_I128 = 6,
SC_SPEC_TYPE_BOOL = 7,
SC_SPEC_TYPE_SYMBOL = 8,
SC_SPEC_TYPE_BITSET = 9,
SC_SPEC_TYPE_STATUS = 10,
SC_SPEC_TYPE_BYTES = 11,
SC_SPEC_TYPE_INVOKER = 12,
SC_SPEC_TYPE_ACCOUNT_ID = 13,

// Types with parameters.
SC_SPEC_TYPE_OPTION = 1000,
Expand Down Expand Up @@ -88,14 +89,15 @@ union SCSpecTypeDef switch (SCSpecType type)
case SC_SPEC_TYPE_VAL:
case SC_SPEC_TYPE_U64:
case SC_SPEC_TYPE_I64:
case SC_SPEC_TYPE_U128:
case SC_SPEC_TYPE_I128:
case SC_SPEC_TYPE_U32:
case SC_SPEC_TYPE_I32:
case SC_SPEC_TYPE_BOOL:
case SC_SPEC_TYPE_SYMBOL:
case SC_SPEC_TYPE_BITSET:
case SC_SPEC_TYPE_STATUS:
case SC_SPEC_TYPE_BYTES:
case SC_SPEC_TYPE_BIG_INT:
case SC_SPEC_TYPE_INVOKER:
case SC_SPEC_TYPE_ACCOUNT_ID:
void;
Expand Down