fix fetching metadata and typegen
Compare changes
To fetch metadata we can now use the 9944 port directly which supports both http and websocket API.
In the package.json
, the escape sequence was breaking curl command.
I also ran typegen against a more recent version of the runtime because I'm targeting develop
branch that should be used on a recent build (we should fix nodes/rust/duniter-v2s#195 (closed) to allow easy develop environment with docker instead of fresh binary).
But the master
branch should run npm run get:meta:prod
which uses the current runtime available on the gdev network using the current API.
To summarize:
/http
and /ws
path respectively