Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the DS_Store

Binary file not shown.
Binary file added rust-contract-building-poc/.DS_Store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the DS_Store

Binary file not shown.
1 change: 1 addition & 0 deletions rust-contract-building-poc/artifacts/checksums.txt
Copy link
Contributor

Choose a reason for hiding this comment

The 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
Binary file not shown.
1 change: 1 addition & 0 deletions rust-contract-building-poc/kurtosis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name : github.com/riyasng12/riya_training/riya
22 changes: 22 additions & 0 deletions rust-contract-building-poc/main.star
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")


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the DS_Store

Binary file not shown.
5 changes: 5 additions & 0 deletions rust-contract-building-poc/nameservice/.cargo/config
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"
11 changes: 11 additions & 0 deletions rust-contract-building-poc/nameservice/.editorconfig
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
4 changes: 4 additions & 0 deletions rust-contract-building-poc/nameservice/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target
**/*.rs.bk
*.iml
.idea
Loading