nomad-xyz / nomad-monorepo

Contracts, off-chain agents, and libraries for Nomad
https://nomad.xyz
77 stars 16 forks source link

test: ensure SDK blacklists failed homes in local-env #131

Closed luketchang closed 2 years ago

luketchang commented 2 years ago

Once NomadContext has blacklist functionality for failed homes, run test in local-env.

  1. Instantiate NomadContext with local environment and call NomadContext.spawnWatchTasks.
  2. Have updater submit improper update to fail home.
  3. Check that NomadContext.blacklist has listed the domain of the failed home within ~30 sec.