From ba340ed08f800b8ac2d58ee95bb87c44443b7f54 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Sat, 4 May 2024 12:43:54 -0700 Subject: [PATCH] fixup! WIP: new approach to declaring parameter changes in governance --- crates/core/component/governance/src/change.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/core/component/governance/src/change.rs b/crates/core/component/governance/src/change.rs index 0d11fd8c74..be7ce252ca 100644 --- a/crates/core/component/governance/src/change.rs +++ b/crates/core/component/governance/src/change.rs @@ -82,14 +82,9 @@ pub fn apply_changes( ) })?; - dbg!(&change); - let new_value = serde_json::Value::from_str(&change.value) .context("could not decode new value as JSON value")?; - dbg!(&new_value); - dbg!(component.get(&change.key)); - // We want to insert into the map to handle the case where the existing value // is missing (e.g., it had a default value and so was not encoded) component.insert(change.key.clone(), new_value);