From a7a33a6414bba020485b3227e0cc214802f4aad7 Mon Sep 17 00:00:00 2001 From: Bohdan Khorolets Date: Tue, 13 Sep 2022 19:04:22 +0300 Subject: [PATCH] refactor: base64::encode args manually since it is not encoded on nearcore side anymore (#306) --- src/models/serializers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/serializers.rs b/src/models/serializers.rs index 32565019..5ffd3c1f 100644 --- a/src/models/serializers.rs +++ b/src/models/serializers.rs @@ -82,7 +82,7 @@ pub(crate) fn extract_action_type_and_value_from_action_view( } => { let mut arguments = json!({ "method_name": method_name.escape_default().to_string(), - "args_base64": args, + "args_base64": base64::encode(&args), "gas": gas, "deposit": deposit.to_string(), });