contract c { function set() public returns (bool) { data1 = msg.data; return true; } function reset() public returns (bool) { data1 = data2; return true; } bytes data1; bytes data2; } // ==== // compileViaYul: also // ---- // set(): 1, 2, 3, 4, 5 -> true // gas irOptimized: 177390 // gas legacy: 177653 // gas legacyOptimized: 177493 // storageEmpty -> 0 // reset() -> true // storageEmpty -> 1