Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants