Skip to content

fix(provider): SendTransaction Failed on BSC due to Legacy TxType)#3776

Open
bournezjc wants to merge 2 commits intoalloy-rs:mainfrom
bournezjc:bourne/fix
Open

fix(provider): SendTransaction Failed on BSC due to Legacy TxType)#3776
bournezjc wants to merge 2 commits intoalloy-rs:mainfrom
bournezjc:bourne/fix

Conversation

@bournezjc
Copy link
Copy Markdown

Motivation

fix #3775

Solution

The fix adds .filter(|&base_fee| base_fee != 0), so that when BSC (or any chain) returns baseFeePerGas: "0x0" in the block header, it's treated the same as None — resulting in an UnsupportedFeature("eip1559") error instead of silently proceeding with a zero base fee.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@bournezjc bournezjc changed the title Bourne/fix fix(SendTransaction Failed on BSC due to Legacy TxType) Mar 5, 2026
@bournezjc bournezjc changed the title fix(SendTransaction Failed on BSC due to Legacy TxType) fix(provider): SendTransaction Failed on BSC due to Legacy TxType) Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[Bug] SendTransaction Failed on BSC due to Legacy TxType

1 participant