celo-org / op-geth

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Allow non-hash based blocknum argument in CeloAPI backend #138

Closed ezdac closed 3 months ago

ezdac commented 3 months ago

Fixes #136

Unfortunately the fix for #136 is not easily tested in a unit-test, since the ethapi/api_test.go's mock backend does not fully implement querying state of the pending block. We should re-evaluate in the future, if it is worth to change the mock implementation here.