We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b94a9 commit e2fa490Copy full SHA for e2fa490
itest/asset_meta_test.go
@@ -84,6 +84,31 @@ func testAssetMeta(t *harnessTest) {
84
},
85
86
87
+
88
+ // A mint request that doesn't specify asset meta at all should
89
+ // be permitted.
90
+ {
91
+ asset: &mintrpc.MintAssetRequest{
92
+ Asset: &mintrpc.MintAsset{
93
+ AssetType: taprpc.AssetType_NORMAL,
94
+ Name: "no meta",
95
+ Amount: 5000,
96
+ },
97
98
99
100
+ // A user should also be able to specify a decimal display, but
101
+ // not actually specify an asset meta at all.
102
103
104
105
106
+ Name: "dec display",
107
108
+ DecimalDisplay: 6,
109
110
111
112
}
113
114
ctxb := context.Background()
0 commit comments