Skip to content

Dynamic arrays of integer types do not use packing in the Storage #66

@PavelKopyl

Description

@PavelKopyl

In the following example each uint8 item occupies a full 32-bit slot.

contract Test {
 uint8[] arr;
 function retrieve() public returns (uint8) {
     return arr[3];
 }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions