Skip to content

Commit

Permalink
fix: accept ethlive as a chain name
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSandwich committed Mar 16, 2023
1 parent 304fe09 commit 6585673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,7 @@

### Unreleased

- Add support for `ethlive` as a chain name [#2268](https://github.com/gakonst/ethers-rs/pull/2268)
- Add `other: OtherFields` to `TransactionReceipt` [#2209[](https://github.com/gakonst/ethers-rs/pull/2209)
- Add `Signature::recover_typed_data` [#2120](https://github.com/gakonst/ethers-rs/pull/2120)
- Add `abi::encode_packed` [#2104](https://github.com/gakonst/ethers-rs/pull/2104)
Expand Down
1 change: 1 addition & 0 deletions ethers-core/src/types/chain.rs
Expand Up @@ -47,6 +47,7 @@ pub type ParseChainError = TryFromPrimitiveError<Chain>;
#[strum(serialize_all = "kebab-case")]
#[repr(u64)]
pub enum Chain {
#[strum(serialize = "ethlive")]
Mainnet = 1,
Morden = 2,
Ropsten = 3,
Expand Down

0 comments on commit 6585673

Please sign in to comment.