Skip to content

Commit

Permalink
feat: update tests with proxy pub keys
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Aug 20, 2024
1 parent b1a57c0 commit e07be57
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/msgs/data_requests/execute_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ fn json_commit_result() {
"commit_data_result": {
"dr_id": "dr_id",
"commitment": "commitment",
"proxy_public_keys": ["proxy_public_key"],
"public_key": "public_key",
"proof": "proof"
}
});
let msg: ExecuteMsg = commit_result::Execute {
dr_id: "dr_id".to_string(),
commitment: "commitment".to_string(),
public_key: "public_key".to_string(),
proof: "proof".to_string(),
dr_id: "dr_id".to_string(),
commitment: "commitment".to_string(),
proxy_public_keys: vec!["proxy_public_key".to_string()],
public_key: "public_key".to_string(),
proof: "proof".to_string(),
}
.into();
#[cfg(not(feature = "cosmwasm"))]
Expand Down Expand Up @@ -121,6 +123,7 @@ fn json_reveal_result() {
exit_code: 0,
gas_used,
reveal: reveal.clone(),
proxy_public_keys: vec!["proxy_public_key".to_string()],
};
let expected_json = json!({
"reveal_data_result": {
Expand All @@ -130,6 +133,7 @@ fn json_reveal_result() {
"exit_code": 0,
"gas_used": gas_used.to_string(),
"reveal": reveal,
"proxy_public_keys": ["proxy_public_key"]
},
"public_key": "public_key",
"proof": "proof",
Expand Down

0 comments on commit e07be57

Please sign in to comment.