pub fn encode_set_validator_config_and_reconfigure_script(
    validator_account: AccountAddress,
    consensus_pubkey: Vec<u8>,
    validator_network_identity_pubkey: Vec<u8>,
    validator_network_address: Vec<u8>,
    fullnodes_network_identity_pubkey: Vec<u8>,
    fullnodes_network_address: Vec<u8>,
) -> Script {
    Script::new(
        SET_VALIDATOR_CONFIG_AND_RECONFIGURE_CODE.to_vec(),
        vec![],
        vec![
            TransactionArgument::Address(validator_account),
            TransactionArgument::U8Vector(consensus_pubkey),
            TransactionArgument::U8Vector(validator_network_identity_pubkey),
            TransactionArgument::U8Vector(validator_network_address),
            TransactionArgument::U8Vector(fullnodes_network_identity_pubkey),
            TransactionArgument::U8Vector(fullnodes_network_address),
        ],
    )
}
/// Set validator's config and updates the config in the validator set.
/// NewEpochEvent is emitted.
Set validator's config and updates the config in the validator set.
Set validator ' s config and updates the config in the validator set .
pub fn encode_set_validator_config_and_reconfigure_script(
    validator_account: AccountAddress,
    consensus_pubkey: Vec<u8>,
    validator_network_identity_pubkey: Vec<u8>,
    validator_network_address: Vec<u8>,
    fullnodes_network_identity_pubkey: Vec<u8>,
    fullnodes_network_address: Vec<u8>,
) -> Script {
    Script::new(
        SET_VALIDATOR_CONFIG_AND_RECONFIGURE_CODE.to_vec(),
        vec![],
        vec![
            TransactionArgument::Address(validator_account),
            TransactionArgument::U8Vector(consensus_pubkey),
            TransactionArgument::U8Vector(validator_network_identity_pubkey),
            TransactionArgument::U8Vector(validator_network_address),
            TransactionArgument::U8Vector(fullnodes_network_identity_pubkey),
            TransactionArgument::U8Vector(fullnodes_network_address),
        ],
    )
}
pub fn encode_set_validator_config_and_reconfigure_script ( validator_account : AccountAddress , consensus_pubkey : Vec < u8 > , validator_network_identity_pubkey : Vec < u8 > , validator_network_address : Vec < u8 > , fullnodes_network_identity_pubkey : Vec < u8 > , fullnodes_network_address : Vec < u8 > , ) -> Script { Script :: new ( SET_VALIDATOR_CONFIG_AND_RECONFIGURE_CODE . to_vec ( ) , vec ! [ ] , vec ! [ TransactionArgument Address ( validator_account ) TransactionArgument U8Vector ( consensus_pubkey ) TransactionArgument U8Vector ( validator_network_identity_pubkey ) TransactionArgument U8Vector ( validator_network_address ) TransactionArgument U8Vector ( fullnodes_network_identity_pubkey ) TransactionArgument U8Vector ( fullnodes_network_address ) ] , ) }
Set validator's config and updates the config in the validator set.
Set validator ' s config and updates the config in the validator set .
validator_account
AccountAddress
consensus_pubkey
Vec<u8>
validator_network_identity_pubkey
Vec<u8>
validator_network_address
Vec<u8>
fullnodes_network_identity_pubkey
Vec<u8>
fullnodes_network_address
Vec<u8>
validator_account
AccountAddress
consensus_pubkey
Vec<u8>
validator_network_identity_pubkey
Vec<u8>
validator_network_address
Vec<u8>
fullnodes_network_identity_pubkey
Vec<u8>
fullnodes_network_address
Vec<u8>