Okay, I have tried to re-test stuff at testnet. How nice that the contract with matching key is already deployed and is clean.
While testing found out another bug: dnsresolve(www.test.com
, 1) returns (96, Cell), okay. But using category 2 returns 0 length (should return 96).
Also, the thing that you tried does not work with your contract.
Seqno is increased, but the new entry is not in the tree.
You are ignoring the fact that pfxdict_set may silently fail actually.
From the screenshots we can see that after registering www.test.com
silently fails registration.
Moreover, we can see from the tree that there is really no such entry.
You can inspect the transaction here: https://test.ton.org/testnet/transaction?account=0f9Tm2SKKVs0X1W_4F1B7oyNinPacm5PePpF-K2IP9W_ttko<=1179565000001&hash=F2233B6C15253B36CE450B969A380354DF2B49C623193C9CE8753801BB35E97E