Skip to content

Commit

Permalink
fixes for test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Nov 29, 2024
1 parent 4e521dd commit 1f582d1
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 25 deletions.
6 changes: 3 additions & 3 deletions clients/vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ tempdir.workspace = true
runtime = { path = "../runtime", features = ["testing-utils", "standalone-metadata"] }
wallet = { path = "../wallet", features = ["testing-utils"] }

sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sp-keyring = { workspace = true, default-features = true }
sp-arithmetic = { workspace = true, default-features = true }

# Substrate dependencies
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
frame-support = { workspace = true, default-features = true }
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"is_pub_net": true
},
"stellar_history_archive_urls": [
"http://history.stellar.org/prd/core-live/core_live_001",
"http://history.stellar.org/prd/core-live/core_live_002",
"http://history.stellar.org/prd/core-live/core_live_003",
"https://stellar-history-de-fra.satoshipay.io",
"https://stellar-history-sg-sin.satoshipay.io",
"https://stellar-history-us-iowa.satoshipay.io"
"https://hercules-history.publicnode.org"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"is_pub_net": true
},
"stellar_history_archive_urls": [
"http://history.stellar.org/prd/core-live/core_live_001",
"http://history.stellar.org/prd/core-live/core_live_002",
"http://history.stellar.org/prd/core-live/core_live_003",
"https://stellar-history-de-fra.satoshipay.io",
"https://stellar-history-sg-sin.satoshipay.io",
"https://stellar-history-us-iowa.satoshipay.io"
"https://hercules-history.publicnode.org"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"connection_info": {
"address": "37.27.162.12",
"port": 11625
},
"node_info": {
"ledger_version": 22,
"overlay_version": 35,
"overlay_min_version": 33,
"version_str": "stellar-core 22.0.0 (721fd0a654d5e82d38c748a91053e530a475193d)",
"is_pub_net": true
},
"stellar_history_archive_urls": [
"https://hercules-history.publicnode.org"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"is_pub_net": true
},
"stellar_history_archive_urls": [
"http://history.stellar.org/prd/core-live/core_live_001",
"http://history.stellar.org/prd/core-live/core_live_002",
"http://history.stellar.org/prd/core-live/core_live_003",
"https://stellar-history-de-fra.satoshipay.io",
"https://stellar-history-sg-sin.satoshipay.io",
"https://stellar-history-us-iowa.satoshipay.io"
"https://hercules-history.publicnode.org"
]
}
3 changes: 2 additions & 1 deletion clients/vault/src/oracle/testing_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ pub fn specific_stellar_relay_config(

fn stellar_relay_config_choices(is_mainnet: bool) -> (Vec<&'static str>, &'static str) {
let node_points = if is_mainnet {
vec!["iowa", "singapore", "frankfurt"]
// vec!["iowa", "singapore", "frankfurt"]
vec!["other"] // temporarily force use this node, others seem to be overloaded
} else {
vec!["sdftest1", "sdftest2", "sdftest3"]
};
Expand Down
3 changes: 0 additions & 3 deletions clients/wallet/src/horizon/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ pub struct TransactionResponse {
#[serde(deserialize_with = "de_str_to_bytes")]
pub result_xdr: Vec<u8>,
#[serde(deserialize_with = "de_str_to_bytes")]
pub result_meta_xdr: Vec<u8>,
#[serde(deserialize_with = "de_str_to_bytes")]
pub fee_meta_xdr: Vec<u8>,
#[serde(deserialize_with = "de_str_to_bytes")]
pub memo_type: Vec<u8>,
Expand Down Expand Up @@ -236,7 +234,6 @@ impl Debug for TransactionResponse {
.field("operation_count", &self.operation_count)
.field("envelope_xdr", &debug_str_or_vec_u8!(&self.envelope_xdr))
.field("result_xdr", &debug_str_or_vec_u8!(&self.result_xdr))
.field("result_meta_xdr", &debug_str_or_vec_u8!(&self.result_meta_xdr))
.field("memo_type", &debug_str_or_vec_u8!(&self.memo_type))
.field("memo", &memo)
.finish()
Expand Down

0 comments on commit 1f582d1

Please sign in to comment.