Skip to content
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

Merged
merged 18 commits into from
Sep 12, 2021
Merged

Contract tester in rust #87

merged 18 commits into from
Sep 12, 2021

Conversation

FloppyDisck
Copy link
Contributor

Added a new tester that runs completely on rust that utilizes the defined types in the shade_protocol package to run everything

@FloppyDisck FloppyDisck added the contract-tester New feature or request for the contract tester scripts label Sep 10, 2021
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 =
Copy link
Collaborator

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?

Copy link
Contributor Author

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 {}
Copy link
Collaborator

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

@FloppyDisck FloppyDisck merged commit 9a30ddc into dev Sep 12, 2021
@FloppyDisck FloppyDisck deleted the contract-tester/rust-migration branch September 12, 2021 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract-tester New feature or request for the contract tester scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants