Skip to content

Commit

Permalink
fix: test after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Aug 20, 2024
1 parent 668e37b commit f3571a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/msgs/data_requests/types_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,22 @@ fn json_reveal_body() {
let reveal = "reveal".to_string();
#[cfg(feature = "cosmwasm")]
let reveal: Bytes = "reveal".as_bytes().into();
let proxy_public_keys = vec!["key1".to_string(), "key2".to_string()];

let expected_json = json!({
"salt": salt,
"exit_code": exit_code,
"gas_used": gas_used,
"reveal": reveal,
"proxy_public_keys": proxy_public_keys,
});

let msg = RevealBody {
salt,
exit_code,
gas_used,
reveal,
proxy_public_keys,
};

#[cfg(not(feature = "cosmwasm"))]
Expand Down

0 comments on commit f3571a0

Please sign in to comment.