-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor types out of actors crate to prep for v2 upgrade #790
Conversation
ca73259
to
756c6b6
Compare
vm/actor/src/lib.rs
Outdated
@@ -30,16 +33,16 @@ lazy_static! { | |||
/// Number of token units in an abstract "FIL" token. | |||
/// The network works purely in the indivisible token amounts. | |||
/// This constant converts to a fixed decimal with more human-friendly scale. | |||
const TOKEN_PRECISION: u64 = 1_000_000_000_000_000_000; | |||
pub const TOKEN_PRECISION: u64 = 1_000_000_000_000_000_000; |
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.
I know it isnt really part of this PR, but while youre at it, could you make this point to the one in types? (i think reward/types.rs also redefines this
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.
Yeah it was semi intentional since the go implementation redefines -- maybe they want the actors execution to not change even if the params outside changes? That was my thought, but it's not a good reason so I will share same
Summary of changes
Changes introduced in this pull request:
DeadlineInfo
Reference issue to close (if applicable)
Closes #788
Other information and links