Skip to content

Commit ba74d33

Browse files
committed
add comment
1 parent ff2617a commit ba74d33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contracts/sg-ics721/src/testing/integration_tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,10 @@ fn test_do_instantiate_and_mint() {
948948
data: Some(
949949
// CustomClassData doesn't apply to CollectionData type and won't be considered
950950
// collection name wont be transferred to instantiated nft contract
951+
// hence, sg-ics721 must send default `ClassData`,
952+
// SG specific collection data (e.g. containing collection info) cannot be parsed
953+
// by default ics721 package implementation. Only CollectionData guanrantees name
954+
// and symbol are used for instantiated nft contract on target chain.
951955
to_json_binary(&CustomClassData {
952956
foo: Some(
953957
test.app

0 commit comments

Comments
 (0)