Skip to content

Commit

Permalink
test: update test_genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Dec 9, 2022
1 parent ba1a9a0 commit 37992fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/protocol/test/genesis/generate_genesis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@ action("Generate Genesis", function () {
signer
)

await expect(
LibTxDecoder.decodeTxList(ethers.utils.RLP.encode([]))
).to.be.revertedWith("empty txList")
const decoded = await LibTxDecoder.callStatic.decodeTxList(
ethers.utils.RLP.encode([])
)

expect(decoded.items.length).to.be.eql(0)
})

it("TaikoL2", async function () {
Expand Down

0 comments on commit 37992fd

Please sign in to comment.