Skip to content

Investigate replacing json cleaning scripts with jq or awk commands #4

@JuanCoRo

Description

@JuanCoRo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions