Skip to content

Commit

Permalink
import util directly
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Jan 11, 2024
1 parent b523c60 commit 7f17855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/test/util/wasmCrypto.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Common } from '@ethereumjs/common'
import { LegacyTransaction } from '@ethereumjs/tx'
import { calculateSigRecovery, concatBytes, randomBytes, setLengthLeft } from '@ethereumjs/util'
import { u8aToHex as _u8aToHex } from '@polkadot/util'
import { keccak256, secp256k1Expand, secp256k1Recover, waitReady } from '@polkadot/wasm-crypto'
import { assert, describe, it } from 'vitest'

describe('WASM crypto tests', () => {
it('should compute public key and hash correctly using common.customCrypto functions', async () => {
const wasmecrecover = (
Expand Down

0 comments on commit 7f17855

Please sign in to comment.