From e07be57ce55e74453f4c34044a655744cb559474 Mon Sep 17 00:00:00 2001 From: gluax <16431709+gluax@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:37:49 -0700 Subject: [PATCH] feat: update tests with proxy pub keys --- src/msgs/data_requests/execute_tests.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/msgs/data_requests/execute_tests.rs b/src/msgs/data_requests/execute_tests.rs index aa6c288..614a821 100644 --- a/src/msgs/data_requests/execute_tests.rs +++ b/src/msgs/data_requests/execute_tests.rs @@ -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"))] @@ -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": { @@ -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",