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(chain): add BSC and BSC testnet #831

Merged
merged 2 commits into from
Jan 27, 2022
Merged

Conversation

0xca11
Copy link
Contributor

@0xca11 0xca11 commented Jan 26, 2022

Motivation

As noted in foundry-rs/foundry#579, BSC mainnet and testnet are missing from the list of networks that do not support EIP-1559 yet. Thus, sending transactions to those networks using cast fails because currently Eip1559TransactionRequest is used to create and submit transactions.

Solution

Add BinanceSmartChain and BinanceSmartChainTestnet to the Chain enum in ethers-core types.

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

thanks!
lgtm

@gakonst gakonst merged commit f434e0f into gakonst:master Jan 27, 2022
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.

None yet

3 participants