Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions src/starkware/cairo/stark_verifier/air/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"starknet_with_keccak",
"recursive_with_poseidon",
]
ADDITONAL_IMPORTS_STARK_CONFIG = [
ADDITIONAL_IMPORTS_STARK_CONFIG = [
"starkware.cairo.stark_verifier.air.config_instances.TracesConfig",
"starkware.cairo.stark_verifier.air.public_input.PublicInput",
"starkware.cairo.stark_verifier.air.public_input.SegmentInfo",
Expand All @@ -47,7 +47,7 @@
"starkware.cairo.stark_verifier.core.stark.StarkUnsentCommitment",
"starkware.cairo.stark_verifier.core.stark.StarkWitness",
"starkware.cairo.stark_verifier.core.vector_commitment.VectorCommitmentWitness",
] + ADDITONAL_IMPORTS_STARK_CONFIG
] + ADDITIONAL_IMPORTS_STARK_CONFIG


def extract_annotations(annotations: Sequence[str], prefix: str, kind: str) -> List[int]:
Expand Down Expand Up @@ -88,7 +88,7 @@ def parse_proof(
structs = CairoStructFactory(
identifiers=identifiers,
additional_imports=(
ADDITONAL_IMPORTS_STARK_CONFIG if only_config else ADDITIONAL_IMPORTS_PARSE_PROOF
ADDITIONAL_IMPORTS_STARK_CONFIG if only_config else ADDITIONAL_IMPORTS_PARSE_PROOF
),
).structs

Expand Down
2 changes: 1 addition & 1 deletion src/starkware/solidity/interfaces/ProxySupport.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract contract ProxySupport is MGovernance, BlockDirectCall, ContractInitiali
1. This function cannot be called directly on the deployed contract, but only via
delegate call.
2. If an EIC is provided - init is passed onto EIC and the standard init flow is skipped.
This true for both first intialization or a later one.
This true for both first initialization or a later one.
3. The data passed to this function is as follows:
[sub_contracts addresses, eic address, initData].

Expand Down
4 changes: 2 additions & 2 deletions src/starkware/starknet/security/hints_whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from starkware.starknet.security.secure_hints import HintsWhitelist

WHILTELIST_DIR = os.path.join(os.path.dirname(__file__), "whitelists")
WHITELIST_DIR = os.path.join(os.path.dirname(__file__), "whitelists")


def get_hints_whitelist() -> HintsWhitelist:
return HintsWhitelist.from_dir(dirname=WHILTELIST_DIR)
return HintsWhitelist.from_dir(dirname=WHITELIST_DIR)
2 changes: 1 addition & 1 deletion src/starkware/starknet/wallets/signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def format_multicall_calldata(cls, calls: List[CallFunction]) -> List[int]:

class TrivialSigner(SignerBase):
"""
Trivial implementation for accounts without multicalls nor signature verfication.
Trivial implementation for accounts without multicalls nor signature verification.
"""

@classmethod
Expand Down