-
Notifications
You must be signed in to change notification settings - Fork 14
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
Transfer integration test #95
Conversation
571aeec
to
d1d821f
Compare
} | ||
|
||
#[no_mangle] | ||
fn invoke(input: u32) -> u32 { |
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.
Could you describe the basic behaviour that this implements?
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.
Added a comment describing how the actor works
|
||
let ret_val = | ||
tester.call_method(operator[0].1, receiver_address, method_hash!("Constructor"), None); | ||
println!("receiving actor constructor return data: {:#?}", &ret_val); |
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.
There's a lot of boilerplate here that makes it hard to identify the important code. Could you factor some out so that the core test is more to the point?
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.
Will follow this up in #103 as it already has a bunch of improvements to the setup boilerplate code
d1d821f
to
9c41e14
Compare
9c41e14
to
39fc914
Compare
Adds a new actor and integration test that mints and transfers tokens