From e9817320e2761f732d285a95695be7a6bd5d8986 Mon Sep 17 00:00:00 2001 From: Bartek Rutkowski Date: Wed, 8 May 2024 19:06:22 +0200 Subject: [PATCH] docs: add TODO comments --- test/kill-switch.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/kill-switch.test.ts b/test/kill-switch.test.ts index 4159d48..a3e0aef 100644 --- a/test/kill-switch.test.ts +++ b/test/kill-switch.test.ts @@ -46,14 +46,24 @@ describe.only('KillSwitch', function () { }) it.skip('one oracle meets the threshold', async () => { + // Add a new oracle to the kill switch oracle contract with threshold under the price + const { result } = await killSwitchW3F.run('onRun') expect(result.canExec).to.equal(true) + + // Check that returned calldata matches desired calldata (call KSO with the new oracle address) + // Execute the call, check that the state of the KSO was changed to triggered }) it.skip('multiple oracles meet the threshold', async () => { + // Add two new oracles to the kill switch oracle contract with threshold under the price + const { result } = await killSwitchW3F.run('onRun') expect(result.canExec).to.equal(true) + + // Check that returned calldata matches desired calldata (call KSO with the first of the new oracles address) + // Execute the call, check that the state of the KSO was changed to triggered }) })