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

Use bytecode instead of byteCode in all cases #82

Open
davidyuk opened this issue Nov 18, 2021 · 0 comments
Open

Use bytecode instead of byteCode in all cases #82

davidyuk opened this issue Nov 18, 2021 · 0 comments

Comments

@davidyuk
Copy link
Member

$ curl https://compiler.aepps.com/api | jq . | grep bytecode -i
    "ByteCode": { <-- as two words
        "bytecode": {} <-- as a single word
        "bytecode": {
        "bytecode"
    "ByteCodeInput": {
        "bytecode": {}
        "bytecode": {
        "bytecode"
    "BytecodeCallResultInput": { <-- as a single word
        "bytecode": {},
        "bytecode": {
        "bytecode",
    "DecodeCalldataBytecode": { <-- as a single word
        "bytecode": null,
        "bytecode": {
        "bytecode",
    "ValidateByteCodeInput": { <-- as two words
        "bytecode": {},
        "bytecode": {
        "bytecode",
              "$ref": "#/definitions/ByteCode"
        "description": "Extract compiler version from bytecode",
              "$ref": "#/definitions/ByteCodeInput"
    "/decode-call-result/bytecode": {
        "description": "Decode the result of contract call from Bytecode",
        "operationId": "DecodeCallResultBytecode",
              "$ref": "#/definitions/BytecodeCallResultInput"
    "/decode-calldata/bytecode": {
        "operationId": "DecodeCalldataBytecode",
              "$ref": "#/definitions/DecodeCalldataBytecode"
        "description": "Get FATE assembler code from bytecode",
              "$ref": "#/definitions/ByteCodeInput"
        "operationId": "ValidateByteCode",
              "$ref": "#/definitions/ValidateByteCodeInput"

In comparison with "source code", seems correct to write "bytecode" as a single word, https://en.wikipedia.org/wiki/Bytecode 🤷‍♀️

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

No branches or pull requests

1 participant