Skip to content

Commit 36a3732

Browse files
committed
test(eth-xrp): Switch back to BTP
1 parent 69148b4 commit 36a3732

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

crates/interledger-settlement-engines/tests/eth_xrp_interoperable.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn eth_xrp_interoperable() {
144144
http_incoming_token: Some("bob".to_string()),
145145
http_outgoing_token: Some("alice".to_string()),
146146
max_packet_amount: u64::max_value(),
147-
min_balance: Some(-100000),
147+
min_balance: Some(-100_000),
148148
settle_threshold: Some(70000),
149149
settle_to: Some(-1000),
150150
send_routes: true,
@@ -186,7 +186,7 @@ fn eth_xrp_interoperable() {
186186
http_incoming_token: Some("alice".to_string()),
187187
http_outgoing_token: Some("bob".to_string()),
188188
max_packet_amount: u64::max_value(),
189-
min_balance: Some(-100000),
189+
min_balance: Some(-100_000),
190190
settle_threshold: None,
191191
settle_to: None,
192192
send_routes: true,
@@ -203,11 +203,11 @@ fn eth_xrp_interoperable() {
203203
ilp_address: Address::from_str("example.bob.charlie").unwrap(),
204204
asset_code: "XRP".to_string(),
205205
asset_scale: XRP_DECIMALS,
206-
btp_incoming_token: None,
206+
btp_incoming_token: Some("charlie".to_string()),
207207
btp_uri: None,
208-
http_endpoint: Some(format!("http://localhost:{}/ilp", node3_http)),
209-
http_incoming_token: Some("charlie".to_string()),
210-
http_outgoing_token: Some("bob".to_string()),
208+
http_endpoint: None,
209+
http_incoming_token: None,
210+
http_outgoing_token: None,
211211
max_packet_amount: u64::max_value(),
212212
min_balance: Some(-100),
213213
settle_threshold: Some(70000),
@@ -268,9 +268,9 @@ fn eth_xrp_interoperable() {
268268
asset_scale: XRP_DECIMALS,
269269
btp_incoming_token: None,
270270
btp_uri: None,
271-
http_endpoint: Some(format!("http://localhost:{}/ilp", node3_http)),
271+
http_endpoint: None,
272272
http_incoming_token: Some("in_charlie".to_string()),
273-
http_outgoing_token: Some("out_charlie".to_string()),
273+
http_outgoing_token: None,
274274
max_packet_amount: u64::max_value(),
275275
min_balance: None,
276276
settle_threshold: None,
@@ -290,12 +290,12 @@ fn eth_xrp_interoperable() {
290290
asset_code: "XRP".to_string(),
291291
asset_scale: XRP_DECIMALS,
292292
btp_incoming_token: None,
293-
btp_uri: None,
294-
http_endpoint: Some(format!("http://localhost:{}/ilp", node2_http)),
295-
http_incoming_token: Some("bob".to_string()),
296-
http_outgoing_token: Some("charlie".to_string()),
293+
btp_uri: Some(format!("btp+ws://:charlie@localhost:{}", node2_btp)),
294+
http_endpoint: None,
295+
http_incoming_token: None,
296+
http_outgoing_token: None,
297297
max_packet_amount: u64::max_value(),
298-
min_balance: Some(-100000),
298+
min_balance: Some(-100_000),
299299
settle_threshold: None,
300300
settle_to: None,
301301
send_routes: true,

0 commit comments

Comments
 (0)