Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Update oz account #137

Merged
merged 7 commits into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions starknet_devnet/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class Account:
"""Account contract wrapper."""

CONTRACT_CLASS: ContractClass = None # loaded lazily
CONTRACT_PATH = "accounts_artifacts/OpenZeppelin/0.1.0/Account.cairo/Account"
CONTRACT_PATH = "accounts_artifacts/OpenZeppelin/b27101eb826fae73f49751fa384c2a0ff3377af2/Account.cairo/Account"

# Precalculated to save time
# HASH = compute_class_hash(contract_class=Account.get_contract_class()))
HASH = 361479646297615797917493841430922492724680358320444679508058603177506550951
HASH = 1803505466663265559571280894381905521939782500874858933595227108099796801620
HASH_BYTES = to_bytes(HASH)

# Random value to make the constructor_calldata the only thing that affects the account address
Expand Down
Loading