Skip to content

Commit

Permalink
docs: add TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
barrutko committed May 8, 2024
1 parent 6ad329e commit e981732
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/kill-switch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
})

0 comments on commit e981732

Please sign in to comment.