Skip to content

Commit

Permalink
Rename contract to security.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taztingo committed Feb 27, 2024
1 parent 1848cc3 commit 2283cd1
Show file tree
Hide file tree
Showing 64 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ members = [
"contracts/trigger",
"contracts/tutorial",
]
exclude = ["contracts/template", "contracts/nav"]
exclude = ["contracts/template", "contracts/security"]

[workspace.package]
version = "2.2.0"
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ scope:
scope:
@make -C contracts/trigger

.PHONY: nav
nav:
@make -C contracts/nav
.PHONY: security
security:
@make -C contracts/security
File renamed without changes.
File renamed without changes.
70 changes: 35 additions & 35 deletions contracts/nav/Cargo.lock → contracts/security/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions contracts/nav/Cargo.toml → contracts/security/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "nav-tag"
name = "security"
version = "2.2.0"
authors = ["Matthew Witkowski <[email protected]"]
edition = "2021"

exclude = ["nav_tag.wasm", "nav_tag-aarch64.wasm", "checksums.txt"]
exclude = ["security.wasm", "security-aarch64.wasm", "checksums.txt"]

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions contracts/nav/Makefile → contracts/security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ schema:
optimize:
ifeq ($(UNAME_M),arm64)
@docker run --rm -v $(CURDIR):/code \
--mount type=volume,source="nav_cache",target=/code/target \
--mount type=volume,source="security_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer-arm64:0.15.0
else
@docker run --rm -v $(CURDIR):/code \
--mount type=volume,source="nav_cache",target=/code/target \
--mount type=volume,source="security_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.15.0
endif
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{env::current_dir, fs::create_dir_all};

use cosmwasm_schema::{export_schema, remove_schemas, schema_for};
use nav_tag::core::msg::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg};
use security::core::msg::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg};

fn main() {
let mut out_dir = current_dir().unwrap();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2283cd1

Please sign in to comment.