Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Ingest System Contract Addresses via ChainID #168

Open
epociask opened this issue Oct 10, 2023 · 1 comment
Open

Ingest System Contract Addresses via ChainID #168

epociask opened this issue Oct 10, 2023 · 1 comment
Labels
type: enhancement New feature or request

Comments

@epociask
Copy link
Collaborator

Problem

System config addresses for OP Stack specific heuristics (withdrawal_enforce, fault_detection) must be manually specified as input parameters to a heuristic session.

Problem Solution

Take in a CHAIN_ID env var that's processed to fetch all L1 system config addresses.

@wbnns wbnns added the type: enhancement New feature or request label Oct 10, 2023
@epociask epociask removed their assignment Oct 30, 2023
@epociask
Copy link
Collaborator Author

epociask commented Feb 10, 2024

@adrain-cb this could be super useful for making pessimism better adoptable and usable since it can provide a user aliasing for predeploy contracts in their heuristic configurations (e.g, L1_OP_PORTAL => 0x0...0).

Could support some payload syntax like:

    {
        "network": "layer1",
        "type": "contract_event", 
        "start_height": null,
        "alerting_params": {
            "message": "",
            "destination": "slack"
        },
        "heuristic_params": {
            "address": "${OP_PORTAL}",
            "args": [...]
        }
    },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants