Skip to content

Commit

Permalink
test: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Dec 8, 2024
1 parent 3f79680 commit 0551279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/pop-parachains/src/call/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ mod tests {
async fn encode_call_data_works() -> Result<()> {
let client = set_up_client("wss://rpc1.paseo.popnetwork.xyz").await?;
let pallets = parse_chain_metadata(&client).await?;
let remark = find_extrinsic_by_name(&pallets, "Balances", "remark").await?;
let remark = find_extrinsic_by_name(&pallets, "System", "remark").await?;
let extrinsic = construct_extrinsic("System", &remark, vec!["0x11".to_string()]).await?;
assert_eq!(encode_call_data(&client, &extrinsic)?, "0x00000411");
let extrinsic = construct_extrinsic("System", &remark, vec!["123".to_string()]).await?;
Expand Down

0 comments on commit 0551279

Please sign in to comment.