Skip to content

Commit f806087

Browse files
committed
test(sdk): regenerate test vectors
1 parent 75eb334 commit f806087

File tree

322 files changed

+62
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+62
-63
lines changed

packages/rs-sdk/tests/fetch/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl Config {
225225
// Next time we need to do it again and update this value :(. This is terrible.
226226
// We should automate creation of identity for SDK tests when we have time.
227227
Identifier::from_string(
228-
"G1vdreUUxFAmt3bd2kJmV8idrhPCvRQis4cQfRQayWW2",
228+
"G5z3hwiLUnRDGrLEgcqM9sX8wWEuNGHQqvioERgdZ2Tq",
229229
Encoding::Base58,
230230
)
231231
.unwrap()
@@ -252,7 +252,7 @@ impl Config {
252252
///
253253
/// See documentation of [contested_resource_identity_votes_ok](super::contested_resource_identity_votes::contested_resource_identity_votes_ok).
254254
fn default_protxhash() -> String {
255-
String::from("208a6f71a8b68d20485d568d3039124c5b930d893e73a23774081de0be6e30dd")
255+
String::from("069dcb6e829988af0edb245f30d3b1297a47081854a78c3cdea9fddb8fbd07eb")
256256
}
257257

258258
/// Return ProTxHash of an existing evo node, or None if not set

packages/rs-sdk/tests/fetch/contested_resource_identity_votes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async fn contested_resource_identity_votes_not_found() {
6767
/// * enter `ProRegTx transaction ID` and `Owner Private Key` from step 1.
6868
/// * top up the identity balance using `t - Identity top up` option (1 DASH will be OK).
6969
/// * exit Wallet screen using `q - Back to Main`
70-
///t
70+
///
7171
/// 3. Vote for some contested resource using the masternode identity:
7272
///
7373
/// * select `csnq`: `c - Contracts` -> `s - Fetch system contract` -> `n - Fetch DPNS contract` -> `q - Back to Contracts `

packages/rs-sdk/tests/fetch/contested_resource_vote_state.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ async fn contested_resource_vote_states_nx_contract() {
107107
if let dash_sdk::error::Error::DapiClientError(e) = result {
108108
assert!(
109109
e.contains(
110-
"Transport(Status { code: InvalidArgument, message: \"contract not found error"
110+
"Transport(Grpc(Status { code: InvalidArgument, message: \"contract not found error"
111111
),
112-
"we should get contract not found error"
112+
"we should get contract not found error, got: {:?}",
113+
e,
113114
);
114115
} else {
115116
panic!("expected 'contract not found' transport error");

packages/rs-sdk/tests/fetch/data_contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async fn test_data_contracts_2_nx() {
135135
async fn test_data_contract_history_read() {
136136
let cfg = Config::new();
137137
let id = Identifier::from_string(
138-
"d915a19b173d43a2a375132fcc8009c5a9dd9cb63b1a0bdabd69e4c38cbea664",
138+
"eacc9ceb6c11ee1ae82afb5590d78d686f43bc0f0e0cd65de1e23c150e41f97f",
139139
Encoding::Hex,
140140
)
141141
.unwrap();
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
90e4366ffd8062dfcd46717d137c9c6c8c312c2622f508c6f3e713f256b7786c3ed8382b2f5fa9710fe592b668a4313a

packages/rs-sdk/tests/vectors/check_mn_voting_prerequisities/quorum_pubkey-106-6599ea71a00d9d0e4aa310f02e0c6e1c1f190ed37d4da4d0346ac6803822fbef.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)