Skip to content

David/adversary test2 #786

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 9 commits into from
Jul 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Next Next commit
Merge branch 'master' into david/adversary-test2
  • Loading branch information
@druiz0992
druiz0992 authoredJul 5, 2022
commit 1658a77c951fa686bdfbcf105ee8ed48456f4047
4 changes: 3 additions & 1 deletion test/adversary.test.mjs
Original file line numberDiff line numberDiff line change
Expand Up@@ -230,7 +230,9 @@ describe('Testing with an adversary', () => {
// waiting sometime to ensure that all the good transactions from bad
// blocks were proposed in other good blocks
console.log('Waiting for rollbacks...');
await new Promise(resolve => setTimeout(resolve, 20 * TX_WAIT));

await waitForSufficientBalance(nf3User, expectedBalance);
await new Promise(resolve => setTimeout(resolve, 30 * TX_WAIT));
await waitForSufficientBalance(nf3User, expectedBalance);
const endBalance = await retrieveL2Balance(nf3User);
console.log(`Completed startBalance`, startBalance);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.