-
Notifications
You must be signed in to change notification settings - Fork 144
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
Actors v2 upgrade setup #854
Conversation
779edb9
to
bb0c3b1
Compare
@@ -12,7 +12,7 @@ pub use self::message::*; | |||
pub use self::rand_replay::*; | |||
pub use self::stubs::*; | |||
pub use self::tipset::*; | |||
use actor::CHAOS_ACTOR_CODE_ID; | |||
use actor::actorv2::CHAOS_ACTOR_CODE_ID; |
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.
Curious how you're passing v1 conformance tests with v2 chaos actor
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.
The code Cid is still using the /1/ path. We probably shouldn't even have chaos within actors because it isn't tied to the actor versions. But can change later
#[derive(Debug, PartialEq, Serialize)] | ||
#[serde(rename_all = "PascalCase")] | ||
pub struct MinerInfo { | ||
pub owner: Address, |
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.
These need to be serialized using json
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.
oops
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.
Very funky fresh setup. I focused mostly outside of the VM, so the state manager, mpool, and chain sync.
I looked at the structure of the stuff in the actors and vm code. Didnt look too hard into the correctness because if it passes conformance v1 actors and can still sync to breeze, then it should be all fine.
Tested against storage miner init functionality as well and its all good after that json fix.
Summary of changes
Changes introduced in this pull request:
This is blocked on finishing and exporting v1 actors, which is not yet but soon ready to be done, but I will just keep putting changes in this PR which are necessary until then
Reference issue to close (if applicable)
Closes #816
Closes #817
Closes #815
Closes #824
Other information and links