ApeWorX / ape-foundry

Foundry network provider for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
32 stars 13 forks source link

fix(test): anvil behavior changed with --block-base-fee-per-gas #95

Closed mikeshultz closed 6 months ago

mikeshultz commented 6 months ago

What I did

Fixes test checking provider.base_fee after setting base_fee in config.

fixes: #94

Checklist

mikeshultz commented 6 months ago

I updated the test to check the base fee on the block as well which seems accurate. So I guess it's only eth_feeHistory next block estimation that is the outlier.

mikeshultz commented 6 months ago

@antazoey Fork test failures were the same failure you fixed in the ape repo. Just added the --network option to the pytester commands and they pass. :shrug: