Skip to content

chore: Tag Gasless Deposits#3071

Closed
dijanin-brat wants to merge 6 commits intomasterfrom
dijanin-brat/tagGaslessDeposits
Closed

chore: Tag Gasless Deposits#3071
dijanin-brat wants to merge 6 commits intomasterfrom
dijanin-brat/tagGaslessDeposits

Conversation

@dijanin-brat
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e84878213

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/utils/GaslessUtils.ts
Comment on lines +189 to +190
method: "",
args: [calldata],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve populated tx context when switching gasless calls to raw

Setting gasless deposits to always use method: "" forces the raw-transaction path in TransactionClient, which calls getGasPrice with unsignedTx omitted (sendRawTxn ? undefined : ... in src/clients/TransactionClient.ts). getGasPrice explicitly notes that Linea estimation requires an unsigned transaction (src/utils/TransactionUtils.ts), so Linea-origin gasless deposits can now fail during gas estimation/submission even when they previously worked without integratorId. Please keep a populated transaction available for fee estimation when appending the swap marker.

Useful? React with 👍 / 👎.

Comment thread src/utils/GaslessUtils.ts
Copy link
Copy Markdown
Collaborator

@pxrl pxrl Mar 23, 2026

Choose a reason for hiding this comment

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

@dijanin-brat Just as a thought experiment, do you think it could work if we added a field "tag" to the AugmentedTransaction type, such that we ultimately passed that tag down to the point where we call _runTransaction(), where we'd supply it as one of its arguments?

This feature is admittedly something that we may not apply widely, but it feels like something that should be applied at the lowest level of encapsulation. _runTransaction() feels like it could be a good fit, though not necessarily the only option.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it really make sense to be as deep as it can. I am fully for this! I will prepare a new PR for that and close this one

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.

2 participants