You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Add material to the attestation crafting state based on if the material is contract free or not.
136
-
// By default, try to detect the material kind automatically
136
+
// The checks are performed in the following order:
137
+
// 1. If materialName is empty and materialType is empty, we don't know anything about the material so, we add it with auto-detected kind and random name
138
+
// 2. If materialName is not empty, check if the material is in the contract. If it is, add material from contract
139
+
// 2.1. If materialType is empty, try to guess the material kind with auto-detected kind and materialName
140
+
// 3. If materialType is not empty, add material contract free with materialType and materialName
0 commit comments