Skip to content

Show a insufficient funds warning#3645

Closed
kkosiorowska wants to merge 1 commit intomainfrom
insufficient-funds
Closed

Show a insufficient funds warning#3645
kkosiorowska wants to merge 1 commit intomainfrom
insufficient-funds

Conversation

@kkosiorowska
Copy link
Copy Markdown
Contributor

@kkosiorowska kkosiorowska commented Oct 20, 2023

Testing Env

SUPPORT_THE_ISLAND_ON_TENDERLY=true

Latest build: extension-builds-3645 (as of Fri, 20 Oct 2023 14:06:50 GMT).

Comment on lines +592 to +598
if (
"annotation" in transactionRequest &&
transactionRequest.annotation !== undefined
) {
transactionRequest.annotation.warnings ??= []
transactionRequest.annotation.warnings.push("insufficient-funds")
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We shouldn't be pushing annotations anywhere other than the enrichment service…

We also unfortunately have this estimation handling duplicated here and below in populatePartialEIP1559TransactionRequest.

Will think about the best way to tie these together.

@mhluongo
Copy link
Copy Markdown
Contributor

Closing as stale.

@mhluongo mhluongo closed this Feb 24, 2026
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.

3 participants