1 2 3 4 5 6 7 8 9 10 11 12
pragma abicoder v2; contract Test { struct shouldBug { bytes[2] deadly; } function killer(bytes[2] calldata weapon) pure external { shouldBug(weapon); } } // ----