This repository was archived by the owner on Mar 5, 2025. It is now read-only.
  
  
  
  
  
Description
Is there an existing issue for this?
Current Behavior
If we do the current keccak256 for string data it raise error.
TypeError: Expected Uint8Array data
Expected Behavior
Considering the 1.x compatibility, we have to accept a string input.
Steps to Reproduce
Web3.js Version
4.x
Environment
- Operating System: N/A
- Browser: N/A
- Node.js Version: 16.x
- NPM Version: N/A
Anything Else?
No response