Hi! How I can get bytes4 on hardhat test? I do this for get keccak256, now I can't understande how to get bytes4 from it.
ethers.utils.keccak256(
ethers.utils.toUtf8Bytes(
"someFunc(address,address,uint256[],uint256[],bytes)"
)
)
May 7, 2022, 1:24 PM
Anybody?
May 7, 2022, 1:31 PM