dsa-connectors/status-checks/checks.ts

16 lines
271 B
TypeScript
Raw Normal View History

2021-12-05 05:23:21 +00:00
import checkMain from "./check";
2021-12-05 22:34:43 +00:00
export default [
2021-12-05 05:23:21 +00:00
{
name: "Solidity check",
callback: async () => {
try {
await checkMain();
return "Check passed!";
} catch (error) {
throw new Error("Check failed!");
}
},
},
];