Skip to content

fix: include simulation save flags#137

Open
samsamtrum wants to merge 1 commit into
Tenderly:masterfrom
samsamtrum:add-simulation-save-flags
Open

fix: include simulation save flags#137
samsamtrum wants to merge 1 commit into
Tenderly:masterfrom
samsamtrum:add-simulation-save-flags

Conversation

@samsamtrum

Copy link
Copy Markdown

Adds save and save_if_fails to simulation transaction parameters and forwards both fields into the API request body for single and bundle simulations.

The SDK currently lets callers build simulation requests from TransactionParameters, but those two API-supported flags are missing from the type and are dropped when call_args is built.

Also adds a focused request-builder test covering both single and bundle simulations.

Checked with:

  • git diff --check
  • corepack pnpm install --ignore-scripts --frozen-lockfile
  • corepack pnpm exec jest test/simulator.request.test.ts --runInBand
  • corepack pnpm exec tsc --noEmit

Refs #98

@changeset-bot

changeset-bot Bot commented May 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 29e8663

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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