Skip to content

Mentee Task 3: Add support for Uint/Int 256 for Stellar target #1831

@salaheldinsoliman

Description

@salaheldinsoliman

This tasks involves adding support for integer width of 256 for Stellar.

This involves adding the proper logic in the Soroban decoder/encoder: https://github.com/hyperledger-solang/solang/blob/main/src/codegen/encoding/soroban_encoding.rs

Stellar has built-in host function to do this encoding/decoding, however Solang would need to prepare the correct args for the host function call and this is the major part of the task.

We have previously added support for i128:

, and most probably it will look like that but with some tweaks.

Resources:

@guptapratykshh please let me know if you have any questions. This task is supposed to be tricky, so please ask, ask and ask :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions