Skip to content

Commit

Permalink
tidy up code
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Nov 7, 2024
1 parent c009fc0 commit 0454b1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/upgrades/src/tests/test_upgradeable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use openzeppelin_test_common::mocks::upgrades::{IUpgradesV1Dispatcher, IUpgrades
use openzeppelin_test_common::mocks::upgrades::{IUpgradesV2Dispatcher, IUpgradesV2DispatcherTrait};
use openzeppelin_test_common::upgrades::UpgradeableSpyHelpers;
use openzeppelin_testing as utils;
use openzeppelin_testing::common::IntoBase16String;
use openzeppelin_testing::constants::{CLASS_HASH_ZERO, FELT_VALUE as VALUE};
use openzeppelin_testing::{declare_class, deploy};
use snforge_std::{spy_events, ContractClass};
Expand Down Expand Up @@ -149,6 +148,5 @@ fn test_upgrade_and_call_with_removed_selector() {
let calldata = array![];

// We use the v1 dispatcher because `remove_selector` is not in v2 interface
//let safe_dispatcher = IUpgradesV1SafeDispatcher { contract_address: v1.contract_address };
v1.upgrade_and_call(v2_class.class_hash, removed_selector, calldata.span());
}

0 comments on commit 0454b1c

Please sign in to comment.