File tree Expand file tree Collapse file tree 9 files changed +17
-17
lines changed
cmd/soroban-cli/src/commands/tx Expand file tree Collapse file tree 9 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -25,7 +25,7 @@ pub enum Error {
25
25
26
26
impl Cmd {
27
27
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
28
- let mut tx = tx_envelope_from_stdin ( ) ?;
28
+ let mut tx = tx_envelope_from_input ( & None ) ?;
29
29
self . update_tx_env ( & mut tx, global_args) ?;
30
30
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
31
31
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
xdr:: {
7
7
self ,
@@ -28,7 +28,7 @@ pub enum Error {
28
28
29
29
impl Cmd {
30
30
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
31
- let mut tx = tx_envelope_from_stdin ( ) ?;
31
+ let mut tx = tx_envelope_from_input ( & None ) ?;
32
32
self . update_tx_env ( & mut tx, global_args) ?;
33
33
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
34
34
Ok ( ( ) )
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
commands:: {
3
3
global,
4
- tx:: xdr:: { tx_envelope_from_stdin , Error as XdrParsingError } ,
4
+ tx:: xdr:: { tx_envelope_from_input , Error as XdrParsingError } ,
5
5
} ,
6
6
config:: { address, UnresolvedMuxedAccount } ,
7
7
xdr:: {
@@ -31,7 +31,7 @@ pub enum Error {
31
31
32
32
impl Cmd {
33
33
pub fn run ( & self , global_args : & global:: Args ) -> Result < ( ) , Error > {
34
- let mut tx = tx_envelope_from_stdin ( ) ?;
34
+ let mut tx = tx_envelope_from_input ( & None ) ?;
35
35
self . update_tx_env ( & mut tx, global_args) ?;
36
36
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
37
37
Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ pub struct Cmd {
104
104
105
105
impl Cmd {
106
106
pub fn run ( & self , global : & global:: Args ) -> Result < ( ) , Error > {
107
- let mut tx = super :: xdr:: tx_envelope_from_stdin ( ) ?;
107
+ let mut tx = super :: xdr:: tx_envelope_from_input ( & None ) ?;
108
108
self . update_tx_env ( & mut tx, global) ?;
109
109
println ! ( "{}" , tx. to_xdr_base64( xdr:: Limits :: none( ) ) ?) ;
110
110
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments