question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expand Chain object tests to use all mainnet VM rules

See original GitHub issue

What is wrong?

The tests in tests/core/chain-object are all using only the SpuriousDragonVM

https://github.com/ethereum/py-evm/blob/48e94db187ed0b6166a6572f499ef624d5f987ce/tests/core/fixtures.py#L13

We really should be running these tests across all of the mainnet VMs.

How can it be fixed

Change the tests so that they run against each set of VM rules. This is probably best done by parametrizing the chain fixtures that are used.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Bhargavasomucommented, Jan 9, 2019

This issue should be closed with https://github.com/ethereum/py-evm/pull/1687

0reactions
Bhargavasomucommented, Dec 29, 2018

I’m on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ethereumjs-monorepo/CHANGELOG.md at master - GitHub
The VM provides an implementation for the EEI interface from the EVM package which can be used by the EVM to request environmental...
Read more >
Ganache 7 Ethereum Simulator - Building on Web3 is now ...
This allows you to quickly test your DApp throughout your development cycle. ... To use this feature, start Ganache by forking off of...
Read more >
Ethereum blockchain development using Web3.js
In this comprehensive tutorial, we'll show you how to develop a blockchain app using Web3.js and review the basics of Ethereum.
Read more >
How to Setup Local Development Environment for Solidity
1. The success story of blockchain started with Bitcoin and was given wings by Ethereum. Ethereum was th... 2. According to the official...
Read more >
py-evm Documentation
The Chain object manages the series of fork rules, after you define the VM ranges. For example, to set up a chain.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found