Skip to content

Add test for retrieving block by hash#110

Closed
tgmichel wants to merge 1 commit intopolkadot-evm:masterfrom
moonbeam-foundation:tgmichel-blockhash-test
Closed

Add test for retrieving block by hash#110
tgmichel wants to merge 1 commit intopolkadot-evm:masterfrom
moonbeam-foundation:tgmichel-blockhash-test

Conversation

@tgmichel
Copy link
Copy Markdown
Contributor

@tgmichel tgmichel commented Sep 1, 2020

With recent changes calling eth_getBlockByHash or using web3.eth.getBlock (using a hash) is returning null instead of the block's body.

This PR adds the assertion to the typescript tests.

P.S. the PR fails obviously on functional tests -> AssertionError: Target cannot be null or undefined.

@tgmichel
Copy link
Copy Markdown
Contributor Author

tgmichel commented Sep 2, 2020

@sorpaas @crystalin

Once #113 goes through, the test should work.

@sorpaas
Copy link
Copy Markdown
Member

sorpaas commented Sep 11, 2020

Please pull master.

@ermalkaleci
Copy link
Copy Markdown
Contributor

#134 fixes this

@tgmichel tgmichel closed this Oct 7, 2020
@tgmichel tgmichel deleted the tgmichel-blockhash-test branch October 7, 2020 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants