Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Oct 1, 2024
1 parent f675c17 commit b61a1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/e2e/src/dev.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ describe('dev rpc', async () => {
})

it('newBlock with relayParentNumber', async () => {
await dev.newBlock({ relayParentNumber: 14355200 })
await dev.newBlock({ relayParentNumber: 14355209 })
const block = await api.rpc.chain.getBlock()
const setValidationData = block.block.extrinsics
.find(({ method }) => method.method == 'setValidationData')
?.method.toJSON().args.data

expect(setValidationData.validationData.relayParentNumber).to.be.eq(14355200)
expect(setValidationData.validationData.relayParentNumber).to.be.eq(14355209)
})

it('timeTravel', async () => {
Expand Down

0 comments on commit b61a1b4

Please sign in to comment.