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

Rename BINARY to BYTES #16

Merged
merged 1 commit into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Stellar-contract-spec.x
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum SCSpecType
SC_SPEC_TYPE_SYMBOL = 6,
SC_SPEC_TYPE_BITSET = 7,
SC_SPEC_TYPE_STATUS = 8,
SC_SPEC_TYPE_BINARY = 9,
SC_SPEC_TYPE_BYTES = 9,
SC_SPEC_TYPE_BIG_INT = 10,

// Types with parameters.
Expand Down Expand Up @@ -83,7 +83,7 @@ case SC_SPEC_TYPE_BOOL:
case SC_SPEC_TYPE_SYMBOL:
case SC_SPEC_TYPE_BITSET:
case SC_SPEC_TYPE_STATUS:
case SC_SPEC_TYPE_BINARY:
case SC_SPEC_TYPE_BYTES:
case SC_SPEC_TYPE_BIG_INT:
void;
case SC_SPEC_TYPE_OPTION:
Expand Down
6 changes: 3 additions & 3 deletions Stellar-contract.x
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ enum SCObjectType
SCO_MAP = 1,
SCO_U64 = 2,
SCO_I64 = 3,
SCO_BINARY = 4,
SCO_BYTES = 4,
SCO_BIG_INT = 5,
SCO_HASH = 6,
SCO_PUBLIC_KEY = 7
Expand Down Expand Up @@ -266,7 +266,7 @@ case SCO_U64:
uint64 u64;
case SCO_I64:
int64 i64;
case SCO_BINARY:
case SCO_BYTES:
opaque bin<SCVAL_LIMIT>;
case SCO_BIG_INT:
SCBigInt bigInt;
Expand All @@ -275,4 +275,4 @@ case SCO_HASH:
case SCO_PUBLIC_KEY:
PublicKey publicKey;
};
}
}