mana-ethereum / ethereumex

Elixir JSON-RPC client for the Ethereum blockchain 0x063D3d782598744AF1252eBEaf3aA97D990Edf72
MIT License
378 stars 73 forks source link

Add EIP1559 support for eth_maxPriorityFeePerGas and eth_feeHistory #127

Closed akramhussein closed 2 years ago

akramhussein commented 2 years ago

This PR adds support for eth_maxPriorityFeePerGas and eth_feeHistory which were added during the London fork for EIP1559 support.

Reference

akramhussein commented 2 years ago

I took a look at the failing tests and it looks like the CircleCI job is using Parity/OpenEthereum. During the London Fork, Parity/OpenEthereum was deprecated and does not support London/EIP1559.

Reference

akramhussein commented 2 years ago

Tests are also wrong on the eth_fee_history RPC call. Fixing now.

akramhussein commented 2 years ago

Tests are also wrong on the eth_fee_history RPC call. Fixing now.

Done

ayrat555 commented 2 years ago

@akramhussein thank you for your contribution.

your changes were released in 0.10.0.

I skipped your tests for now. we need to improve our ci

I remember @rupurt was working on this in https://github.com/mana-ethereum/ethereumex/pull/106. so how it's going? 😄

akramhussein commented 2 years ago

Thanks!