sporeprotocol / dob-decoder-standalone-server

2 stars 6 forks source link

You cannot decode using server, but direct calls to rust using spore-dob-0 do #19

Open mrqinxd opened 3 months ago

mrqinxd commented 3 months ago

First I used this cluster pattern: [["URL", "String", 0, 23, "utf8"]] Second, I encrypt the "http://127.0.0.1:8090" string in base 26 (and make sure the dna len is even). finally Also used the code_hash_1c84212ebd817e9de09d2a79f85cc421b684eda63409cfa75688f98716e77b5f. Bin (from https://docs.spore.pro/dob0/protoco l in CKB Testnet)

Disappointing: Sending jsonrpc through DOB-Decoder-Standalone-Server gives me an error: {"code":1017,"message":"Server error"} But the strange thing is: I use the spore - dob - 0 the lib (https://github.com/sporeprotocol/spore-dob-0/tree/master). The rs test can give to the corresponding results Since Standalone-Server only has a 1017 I can not locate what is the problem I want to know if there is an error in my dna encryption

X7eeb19697e317d54ffaa5d1029580e0c078be47465ea3fa512593d8d8d21e211 sporeID: 0 content:{\"dna\":\"687474703a2f2f3132372e302e302e313a3830393000\"} help me,thanks

mrqinxd commented 3 months ago

base 16

mrqinxd commented 3 months ago

DECODE RESULT (7) errorcode:SchemaTypeMismatch but Where did the SchemaTypeMismatch error come from that I didn't see in the code?