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

account-balance template throws error about no contracts #25

Closed
haseebrabbani opened this issue May 17, 2022 · 1 comment
Closed

account-balance template throws error about no contracts #25

haseebrabbani opened this issue May 17, 2022 · 1 comment

Comments

@haseebrabbani
Copy link
Collaborator

when I try to setup an account-balance template and then run npm run validate, I get an error saying ERROR: bot_1:account-balance has no contracts!. Here is the config:

{
  "developerAbbreviation": "hr",
  "protocolName": "hr",
  "protocolAbbreviation": "hr",
  "bots": [
    {
      "botType": "account-balance",
      "name": "bot_1",
      "accountBalance": {
        "contractName1": {
          "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
          "thresholdEth": 1,
          "alert": { "type": "Info", "severity": "Info" }
        }
      },
      "alertMinimumIntervalSeconds": 86400
    }
  ]
}

@arbitrary-echo
Copy link
Contributor

Resolved with AE-1370.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants