Skip to content

Commit

Permalink
Merge pull request #304 from Phoenix-Protocol-Group/jakub/vesting-opt…
Browse files Browse the repository at this point in the history
…imizations

Vesting optimizations
  • Loading branch information
ueco-jb authored May 21, 2024
2 parents 82a95fa + 6ac9bc0 commit b4f4c74
Show file tree
Hide file tree
Showing 12 changed files with 1,197 additions and 1,606 deletions.
6 changes: 6 additions & 0 deletions contracts/vesting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ repository = { workspace = true }
edition = { workspace = true }
license = { workspace = true }

[features]
# Enables minter feature on the vesting contract
# if enabled, a specified address can mint/burn tokens
minter = []
default = []

[lib]
crate-type = ["cdylib"]

Expand Down
4 changes: 2 additions & 2 deletions contracts/vesting/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default: all
all: lint build test

test: build
cargo test
cargo test --all-features

build:
$(MAKE) -C ../token build || break;
Expand All @@ -15,7 +15,7 @@ fmt:
cargo fmt --all

clippy: build
cargo clippy --all-targets -- -D warnings
cargo clippy --all-targets --all-features -- -D warnings

clean:
cargo clean
Loading

0 comments on commit b4f4c74

Please sign in to comment.