Skip to content

Hash written to the blockchain is not prefixed by zeros or not at all but is dublicated (thats why it seems to work, but that measn double the gas price and or incorrect formatting) #755

Description

@FantasticoFox

See https://sepolia.etherscan.io/tx/0x7f878f524b7916dc818fe2c0b83ca7fbe834d22f3d745305444e786d9797724e

Image

That is wrong:

0x9cef4ea1f57fde64054cfa553e91c67ef45f7033b58665db6d1f2d667f0755977e29dff6f57fde64054cfa553e91c67ef45f7033b58665db6d1f2d667f0755977e29dff6

Correct would be:

0x9cef4ea10000000000000000000000000000000000000000000000000000000000000000f57fde64054cfa553e91c67ef45f7033b58665db6d1f2d667f0755977e29dff6

This contract is for SHA3-512 thats teh reason why it has the spaces in the beginning.

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