Open
Description
Component
Cast
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.2.1-nightly
What version of Foundryup are you on?
foundryup: 1.0.1
What command(s) is the bug in?
cast keccak
Operating System
Linux
Describe the bug
Git clone my safe-tx-hashes-util
. Then run:
./safe_hashes.sh --network zksync --address 0x9fb5F754f5222449F98b904a34494cB21AADFdf8 --nonce 12
It will print:
./safe_hashes.sh: line 517: /home/pcaversaccio/.foundry/bin/cast: Argument list too long
Error: Could not ABI encode the function and arguments. Did you pass in the right types?
Error
parser error:
^
expected hex digits or the `0x` prefix for an empty hex string
The line that throws is here:
local data_hashed=$(cast keccak "$data")
The data that is hashed is very long, so I assume there is some cast keccak
size limit issue here: data.txt
.
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog