-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'm pretty sure you need to update EVM tests and EVMbin cause it's also using VMType
.
evmbin doesn't seem to use
The main two folders that are using
And these two components can Code-wise, in EDIT: grep how we use the module:
Looks like we don't need to change the downstream code. |
Do we have other external repo that depends on this? BTW: How can I trigger an integration build for this PR? |
ethcore/src/evm/mod.rs
Outdated
@@ -19,6 +19,7 @@ | |||
pub mod ext; | |||
pub mod evm; | |||
pub mod interpreter; | |||
mod vmtype; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: separate public modules from private modules with whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, moved down a bit.
ethcore/src/evm/vmtype.rs
Outdated
use std::fmt; | ||
|
||
#[derive(Debug, PartialEq, Clone)] | ||
/// Type of EVM to use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: docs over attributes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
#5718 |
谢谢! |
不用谢 :) |
is_push
ininstructions.rs
VMType
into a separate file as suggested by the TODO infactory.rs
(no functional changes)