From 17a6d00dc76917ea3e8435ef4fe0b250dbc67aea Mon Sep 17 00:00:00 2001 From: runtianz Date: Wed, 7 Dec 2022 13:46:36 -0800 Subject: [PATCH] fixup! [aptos-release-tooling] Add an option to compare release binary with on chain configs --- aptos-move/aptos-release-builder/src/components/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aptos-move/aptos-release-builder/src/components/mod.rs b/aptos-move/aptos-release-builder/src/components/mod.rs index dde371cfae9aa..4e6bd467a2646 100644 --- a/aptos-move/aptos-release-builder/src/components/mod.rs +++ b/aptos-move/aptos-release-builder/src/components/mod.rs @@ -77,7 +77,7 @@ impl ReleaseConfig { } if let Some(gas_schedule) = &self.gas_schedule { - if !fetch_and_compare::(&client, &gas_schedule)? { + if !fetch_and_compare::(&client, gas_schedule)? { result.append(&mut gas::generate_gas_upgrade_proposal( gas_schedule, self.testnet, @@ -86,7 +86,7 @@ impl ReleaseConfig { } if let Some(version) = &self.version { - if !fetch_and_compare::(&client, &version)? { + if !fetch_and_compare::(&client, version)? { result.append(&mut version::generate_version_upgrade_proposal( version, self.testnet,