Skip to content

[FEATURE]: make the max_buffer_size constant a variable accessible by the contract developers #75

Description

@roaminro

Is there an existing issue for this?

  • I have searched the existing issues

New feature

As a contract developer I would like to be able to set the size of the buffer used by the system calls, this would allow me to retrieve data that's larger than the default value, 1024 bytes.

For example, pulling the bytecode into the contract requires to have a buffer that's at least as large as the bytecode + some bytes.

Anything else?

Link to the current max buffer constant implementation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions