Closed Ryun1 closed 11 months ago
Hi @Ryun1 ! We will name it as Credential
. StakeCredential
is old legacy name and the new Credential
will be a new name for StakeCredential
because we use it as a common type.
StakeCredential was renamed to Credential in 12.0.0-alpha.4
Using Conway Alpha Build: @emurgo/cardano-serialization-lib-nodejs@12.0.0-alpha.3 Based on Draft Conway Ledger design CDDL at commit: 1beddd3d9f10d8fcb163b5e83985c4bac6b74be7
Describe the bug
DrepDeregistration
,DrepRegistration
,DrepUpdate
using.new()
..voting_credential()
on aDrepDeregistration
,DrepRegistration
orDrepUpdate
.voting_credential
is expected to be of typeStakeCredential
.Expected behaviour
voting_credential
is also outdated to match an older CDDL design and the latest naming isdrep_credential
.