SPT: https://sys1.bcfn.ca/asset/490411102
I have sent multiple assetupdate transactions. All confirmed, but none have had any effect.
Order of events leading to this point:
assetnew, accidentally included leading 0x in contract field (“I’ll correct that later”)
assetsend full supply to original token owner address
assetallocationburn full supply
assetupdate to correct contract field (fails)
Here is my assetupdate command:
syscoin-cli assetupdate “490411102” “FunFair Interchain Token” “419D0d8BdD9aF5e606Ae2232ed285Aff190E711b” “0” “31” {} “”
Not sure whether I’ve done something wrong in the process or if this is a bug.
1 Like
What’s the response you got from that command?
03740000013de1ca524e3593df1ab43419c6ce4c838a555d4bbb23b7a7b853755d67e620f4010000001600149d3f0a9491fc11f10b8add5bb6847323c46ac14affffffff020000000000000000656a4c620000000000000000000000000000000000000000000000000000000000000000005e143b1d0446554e7800149d3f0a9491fc11f10b8add5bb6847323c46ac14a00000000000000000000001f6ea1b3b6e00d001f6ea1b3b6e00d018107001f08007fdc7ceb0b000000001600149d3f0a9491fc11f10b8add5bb6847323c46ac14a00000000
Looks like a bug. I was able to update another field (public_value), but not contract. Contract is not accounted for among the fields in the raw transaction data despite its inclusion in the assetupdate parameters:
decoderawtransaction (segment):
“systx”: {
“txtype”: “assetupdate”,
“asset_guid”: 490411102,
“symbol”: “FUNx”,
“txid”: “16f9ecef01e4273c48919dd8fa62d4564cba1af24f25244fa7a8f36019946823”,
“height”: 0,
“public_value”: “{"description":"Test Interchain Token"}”,
“sender”: “sys1qn5ls49y3lsglzzu2m4dmdprny0zx4s228ewq4n”,
“update_flags”: 31,
“blockhash”: “0000000000000000000000000000000000000000000000000000000000000000”
}
Also of interest is whether update-ability of auxfees is (or should be) switchable with flags. It is currently not included among bitmask descriptions in the assetupdate help text
I will create GitHub issues for both of these.
opened 12:18AM - 09 May 20 UTC
closed 03:58PM - 11 May 20 UTC
`assetupdate "490411102" "Test Interchain Token" "419D0d8BdD9aF5e606Ae2232ed285A… ff190E711b" "0" "31" {} ""`
sign + send. Transaction confirms fine. However, [contract] fails to update. In my probing I found [public_value] **does** update as expected. I do not see [contract] included in the systx raw transaction data. Is its absence a bug?
**Expected behavior**
[contract] should update
**Actual behavior**

decoded raw tx:

tx confirms and... [contract] does not update as it should, but [public_value] does.
**To reproduce**
Easy to reproduce, and I have done so repeatedly. Just submit the assetupdate tx shown above.
**System information**

self-compiled on Ubuntu 18.04.4 LTS, Intel Core i7, SSD
I could not find any errors in debug.log w/ debug = 1.
1 Like