`Shard` class and `ShardVM` class
See original GitHub issueWhat is wrong?
Create a Shard
class which mirrors the Chain
class and a ShardVM
which mirrors the VM
class.
How can it be fixed
Fill this in if you know how to fix it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Shared class cache - IBM
Using a Java shared class cache provides a means of improving JVM startup time, reducing overall storage usage, and optimizing the compilation process....
Read more >Shard class | Memory Beta, non-canon Star Trek Wiki - Fandom
The Shard-class is a type of Tholian starship utilized in the late 23rd century. These vessels were also used by the Tholians of...
Read more >and IgG-class antibodies to cyclic citrullinated peptides in ...
Associations with smoking and shared epitope differ between IgA- and IgG-class antibodies to cyclic citrullinated peptides in early rheumatoid arthritis.
Read more >Variant Classes - Shard Tabletop
Variant classes are versions of classes that can be modified as needed, but share the subclasses of the base class. Typically a variant...
Read more >Class Skin Concept #2 - Reddit
Probably one of the most iconic and requested classes in WoW, the Necromancer Class Skin is primarily unlocked for Warlocks and Deathknights but ......
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
Approach looks sound. Make it so!
@pipermerriam
I’m looking into this, it seems easy to drag out some functions that related to gas_limit and uncles to be
VM
-only. But on the other side, so many functions are using block as their prefix, suffix, or are related toblock_class
and I’m not sure which of them could be reused inShardVM
at this moment.I suggest that we can start with a simple overriding at the beginning, and then implement the new logic with collation in Stage 2:
In
base.py
, renameVM
toBaseVM
.Create
vm.py
,VM
, simply inheritBaseVM
:Create
shard_vm.py
, also inheritBaseVM
:Rewire the
ShardingVM
fork to inherit this newShardVM
:When we start to apply
Collation
as the container, we override the basic functions inShardVM
if we need.Refactor and clean up the common/shared methods.
I guess it would be less pain of backporting by this way. Any advice and suggestions will be greatly appreciated.