Skip to content

Commit

Permalink
Add registration usage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sugh01 committed Dec 4, 2023
1 parent d6b5702 commit e3301cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/wallet/registerName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
type RegistrationParameters,
} from '../../utils/registerHelpers.js'
import { wrappedLabelLengthCheck } from '../../utils/wrapper.js'
import { log } from 'console'

Check failure on line 23 in packages/ensjs/src/functions/wallet/registerName.ts

View workflow job for this annotation

GitHub Actions / Lint

`console` import should occur before import of `../../contracts/consts.js`

Check failure on line 23 in packages/ensjs/src/functions/wallet/registerName.ts

View workflow job for this annotation

GitHub Actions / Lint

'log' is defined but never used

export type RegisterNameDataParameters = RegistrationParameters & {
/** Value of registration */
Expand Down Expand Up @@ -58,7 +59,6 @@ export const makeFunctionData = <

const labels = args.name.split('.')
wrappedLabelLengthCheck(labels[0])

return {
to: getChainContractAddress({
client: wallet,
Expand Down

0 comments on commit e3301cf

Please sign in to comment.