Skip to content

Commit

Permalink
dev: remove unused code + fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh Bajpai authored and Harsh Bajpai committed Oct 17, 2023
1 parent 71262af commit 7428bba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion crates/contracts/src/kakarot_core/kakarot.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mod KakarotCore {

impl OwnableInternalImpl = ownable_component::InternalImpl<ContractState>;

impl upgradeableImpl = upgradeable_component::Upgradeable<ContractState>;
impl UpgradeableImpl = upgradeable_component::Upgradeable<ContractState>;

#[storage]
struct Storage {
Expand Down
8 changes: 0 additions & 8 deletions crates/contracts/src/tests/test_upgradeable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ mod MockContractUpgradeableV0 {
}
}

type TestingState = upgradeable_component::ComponentState<MockContractUpgradeableV0::ContractState>;

impl TestingStateDefault of Default<TestingState> {
fn default() -> TestingState {
upgradeable_component::component_state_for_testing()
}
}

#[starknet::contract]
mod MockContractUpgradeableV1 {
use contracts::components::upgradeable::{upgradeable_component};
Expand Down

0 comments on commit 7428bba

Please sign in to comment.