@@ -328,7 +328,7 @@ func TestUniverseIssuanceProofs(t *testing.T) {
328328
329329 // We should be able to fetch the issuance proof now, using
330330 // that very same target key generated.
331- dbProof , err := baseUniverse .FetchIssuanceProof (ctx , targetKey )
331+ dbProof , err := baseUniverse .FetchProof (ctx , targetKey )
332332 require .NoError (t , err )
333333
334334 uniProof := dbProof [0 ]
@@ -481,7 +481,7 @@ func TestUniverseMetaBlob(t *testing.T) {
481481
482482 // We should be able to fetch the leaf based on the base key we used
483483 // above.
484- dbProof , err := baseUniverse .FetchIssuanceProof (ctx , targetKey )
484+ dbProof , err := baseUniverse .FetchProof (ctx , targetKey )
485485 require .NoError (t , err )
486486
487487 uniProof := dbProof [0 ]
@@ -688,7 +688,7 @@ func TestUniverseLeafQuery(t *testing.T) {
688688
689689 // If we query for only the minting point, then all three leaves should
690690 // be returned.
691- proofs , err := baseUniverse .FetchIssuanceProof (
691+ proofs , err := baseUniverse .FetchProof (
692692 ctx , universe.BaseLeafKey {
693693 OutPoint : rootMintingPoint ,
694694 },
@@ -703,7 +703,7 @@ func TestUniverseLeafQuery(t *testing.T) {
703703 scriptKey , err := btcec .ParsePubKey (scriptKeyBytes [:])
704704 require .NoError (t , err )
705705
706- p , err := baseUniverse .FetchIssuanceProof (
706+ p , err := baseUniverse .FetchProof (
707707 ctx , universe.BaseLeafKey {
708708 OutPoint : rootMintingPoint ,
709709 ScriptKey : & asset.ScriptKey {
@@ -759,7 +759,7 @@ func TestUniverseLeafOverflow(t *testing.T) {
759759
760760 // We should be able to fetch the leaf based on the base key we used
761761 // above.
762- _ , err = baseUniverse .FetchIssuanceProof (ctx , targetKey )
762+ _ , err = baseUniverse .FetchProof (ctx , targetKey )
763763 require .NoError (t , err )
764764
765765 // If we try to insert another, then this should fail, as the tree will
@@ -771,7 +771,7 @@ func TestUniverseLeafOverflow(t *testing.T) {
771771 require .ErrorIs (t , err , mssmt .ErrIntegerOverflow )
772772
773773 // We should still be able to fetch the original issuance proof.
774- _ , err = baseUniverse .FetchIssuanceProof (ctx , targetKey )
774+ _ , err = baseUniverse .FetchProof (ctx , targetKey )
775775 require .NoError (t , err )
776776}
777777
@@ -877,7 +877,7 @@ func TestUniverseRootSum(t *testing.T) {
877877 // Each of the leaves inserted should have the proper
878878 // value as well.
879879 for i , key := range keys {
880- proofs , err := baseUniverse .FetchIssuanceProof (
880+ proofs , err := baseUniverse .FetchProof (
881881 ctx , key ,
882882 )
883883 require .NoError (t , err )
0 commit comments