Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants