From 7428bba9613a1f76acf82ab0662b641391de8ad5 Mon Sep 17 00:00:00 2001 From: Harsh Bajpai Date: Tue, 17 Oct 2023 19:38:17 +0530 Subject: [PATCH] dev: remove unused code + fix casing --- crates/contracts/src/kakarot_core/kakarot.cairo | 2 +- crates/contracts/src/tests/test_upgradeable.cairo | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/crates/contracts/src/kakarot_core/kakarot.cairo b/crates/contracts/src/kakarot_core/kakarot.cairo index dab9bfb35..22fbb755d 100644 --- a/crates/contracts/src/kakarot_core/kakarot.cairo +++ b/crates/contracts/src/kakarot_core/kakarot.cairo @@ -43,7 +43,7 @@ mod KakarotCore { impl OwnableInternalImpl = ownable_component::InternalImpl; - impl upgradeableImpl = upgradeable_component::Upgradeable; + impl UpgradeableImpl = upgradeable_component::Upgradeable; #[storage] struct Storage { diff --git a/crates/contracts/src/tests/test_upgradeable.cairo b/crates/contracts/src/tests/test_upgradeable.cairo index e25828696..e418b89b3 100644 --- a/crates/contracts/src/tests/test_upgradeable.cairo +++ b/crates/contracts/src/tests/test_upgradeable.cairo @@ -42,14 +42,6 @@ mod MockContractUpgradeableV0 { } } -type TestingState = upgradeable_component::ComponentState; - -impl TestingStateDefault of Default { - fn default() -> TestingState { - upgradeable_component::component_state_for_testing() - } -} - #[starknet::contract] mod MockContractUpgradeableV1 { use contracts::components::upgradeable::{upgradeable_component};