Skip to content

Commit

Permalink
wip cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jan 14, 2023
1 parent 65697ba commit b1358dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/protocol/test/tokenomics/Tokenomics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe("tokenomics", function () {
// send transactions to L1 so we always get new blocks
setInterval(
async () => await sendTinyEtherToZeroAddress(l1Signer),
1 * 500
1 * 1000
);

const tx = await l2Signer.sendTransaction({
Expand Down Expand Up @@ -135,6 +135,10 @@ describe("tokenomics", function () {
// do the same for the blockFee, which should increase every block proposal
// with proofs not being submitted.
let lastBlockFee = await taikoL1.getBlockFee();
while (lastBlockFee.eq(0)) {
await sleep(500);
lastBlockFee = await taikoL1.getBlockFee();
}

let lastProofReward = BigNumber.from(0);

Expand Down

0 comments on commit b1358dd

Please sign in to comment.