Created
June 12, 2022 10:36
-
-
Save Th0rgal/35c2ee54d9d94733e1d13e301b301afc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[FAIL] tests/test_storage.cairo test_my_var | |
[type] TRANSACTION_FAILED | |
[code] 39 | |
[details]: | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/bitwise.cairo:63:21: While expanding the reference 'x_xor_y' in: | |
return (x_xor_y=x_xor_y) | |
^*****^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/bitwise.cairo:60:19: Error at pc=0:127: | |
Unknown value for memory cell at address 13:3. | |
let x_xor_y = bitwise_ptr.x_xor_y | |
^*****************^ | |
Cairo traceback (most recent call last): | |
tests/test_storage.cairo:13:6: (pc=0:577) | |
func test_my_var{syscall_ptr : felt*, range_check_ptr, pedersen_ptr : HashBuiltin*}(): | |
^*********^ | |
tests/test_storage.cairo:30:18: (pc=0:567) | |
let (addr) = find_storage_addr{bitwise_ptr=bitwise_ptr, keccak_ptr=keccak_ptr}( | |
^****************************************************************^ | |
/Users/thomas/workspace/sphinx/src/sphinx/storage.cairo:22:25: (pc=0:463) | |
let (next : felt) = find_storage_addr(name, name_bytes, inputs_len - 1, inputs) | |
^*********************************************************^ | |
/Users/thomas/workspace/sphinx/src/sphinx/storage.cairo:19:29: (pc=0:450) | |
let (addr : felt) = starknet_keccak(name, name_bytes) | |
^*******************************^ | |
/Users/thomas/workspace/sphinx/src/sphinx/storage.cairo:44:27: (pc=0:485) | |
let (res : Uint256) = keccak(data, data_bytes) | |
^**********************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:172:20: (pc=0:188) | |
let (output) = keccak_as_words(inputs=inputs, n_bytes=n_bytes) | |
^*********************************************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:199:12: (pc=0:222) | |
return _keccak(inputs=inputs, n_bytes=n_bytes, state=state) | |
^**************************************************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:365:5: (pc=0:431) | |
_prepare_block(inputs=inputs, n_bytes=n_bytes, state=state) | |
^*********************************************************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:233:5: (pc=0:255) | |
_padding(input_word=input_word, n_bytes=n_bytes, state=state, padding_len=padding_len) | |
^************************************************************************************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:302:12: (pc=0:343) | |
return _long_padding( | |
^************^ | |
/Users/thomas/.protostar/dist/protostar/starkware/cairo/common/cairo_keccak/keccak.cairo:316:23: (pc=0:351) | |
let (first_one) = bitwise_xor(input_word_with_initial_padding, state[0]) | |
^****************************************************^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment