From 5e13c759d2cb5200a3ea1dfd45706fd361b79f74 Mon Sep 17 00:00:00 2001 From: Ruediger Birkner Date: Tue, 4 Jun 2024 14:04:43 +0200 Subject: [PATCH] fixes --- rs/cli/Cargo.toml | 1 + rs/cli/src/ic_admin.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rs/cli/Cargo.toml b/rs/cli/Cargo.toml index 38c43cf3c..65e43e39d 100644 --- a/rs/cli/Cargo.toml +++ b/rs/cli/Cargo.toml @@ -79,6 +79,7 @@ ic-base-types = { workspace = true } ic-management-types = { workspace = true } url = { workspace = true } ic-nns-governance = { workspace = true } +ic-registry-keys = { workspace = true } [[bin]] name = "dre" diff --git a/rs/cli/src/ic_admin.rs b/rs/cli/src/ic_admin.rs index 9d649a47d..9e5655c34 100644 --- a/rs/cli/src/ic_admin.rs +++ b/rs/cli/src/ic_admin.rs @@ -676,7 +676,7 @@ must be identical, and must match the SHA256 from the payload of the NNS proposa &self, network: &Network, propose_options: ProposeOptions, - firewall_rules_scope: FirewallRulesScope, + firewall_rules_scope: &FirewallRulesScope, simulate: bool, ) -> Result<(), Error> { let local_registry_path = local_registry_path(network); @@ -768,7 +768,7 @@ must be identical, and must match the SHA256 from the payload of the NNS proposa admin_wrapper: &IcAdminWrapper, modifications: Vec, propose_options: ProposeOptions, - firewall_rules_scope: FirewallRulesScope, + firewall_rules_scope: &FirewallRulesScope, simulate: bool, ) -> anyhow::Result<()> { let positions = modifications.iter().map(|modif| modif.position).join(",");