diff --git a/e2e/adversarial_test.go b/e2e/adversarial_test.go index c313c4d9..cb5697ec 100644 --- a/e2e/adversarial_test.go +++ b/e2e/adversarial_test.go @@ -245,7 +245,7 @@ func (suite *AdversarialTestSuite) TestInvalidOnMineValidOnTheirs() { ics721Nft(suite.T(), suite.chainA, suite.pathAC, suite.coordinator, chainACw721, "bad kid 1", suite.bridgeA, suite.chainA.SenderAccount.GetAddress(), suite.chainC.SenderAccount.GetAddress(), "") err = suite.chainA.SmartQuery(chainACw721, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: suite.tokenIdA}}, &OwnerOfResponse{}) - require.ErrorContains(suite.T(), err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(suite.T(), err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // Send the NFT back, this time setting new metadata for the // class ID. @@ -478,7 +478,7 @@ func (suite *AdversarialTestSuite) TestMetadataForwarding() { require.ErrorContains( suite.T(), err, - "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found", + "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found", ) // Check that token metadata was cleared. diff --git a/e2e/suite_test.go b/e2e/suite_test.go index 1b78cdee..cfbeda43 100644 --- a/e2e/suite_test.go +++ b/e2e/suite_test.go @@ -489,7 +489,7 @@ func TestSendBetweenThreeIdenticalChains(t *testing.T) { // contract "is this burned" so we just query and make sure it // now errors with a storage load failure. err := chainA.SmartQuery(chainANftDerivative, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: "bad kid 1"}}, &OwnerOfResponse{}) - require.ErrorContains(t, err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(t, err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // NFT should belong to chainC sender on chain C. ownerC = queryGetOwnerOf(t, chainC, chainCNft, "bad kid 1") @@ -505,7 +505,7 @@ func TestSendBetweenThreeIdenticalChains(t *testing.T) { // Burned on C. err = chainC.SmartQuery(chainCNft, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: "bad kid 1"}}, &OwnerOfResponse{}) - require.ErrorContains(t, err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(t, err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // B -> A path = getPath(1, 0) @@ -517,7 +517,7 @@ func TestSendBetweenThreeIdenticalChains(t *testing.T) { // Burned on chain B. err = chainB.SmartQuery(chainBNft, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: "bad kid 1"}}, &OwnerOfResponse{}) - require.ErrorContains(t, err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(t, err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // Hooray! We have completed the journey between three // identical blockchains using our ICS721 contract. @@ -573,7 +573,7 @@ func (suite *TransferTestSuite) TestMultipleAddressesInvolved() { // Make sure the NFT was burned on chain B err = suite.chainB.SmartQuery(chainBNft, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: "bad kid 1"}}, &OwnerOfResponse{}) - require.ErrorContains(suite.T(), err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(suite.T(), err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // Make another account on chain B and transfer to the new account. anotherAcount := CreateAndFundAccount(suite.T(), suite.chainB, 19) @@ -591,7 +591,7 @@ func (suite *TransferTestSuite) TestMultipleAddressesInvolved() { // Make sure it was burned on B. err = suite.chainB.SmartQuery(chainBNft, OwnerOfQuery{OwnerOf: OwnerOfQueryData{TokenID: "bad kid 1"}}, &OwnerOfResponse{}) - require.ErrorContains(suite.T(), err, "cw721_base::state::TokenInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") + require.ErrorContains(suite.T(), err, "cw721::state::NftInfo>; key: [00, 06, 74, 6F, 6B, 65, 6E, 73, 62, 61, 64, 20, 6B, 69, 64, 20, 31] not found") // Make sure it is owned by the correct address on A. resp := OwnerOfResponse{}