Skip to content

Commit

Permalink
update bridge refunder
Browse files Browse the repository at this point in the history
  • Loading branch information
Primata committed Nov 13, 2024
1 parent 4be8c41 commit b80ae86
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion protocol-units/bridge/setup/src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ pub fn deploy_on_movement_framework(config: &mut MovementConfig) -> Result<(), a

if !update_bridge_operator_output.stdout.is_empty() {
println!(
"run-script update_bridge_operatorstdout: {}",
"run-script update_bridge_operator_stdout: {}",
String::from_utf8_lossy(&update_bridge_operator_output.stdout)
);
}
Expand All @@ -344,6 +344,35 @@ pub fn deploy_on_movement_framework(config: &mut MovementConfig) -> Result<(), a
);
}

let update_refunder_output = Command::new("movement")
.args(&[
"move",
"run-script",
"--compiled-script-path",
"protocol-units/bridge/move-modules/build/bridge-modules/bytecode_scripts/update_refunder.mv",
"--args",
"address:0xf90391c81027f03cdea491ed8b36ffaced26b6df208a9b569e5baf2590eb9b16",
"--profile",
"default",
"--assume-yes",
])
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.output()?;

if !update_refunder_output.stdout.is_empty() {
println!(
"run-script update_refunder_stdout: {}",
String::from_utf8_lossy(&update_refunder_output.stdout)
);
}
if !update_refunder_output.stderr.is_empty() {
eprintln!(
"run-script update_refunder supdate_refunder tderr: {}",
String::from_utf8_lossy(&update_refunder_output.stderr)
);
}

let set_initiator_time_lock_script_output = Command::new("movement")
.args(&[
"move",
Expand Down

0 comments on commit b80ae86

Please sign in to comment.