|
|
|
@ -991,8 +991,13 @@ class Instruction: |
|
|
|
|
for keccak_key in keccak_keys: |
|
|
|
|
key_argument = keccak_function_manager.get_argument(keccak_key) |
|
|
|
|
index_argument = keccak_function_manager.get_argument(index) |
|
|
|
|
|
|
|
|
|
if is_true(simplify(key_argument == index_argument)): |
|
|
|
|
condition = key_argument == index_argument |
|
|
|
|
condition = ( |
|
|
|
|
condition |
|
|
|
|
if type(condition) == bool |
|
|
|
|
else is_true(simplify(condition)) |
|
|
|
|
) |
|
|
|
|
if condition: |
|
|
|
|
return self._sstore_helper( |
|
|
|
|
copy(global_state), |
|
|
|
|
keccak_key, |
|
|
|
|