accounts/abi/bin/backends: return basefee in suggestGasPrice (#23838)

Co-authored-by: mrx <mrx@mrx.com>
This commit is contained in:
Sparty
2021-11-01 02:49:45 -04:00
committed by GitHub
parent 410e731bea
commit 57c252ef4e
2 changed files with 3 additions and 3 deletions

View File

@ -916,8 +916,8 @@ func TestSuggestGasPrice(t *testing.T) {
if err != nil {
t.Errorf("could not get gas price: %v", err)
}
if gasPrice.Uint64() != uint64(1) {
t.Errorf("gas price was not expected value of 1. actual: %v", gasPrice.Uint64())
if gasPrice.Uint64() != sim.pendingBlock.Header().BaseFee.Uint64() {
t.Errorf("gas price was not expected value of %v. actual: %v", sim.pendingBlock.Header().BaseFee.Uint64(), gasPrice.Uint64())
}
}