If I understand your question correctly you want to take m/0h public extended key:
and derive m/0h/1 public extended key?
These are my values:
What are the last bytes? (0a794dec)
In the next operation (HMAC-SHA512) I used the chain code obtained, the key and the next depth (80000002), but I'm not sure.
Yep, that's it : I can see you also prepanded the 0x00 (because serialized privkeys are 32 bytes while serialized compressed public keys are 33 bytes).
I got a 64 bytes result: ...
From bitcoin-cli help decodescript:
"asm":"asm", (string) Script public key
"type":"type", (string) The output type (e.g. nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_scripthash, witness_v0_keyhash, witness_unknown)
"reqSigs": n, (numeric) The required signatures
"addresses": [ (json ...