You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON produced by the stateDiff modifier is escaped (particularly, the one produced in test/kontrol/KontrolDeployment.sol). Before feeding that JSON to Kontrol, we unescape it with the script test/kontrol/scripts/json/clean_json.py. We also reverse the deployments/hardhat/.deployment JSON with test/kontrol/scripts/json/reverse_key_values.py.
To stick to Optimism's toolchain and reduce the amount of code to maintain, we could investigate how to reproduce the functionalities of these scripts with a tool like jq or awk.
The text was updated successfully, but these errors were encountered:
The JSON produced by the
stateDiff
modifier is escaped (particularly, the one produced intest/kontrol/KontrolDeployment.sol
). Before feeding that JSON to Kontrol, we unescape it with the scripttest/kontrol/scripts/json/clean_json.py
. We also reverse thedeployments/hardhat/.deployment
JSON withtest/kontrol/scripts/json/reverse_key_values.py
.To stick to Optimism's toolchain and reduce the amount of code to maintain, we could investigate how to reproduce the functionalities of these scripts with a tool like
jq
orawk
.The text was updated successfully, but these errors were encountered: