Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support starknet_getCompiledCasm #1514

Draft
wants to merge 21 commits into
base: franciszekjob/1498-rpc-0.8.0
Choose a base branch
from

Conversation

franciszekjob
Copy link
Collaborator

@franciszekjob franciszekjob commented Nov 3, 2024

Relates #1498

Introduced changes

Support starknet_getCompiledCasm

  • Add get_compiled_casm method in FullNodeClient and Client

  • Add CASM-related dataclasses: AssertCurrentAccessIndicesIsEmpty, AssertAllKeysUsed, AssertLeAssertThirdArcExcluded, AssertAllAccessesUsed, AssertLtAssertValidInput, Felt252DictRead, Felt252DictWrite, AllocSegment, TestLessThan, TestLessThanOrEqual, TestLessThenOrEqualAddress, WideMul128, DivMod, Uint256DivMod, Uint512DivModByUint256, SquareRoot, Uint256SquareRoot, LinearSplit, AllocFelt252Dict, Felt252DictEntryInit, Felt252DictEntryUpdate, GetSegmentArenaIndex, InitSquashData, GetCurrentAccessIndex, ShouldSkipSquashLoop, GetCurrentAccessDelta, ShouldContinueSquashLoop, GetNextDictKey, AssertLeFindSmallArcs, AssertLeIsFirstArcExcluded, AssertLeIsSecondArcExcluded, RandomEcPoint, FieldSqrt, DebugPrint, AllocConstantSize, U256InvModN, EvalCircuit, SystemCall, Cheatcode

  • This PR contains breaking changes

  • CasmClass:

    • Remove pythonic_hints
    • Change hints type from List[Any] to List[Tuple[int, Hint]]

@franciszekjob franciszekjob changed the base branch from development to franciszekjob/support-rpc-0.8.0 November 3, 2024 19:35
@franciszekjob franciszekjob changed the base branch from franciszekjob/support-rpc-0.8.0 to franciszekjob/1498-rpc-0.8.0 November 3, 2024 19:35
@franciszekjob franciszekjob mentioned this pull request Nov 4, 2024
1 task
@franciszekjob franciszekjob removed the request for review from ddoktorski November 4, 2024 15:51
@franciszekjob
Copy link
Collaborator Author

note: Fore some reason circular imports test is failing, will address it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant