Closed akhila-raju closed 6 years ago
@akhila-raju a few comments:
web3.eth.getBlock()
was called with the second argument set to true/false depending on the cases. I think you can use jest.spyOn()
for this.@akhila-raju pushed a few commits here to:
graphql-list-fields
.Further refactoring is required in the model, as it's questionable for this logic to be in the EthqlQuery
root query, it should be in the EthqlBlock
class so it can be reused across other fields that yield a Block (parent, ommers, and others down the line).
Implements #49.