• Hero Bird's avatar
    Use BLAKE2b 256-bit hashes for selectors (#680) · e22a0feb
    Hero Bird authored
    * use BLAKE2b 256-bit hashes for selectors
    
    Before this PR we accidentally used BLAKE2b 512-bit hashing.
    Using 256-bit versions is important for smart contracts so that smart contracts can compute selector hashes on their own through the built-in contracts-pallet hash support which includes BLAKE2b 256-bit but not 512-bit.
    
    * apply rustfmt
    e22a0feb