Skip to content

Commit

Permalink
feat(py/call): fix up import and name changes for cairo-lang 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kkovaacs committed Mar 21, 2023
1 parent a20aa78 commit ba468f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/src/pathfinder_worker/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
from starkware.starknet.business_logic.execution.execute_entry_point import (
ExecuteEntryPoint,
)
from starkware.starknet.business_logic.execution.objects import (
ExecutionResourcesManager,
)
from starkware.starknet.business_logic.fact_state.patricia_state import (
PatriciaStateReader,
)
from starkware.starknet.business_logic.fact_state.state import (
ExecutionResourcesManager,
)
from starkware.starknet.business_logic.state.state import BlockInfo, CachedState
from starkware.starknet.definitions import fields, constants
from starkware.starknet.definitions.constants import GasCost
Expand Down Expand Up @@ -184,7 +184,7 @@ class Call(Command):
pending_timestamp: int = field(metadata=fields.timestamp_metadata)

contract_address: int = field(metadata=fields.contract_address_metadata)
calldata: List[int] = field(metadata=fields.call_data_as_hex_metadata)
calldata: List[int] = field(metadata=fields.calldata_as_hex_metadata)
entry_point_selector: Optional[int] = field(
default=None, metadata=fields.optional_entry_point_selector_metadata
)
Expand Down

0 comments on commit ba468f2

Please sign in to comment.