Remove `is_stateless` flag
See original GitHub issueWhat is wrong?
There’s an is_stateless
in VM
configuration now:
https://github.com/ethereum/py-evm/blob/4f476908dff42e290c15fc4cfb6a3c5e65e37dfe/evm/vm/base.py#L98-L127
In is_stateless
mode, the block
will be deeply copied and the get the result block
from VMState
with updated header and transactions. And in the non-stateless mode (the old route), the state transition result would be updated in VM
.
How can it be fixed
- Remove the
is_stateless is False
route. - Modify
Chain.apply_transaction
to update the local vm state before returning thecomputation
object.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Configuring stateful persistent disks in MIGs - Google Cloud
To declare all disks with a given device name as stateless, remove the disk's configuration from the stateful policy using the gcloud CLI...
Read more >IPv6 DHCPv6 (stateful, stateless, relay, managed-config-flag ...
This CCIE oriented episode of quick configs goes into the Dynamic Host Configuration Protocol for IPv6 (DHCPv6). See http://bit.ly/1VZYkFi ...
Read more >DHCPv6 stateful and stateless - Cisco Learning Network
Hi guys ! How to set the A flag off for stateful dhcpv6 ( A = 0, O=0;M=1 ). I know how to...
Read more >How can I remove the debug banner in Flutter? - Stack Overflow
3.BY using dart dev tool to remove debug banner · The first one is to use the debugShowCheckModeBanner property in your MaterialApp widget....
Read more >'No home, no team, no flag': a history of stateless athletes at ...
This tradition of letting quasi-stateless athletes compete under the Olympic Flag, instead of a single country's flag, began in 1992, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For testing, full nodes, and mining are the use cases I can think of. It’s a mid/low level interface for building blocks incrementally.
I think what I was referring to was that previously the
Chain
class’s state root would get updated automatically, but with the recent changes, that is no longer the case. So, theChain
object now needs to manually update the state root since it no longer happens automatically.