diff --git a/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul b/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul new file mode 100644 index 000000000..cef5d9bc2 --- /dev/null +++ b/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul @@ -0,0 +1,11 @@ +object "SimpleStore" { + code { + datacopy(0, dataoffset("SimpleStore_deployed"), datasize("SimpleStore_deployed")) + return(0, datasize("SimpleStore_deployed")) + } + object "SimpleStore_deployed" { + code { + calldatacopy(0, 0, 36) // write calldata to memory + } + } +} diff --git a/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul.json b/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul.json deleted file mode 100644 index 5966bcf94..000000000 --- a/crates/zksync/compilers/test-data/yul-sample/SimpleStore.yul.json +++ /dev/null @@ -1 +0,0 @@ -{"abi":null,"bytecode":{"object":"00000001002001900000000c0000c13d000000002101043c000000000010043f000000200100043d0000000701100197000000000202043b0000000802200197000000000112019f000000200010043f0000000001000019000000000001042d000000240000043f0000002001000039000001000010044300000120000004430000000601000041000000130001042e0000001200000432000000130001042e0000001400010430000000000000000000000000000000000000000000000000000000020000000000000000000000000000004000000100000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e0e9492643af2958d06e962a0b194ca36037ef49d6167e028f1f053a54c571","is_unlinked":false,"missing_libraries":[]},"storageLayout":{"storage":[],"types":{}},"userdoc":{},"devdoc":{},"hash":"0100000b7acef21b9ea8b7897d4ebb51ecaec207df8038a10bc61b904c5c9e4b","factoryDependencies":{},"id":0} \ No newline at end of file