-
Notifications
You must be signed in to change notification settings - Fork 6
feat: implement kurtosis package for building rust contracts for cosmos #13
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
base: DIVE-427-POC-Kurtosis-package-for-building-Rust-contracts
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the DS_Store |
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove output files |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 2ee2c9dddcdf04fed233af49c0731154813236c4ed0d472ad490afea530eddb4 cw_nameservice.wasm |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| name : github.com/riyasng12/riya_training/riya |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| def run(plan): | ||
|
|
||
| plan.upload_files( | ||
| src="nameservice", | ||
| name = "contracts" | ||
| ) | ||
|
|
||
| service_config = ServiceConfig( | ||
| image="cosmwasm/optimizer:0.15.0", | ||
| files= { | ||
| "/code": "contracts" | ||
| }, | ||
| entrypoint= ["/bin/sh"] | ||
| ) | ||
|
|
||
| plan.add_service(name="rustcontractbuilder", config=service_config) | ||
|
|
||
| plan.exec(service_name = "rustcontractbuilder", recipe= ExecRecipe(["optimize.sh", "."])) | ||
|
|
||
| plan.store_service_files(service_name="rustcontractbuilder", src="/code/artifacts", name="artifacts") | ||
|
|
||
|
|
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the DS_Store |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [alias] | ||
| wasm = "build --release --target wasm32-unknown-unknown" | ||
| unit-test = "test --lib" | ||
| integration-test = "test --test integration" | ||
| schema = "run --example schema" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true | ||
|
|
||
| [*.rs] | ||
| indent_size = 4 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| /target | ||
| **/*.rs.bk | ||
| *.iml | ||
| .idea |
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.
Remove the DS_Store