Skip to content

Commit

Permalink
exclude auto-upgrade feature
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Jun 6, 2024
1 parent 826a590 commit 0cf51c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: kkrt-labs/ef-tests
ref: v0.2.1
- name: Checkout local skip file
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion src/kakarot/account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace Account {

// Upgrade the target starknet contract's class if it's not the latest one.
// The contract must be deployed on starknet already.
Internals.check_and_upgrade_account_class(address);
// Internals.check_and_upgrade_account_class(address);

let (bytecode_len, bytecode) = IAccount.bytecode(contract_address=starknet_address);
let (nonce) = IAccount.get_nonce(contract_address=starknet_address);
Expand Down
2 changes: 2 additions & 0 deletions tests/end_to_end/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ async def test_should_update_cairo1_helpers_class(
)

class TestAutoUpgradeContracts:
@pytest.mark.skip(reason="alpha_release_disabled")
async def test_should_upgrade_outdated_contract_transaction_target(
self,
starknet: FullNodeClient,
Expand Down Expand Up @@ -193,6 +194,7 @@ async def test_should_upgrade_outdated_contract_transaction_target(
new_class = await starknet.get_class_hash_at(counter_starknet_address)
assert new_class == target_class

@pytest.mark.skip(reason="alpha_release_disabled")
async def test_should_upgrade_outdated_contract_called_contract(
self,
starknet: FullNodeClient,
Expand Down

0 comments on commit 0cf51c2

Please sign in to comment.