mirror of
https://github.com/fluencelabs/lazy-snark
synced 2025-06-24 12:11:47 +00:00
Updated compiler version and tests
This commit is contained in:
@ -19,6 +19,15 @@ contract("Testing Lazy", accounts => {
|
||||
assert.equal(task.status, 2);
|
||||
});
|
||||
|
||||
it("should pass correct proof", async () => {
|
||||
let instance = await Lazy.deployed();
|
||||
let task = await instance.tasks(1);
|
||||
assert.equal(task.status, 0);
|
||||
await instance.challenge(1);
|
||||
task = await instance.tasks(1);
|
||||
assert.equal(task.status, 1);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user