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

Add method for simulateTransactions #264

Merged
merged 6 commits into from
Jul 18, 2023
Merged

Conversation

bartekryba
Copy link
Contributor

Describe your changes

Adds method and dataclasses for simulating transactions.

Linked issues

Closes #257

@bartekryba bartekryba requested a review from THenry14 July 6, 2023 08:22
Comment on lines +42 to +64
@SerialName("caller_address")
val callerAddress: Felt?,

@SerialName("class_hash")
val classHash: Felt?,

@SerialName("entry_point_type")
val entryPointType: EntryPointType?,

@SerialName("call_type")
val callType: CallType?,

@SerialName("result")
val result: List<Felt>?,

@SerialName("calls")
val calls: List<FunctionInvocation>?,

@SerialName("events")
val events: List<EventContent>?,

@SerialName("messages")
val messages: List<MessageToL1>?,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are they nullable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are not marked as required in the spec

@bartekryba bartekryba merged commit 2ec94c4 into main Jul 18, 2023
@DelevoXDG DelevoXDG deleted the feat/simulate-transaction branch February 5, 2024 06:20
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.

Support SKIP_VALIDATE for fee estimate txs
2 participants