Skip to content

Commit c4c7c18

Browse files
author
Peregrine Von Vivace
committed
rename migrate tx to re-join
1 parent ebf065b commit c4c7c18

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tools/testnet/tests/test_swarm_twin_v7_can_submit_tx.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use libra_smoke_tests::libra_smoke::LibraSmoke;
44
use libra_testnet::twin_swarm;
55
use libra_txs::{
66
txs_cli::{TxsCli, TxsSub},
7-
txs_cli_user::UserTxs::HumanFounder,
7+
txs_cli_user::UserTxs::ReJoin,
88
};
99

1010
/// Checks we can submit the minimal transaction to the twin network
@@ -27,7 +27,7 @@ async fn test_swarm_twin_v7_upgrade_tx_success() -> anyhow::Result<()> {
2727
let val_one = &test_info[0];
2828

2929
let txs_cli = TxsCli {
30-
subcommand: Some(TxsSub::User(HumanFounder)),
30+
subcommand: Some(TxsSub::User(ReJoin)),
3131
config_path: Some(val_one.app_cfg_path.clone()),
3232
..Default::default()
3333
};

tools/testnet/tests/test_swarm_twin_v7_upgrade_new_epoch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use libra_testnet::twin_swarm;
55
use libra_txs::txs_cli_governance::GovernanceTxs::EpochBoundary;
66
use libra_txs::{
77
txs_cli::{TxsCli, TxsSub},
8-
txs_cli_user::UserTxs::HumanFounder,
8+
txs_cli_user::UserTxs::ReJoin,
99
};
1010

1111
/// Checks that we can change epoch after a twin network is set
@@ -28,7 +28,7 @@ async fn test_swarm_twin_v7_upgrade_new_epoch() -> anyhow::Result<()> {
2828

2929
// reactivate the validator account
3030
let mut txs_cli = TxsCli {
31-
subcommand: Some(TxsSub::User(HumanFounder)),
31+
subcommand: Some(TxsSub::User(ReJoin)),
3232
config_path: Some(val_one.app_cfg_path.clone()),
3333
..Default::default()
3434
};

tools/txs/src/txs_cli_user.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub enum UserTxs {
2424
SetSlow(SetSlowTx),
2525
RotationCapability(RotationCapabilityTx),
2626
RotateKey(RotateKeyTx),
27-
HumanFounder,
27+
ReJoin,
2828
Vouch(VouchTx),
2929
}
3030

@@ -54,7 +54,7 @@ impl UserTxs {
5454
}
5555
}
5656
}
57-
UserTxs::HumanFounder => {
57+
UserTxs::ReJoin => {
5858
println!("Migrating v7 account...");
5959
let payload = libra_stdlib::filo_migration_maybe_migrate();
6060
sender.sign_submit_wait(payload).await?;

0 commit comments

Comments
 (0)