From f074988966fcb9a3e320b4320a164a238dba5219 Mon Sep 17 00:00:00 2001 From: Deepanshu Hooda Date: Thu, 21 Sep 2023 16:39:13 +0530 Subject: [PATCH] fix bug --- precompiles/utils/src/bytes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompiles/utils/src/bytes.rs b/precompiles/utils/src/bytes.rs index ba86df9297..f1e6994b96 100644 --- a/precompiles/utils/src/bytes.rs +++ b/precompiles/utils/src/bytes.rs @@ -135,7 +135,7 @@ impl> EvmData for BoundedBytesString { writer.write_pointer( EvmDataWriter::new() .write(U256::from(length)) - .write(value) + .write_raw_bytes(&value) .build(), ); }