[Bug] ValidatorConfig inconsistency between Move type, aptos
crate and types
crate
#13152
Labels
bug
Something isn't working
aptos
crate and types
crate
#13152
馃悰 Bug
Regarding
consensus_public_key
ofValidatorConfig
resource defined in Move contract is vector,while in Rust
in
types
crate, it has typebls12381::PublicKey
in
aptos
crate, it as Vec.To reproduce
If before calling rotate consensus key, we try to read ValidatorConfig on-chain, it will fail to deserailze because it is initialized as empty vector, while we try to deserialize into
bls12381::PublicKey
Expected Behavior
should update
ValidatorConfig
intypes
consistent with Move type, andaptos
cli crate can reuse same type to avoid confusionSystem information
version v.1.10, should also exist in latest codes
The text was updated successfully, but these errors were encountered: