Closed so-schen closed 2 weeks ago
This issue is stale because it has been open 45 days with no activity. Remove the stale
label or comment - otherwise this will be closed in 15 days.
This issue is stale because it has been open 45 days with no activity. Remove the stale
label or comment - otherwise this will be closed in 15 days.
🐛 Bug
Regarding,
while in Rust
in .
consensus_public_key
ofValidatorConfig
resource defined in Move contract is vectortypes
crate, it has typebls12381::PublicKey
inaptos
crate, it as VecTo 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