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

feat: add save and save_if_fails to tx simulation #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcusmolchany
Copy link
Contributor

@marcusmolchany marcusmolchany commented Aug 24, 2023

fixes #98

todo:

  • add changest

@marcusmolchany marcusmolchany requested a review from a team August 24, 2023 20:28
@marcusmolchany marcusmolchany temporarily deployed to CI August 24, 2023 20:29 — with GitHub Actions Inactive
@@ -10,6 +10,8 @@ export type TransactionParameters = {
max_priority_fee_per_gas?: number;
value: string | number;
access_list?: AccessList;
save?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

I would avoid extending TransactionParameters type with simulation specific fields. Maybe we could Create a separate type for SimulationTransactionParameters or extend/change SimulationCallArguments that would accept these two params. 🤔

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.

TransactionParameters type does not have save or save_if_fails
2 participants