forked from cerc-io/laconicd-deprecated
* fix(rpc): align fee history (#1611) * update nix * add next fee in fee history * fix test * add change doc * height + 1 for next fee * cross check baseFeePerGas len * Update tests/integration_tests/test_fee_history.py Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> * fix oldestBlock & align earliest input as eth * update doc * update nix * isort test_fee_history.py * fix test * align rpc res as eth * add cross check * add baseFeePerGas len check * add oldestBlock check Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> (cherry picked from commit 47fdfd3d8318358c2578b610bc35bc8c1ebb131e) # Conflicts: # CHANGELOG.md * address merge conflicts Co-authored-by: mmsqe <mavis@crypto.com> Co-authored-by: MalteHerrmann <malte@evmos.org> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
mmsqe
MalteHerrmann
Federico Kunze Küllmer
parent
c1c25b1818
commit
949674e511
@@ -595,8 +595,8 @@ func TestEth_FeeHistory(t *testing.T) {
|
||||
baseFeePerGas := info["baseFeePerGas"].([]interface{})
|
||||
gasUsedRatio := info["gasUsedRatio"].([]interface{})
|
||||
|
||||
require.Equal(t, info["oldestBlock"].(string), "0x6")
|
||||
require.Equal(t, info["oldestBlock"].(string), "0x7")
|
||||
require.Equal(t, 4, len(gasUsedRatio))
|
||||
require.Equal(t, 4, len(baseFeePerGas))
|
||||
require.Equal(t, 5, len(baseFeePerGas))
|
||||
require.Equal(t, 4, len(reward))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user