@@ -28,7 +28,7 @@ import {
2828 DeployedMailboxArtifact ,
2929 DeployedRawMailboxArtifact ,
3030 IRawMailboxArtifactManager ,
31- MailboxConfig ,
31+ MailboxArtifactConfig ,
3232 MailboxOnChain ,
3333} from '@hyperlane-xyz/provider-sdk/mailbox' ;
3434import { AnnotatedTx , TxReceipt } from '@hyperlane-xyz/provider-sdk/module' ;
@@ -268,7 +268,7 @@ describe('CoreWriter', () => {
268268 describe ( 'create' , ( ) => {
269269 it ( 'should deploy mailbox with NEW ISM and NEW hooks' , async ( ) => {
270270 // ARRANGE
271- const artifact : ArtifactNew < MailboxConfig > = {
271+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
272272 artifactState : ArtifactState . NEW ,
273273 config : {
274274 owner : mockOwner ,
@@ -345,7 +345,7 @@ describe('CoreWriter', () => {
345345
346346 it ( 'should use existing ISM when DEPLOYED' , async ( ) => {
347347 // ARRANGE
348- const artifact : ArtifactNew < MailboxConfig > = {
348+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
349349 artifactState : ArtifactState . NEW ,
350350 config : {
351351 owner : mockOwner ,
@@ -384,7 +384,7 @@ describe('CoreWriter', () => {
384384 signer ,
385385 ) ;
386386
387- const artifact : ArtifactNew < MailboxConfig > = {
387+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
388388 artifactState : ArtifactState . NEW ,
389389 config : {
390390 owner : mockOwner ,
@@ -414,7 +414,7 @@ describe('CoreWriter', () => {
414414
415415 it ( 'should create mailbox with signer as initial owner' , async ( ) => {
416416 // ARRANGE
417- const artifact : ArtifactNew < MailboxConfig > = {
417+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
418418 artifactState : ArtifactState . NEW ,
419419 config : {
420420 owner : mockOwner ,
@@ -449,7 +449,7 @@ describe('CoreWriter', () => {
449449
450450 it ( 'should create mailbox with zero-address hooks initially' , async ( ) => {
451451 // ARRANGE
452- const artifact : ArtifactNew < MailboxConfig > = {
452+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
453453 artifactState : ArtifactState . NEW ,
454454 config : {
455455 owner : mockOwner ,
@@ -512,7 +512,7 @@ describe('CoreWriter', () => {
512512
513513 it ( 'should update mailbox with hooks and owner after deployment' , async ( ) => {
514514 // ARRANGE
515- const artifact : ArtifactNew < MailboxConfig > = {
515+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
516516 artifactState : ArtifactState . NEW ,
517517 config : {
518518 owner : mockOwner ,
@@ -597,7 +597,7 @@ describe('CoreWriter', () => {
597597 . stub ( )
598598 . returns ( mockMailboxWriter ) ;
599599
600- const artifact : ArtifactNew < MailboxConfig > = {
600+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
601601 artifactState : ArtifactState . NEW ,
602602 config : {
603603 owner : mockOwner ,
@@ -627,7 +627,7 @@ describe('CoreWriter', () => {
627627
628628 it ( 'should collect receipts from all steps' , async ( ) => {
629629 // ARRANGE
630- const artifact : ArtifactNew < MailboxConfig > = {
630+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
631631 artifactState : ArtifactState . NEW ,
632632 config : {
633633 owner : mockOwner ,
@@ -664,7 +664,7 @@ describe('CoreWriter', () => {
664664 it ( 'should propagate ISM deployment errors' , async ( ) => {
665665 // ARRANGE
666666 const error = new Error ( 'ISM deployment failed' ) ;
667- const artifact : ArtifactNew < MailboxConfig > = {
667+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
668668 artifactState : ArtifactState . NEW ,
669669 config : {
670670 owner : mockOwner ,
@@ -707,7 +707,7 @@ describe('CoreWriter', () => {
707707 . stub ( )
708708 . returns ( mockMailboxWriter ) ;
709709
710- const artifact : ArtifactNew < MailboxConfig > = {
710+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
711711 artifactState : ArtifactState . NEW ,
712712 config : {
713713 owner : mockOwner ,
@@ -761,7 +761,7 @@ describe('CoreWriter', () => {
761761 deployed : { address : mockNewIsmAddress } ,
762762 } ;
763763
764- const expectedArtifact : ArtifactNew < MailboxConfig > = {
764+ const expectedArtifact : ArtifactNew < MailboxArtifactConfig > = {
765765 artifactState : ArtifactState . NEW ,
766766 config : {
767767 owner : mockOwner ,
@@ -824,7 +824,7 @@ describe('CoreWriter', () => {
824824
825825 sinon . stub ( coreWriter , 'read' ) . resolves ( currentMailbox ) ;
826826
827- const expectedArtifact : ArtifactNew < MailboxConfig > = {
827+ const expectedArtifact : ArtifactNew < MailboxArtifactConfig > = {
828828 artifactState : ArtifactState . NEW ,
829829 config : {
830830 owner : mockOwner ,
@@ -884,7 +884,7 @@ describe('CoreWriter', () => {
884884
885885 sinon . stub ( coreWriter , 'read' ) . resolves ( currentMailbox ) ;
886886
887- const expectedArtifact : ArtifactNew < MailboxConfig > = {
887+ const expectedArtifact : ArtifactNew < MailboxArtifactConfig > = {
888888 artifactState : ArtifactState . NEW ,
889889 config : currentMailbox . config ,
890890 } ;
@@ -938,7 +938,7 @@ describe('CoreWriter', () => {
938938
939939 sinon . stub ( coreWriter , 'read' ) . resolves ( currentMailbox as any ) ;
940940
941- const expectedArtifact : ArtifactNew < MailboxConfig > = {
941+ const expectedArtifact : ArtifactNew < MailboxArtifactConfig > = {
942942 artifactState : ArtifactState . NEW ,
943943 config : {
944944 owner : mockOwner ,
@@ -957,7 +957,7 @@ describe('CoreWriter', () => {
957957 it ( 'should propagate ISM deployment errors' , async ( ) => {
958958 // ARRANGE
959959 const error = new Error ( 'ISM deployment failed' ) ;
960- const artifact : ArtifactNew < MailboxConfig > = {
960+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
961961 artifactState : ArtifactState . NEW ,
962962 config : {
963963 owner : mockOwner ,
@@ -1000,7 +1000,7 @@ describe('CoreWriter', () => {
10001000 . stub ( )
10011001 . returns ( mockMailboxWriter ) ;
10021002
1003- const artifact : ArtifactNew < MailboxConfig > = {
1003+ const artifact : ArtifactNew < MailboxArtifactConfig > = {
10041004 artifactState : ArtifactState . NEW ,
10051005 config : {
10061006 owner : mockOwner ,
0 commit comments