@@ -419,7 +419,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
419419
420420 const commitTxHash = await controller . write . commit ( [ commitment ] , {
421421 account : registrant ,
422- nonce : nonce + index ,
422+ // nonce: nonce + index,
423423 } )
424424 console . log ( `Commiting commitment for ${ label } .eth (tx: ${ commitTxHash } )...` )
425425
@@ -439,7 +439,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
439439 {
440440 account : registrant ,
441441 value : price ,
442- nonce : nonce + index ,
442+ // nonce: nonce + index,
443443 } ,
444444 )
445445 console . log ( `Registering name ${ label } .eth (tx: ${ registerTxHash } )...` )
@@ -463,7 +463,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
463463 for ( const { key, value } of records . text ) {
464464 const setTextHash = await publicResolver . write . setText ( [ hash , key , value ] , {
465465 account : registrant ,
466- nonce : nonceRef ,
466+ // nonce: nonceRef,
467467 } )
468468 console . log ( ` - ${ key } ${ value } (tx: ${ setTextHash } )...` )
469469 nonceRef += 1
@@ -474,7 +474,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
474474 for ( const { key, value } of records . addr ) {
475475 const setAddrHash = await publicResolver . write . setAddr ( [ hash , key , value ] , {
476476 account : registrant ,
477- nonce : nonceRef ,
477+ // nonce: nonceRef,
478478 } )
479479 console . log ( ` - ${ key } ${ value } (tx: ${ setAddrHash } )...` )
480480 nonceRef += 1
@@ -484,7 +484,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
484484 console . log ( 'CONTENTHASH' )
485485 const setContenthashHash = await publicResolver . write . setContenthash (
486486 [ hash , records . contenthash ] ,
487- { account : registrant , nonce : nonceRef } ,
487+ {
488+ account : registrant ,
489+ // nonce: nonceRef
490+ } ,
488491 )
489492 console . log ( ` - ${ records . contenthash } (tx: ${ setContenthashHash } )...` )
490493 nonceRef += 1
@@ -501,7 +504,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
501504 else data_ = stringToBytes ( data )
502505 const setAbiHash = await publicResolver . write . setABI (
503506 [ hash , contentType , bytesToHex ( data_ ) ] ,
504- { account : registrant , nonce : nonceRef } ,
507+ {
508+ account : registrant ,
509+ // nonce: nonceRef
510+ } ,
505511 )
506512 console . log ( ` - ${ records . abi } (tx: ${ setAbiHash } )...` )
507513 nonceRef += 1
@@ -524,7 +530,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
524530 [ namehash ( `${ label } .eth` ) , labelhash ( subnameLabel ) , subOwner . address , resolver , 0n ] ,
525531 {
526532 account : registrant ,
527- nonce : nonce + index + i ,
533+ // nonce: nonce + index + i,
528534 } ,
529535 )
530536 console . log ( `Creating subname ${ subnameLabel } .${ label } .eth (tx: ${ subnameTxHash } )...` )
@@ -539,7 +545,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
539545 [ namehash ( `${ label } .eth` ) , owner ! . address ] ,
540546 {
541547 account : registrant ,
542- nonce : nonce + index ,
548+ // nonce: nonce + index,
543549 } ,
544550 )
545551 console . log ( `Setting controller for ${ label } .eth to ${ owner } (tx: ${ setControllerTxHash } )...` )
@@ -557,8 +563,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
557563 ) => {
558564 const newNonceMap = nonceMap || { }
559565 for ( const client of Object . values ( allNamedClients ) ) {
560- const account = client . account
561- const address = account . address
566+ const { account } = client
567+ const { address } = account
562568 const namesWithAccount = allNameData . filter ( ( data ) => {
563569 const propertyValue = data [ property ]
564570 if ( typeof propertyValue === 'string' ) {
0 commit comments