Skip to content

Use abi.encodePacked for inputs to keccak256 #102

@hswick

Description

@hswick

Solidity compiler gives this type of warning quite a bit.
fs.sol:52:20: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.

I believe this is a breaking change in 0.5.0, so it would be good to change this sooner than later.

Metadata

Metadata

Assignees

No one assigned

    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