dhiway / cord.go

cord.go is the SDK for the CORD Blockchain in Golang
Apache License 2.0
2 stars 1 forks source link

Error on calling Did.create #15

Open kartikaysaxena opened 1 month ago

kartikaysaxena commented 1 month ago

While calling Did.create using centrifuge/go-substrate-rpc-client the following error is received,

Screenshot 2024-09-17 at 1 22 48 PM

which is also a common error in the client (they are fixing it here)

in the library the error is as follows,

Screenshot 2024-09-17 at 1 30 17 PM

The params are being passed as bytes to the call like

Screenshot 2024-09-17 at 1 21 18 PM

Similar to the cord.js counterpart

Screenshot 2024-09-17 at 1 22 11 PM

Only one difference is visible that the second param which is passed is similar to a map in Go, but it is currently unsupported by the client

Screenshot 2024-09-17 at 1 24 42 PM

I have tried to pass it via custom json encoding but it gives the same error.