-
Notifications
You must be signed in to change notification settings - Fork 23
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
Contract tester in rust #87
Conversation
…the traits into the contracts
makefile
Outdated
@@ -2,19 +2,24 @@ contracts_dir=contracts | |||
compiled_dir=compiled | |||
checksum_dir=${compiled_dir}/checksum | |||
|
|||
CONTRACTS = mint snip20 treasury micro_mint oracle mock_band initializer | |||
define prepare_wasm = |
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 this be build_wasm
?
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, ill rename it now
const BLOCK_SIZE: usize = 256; | ||
} | ||
|
||
impl TestInit for InitMsg {} |
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've seen something like #if(cfig)
to only do these when for tests, I'll try to find exactly what it is
Added a new tester that runs completely on rust that utilizes the defined types in the shade_protocol package to run everything