Skip to content

Commit

Permalink
feat(lockup): bump the version to 3.1.0, fix meta docs (#167)
Browse files Browse the repository at this point in the history
* feat(lockup): bump the version to 3.1.0

* fix(lockup-factory): update binary after updating lockup contract

* docs(core-contracts): update instruction how to build the contracts
  • Loading branch information
telezhnaya committed Jul 14, 2021
1 parent 33a8947 commit 43f9166
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
3 changes: 1 addition & 2 deletions README.md
@@ -1,14 +1,13 @@
# Core contracts

- [Lockup / Vesting contract](./lockup/)
- [Lockup Factory](./lockup-factory/)
- [Multisig contract](./multisig/)
- [Staking Pool / Delegation contract](./staking-pool/)
- [Staking Pool Factory](./staking-pool-factory/)
- [Voting Contract](./voting/)
- [Whitelist Contract](./whitelist/)

**Note**: observe the usage of the file `rust-toolchain` in the project root. This file contains toolchain information for nightly, while the `build.sh` scripts in respective contract subdirectories may override this with `cargo +stable`. Refer to the documentation on [the toolchain file and override precedence](https://github.com/rust-lang/rustup#the-toolchain-file). Keep in mind that the build scripts may use `stable` while `cargo test` may use nightly.

## Building and deploying

See [scripts](./scripts/) folder for details.
Expand Down
Binary file modified lockup-factory/res/lockup_factory.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion lockup/Cargo.lock

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

2 changes: 1 addition & 1 deletion lockup/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lockup-contract"
version = "3.0.1"
version = "3.1.0"
authors = ["Near Inc <hello@nearprotocol.com>"]
edition = "2018"

Expand Down
5 changes: 5 additions & 0 deletions lockup/README.md
Expand Up @@ -332,6 +332,11 @@ In case of successful withdrawal, the unvested balance will become `0` and the o

## Change Log

### `3.1.0`

- Reduced minimum required balance for the lockups from 35 NEAR to 3.5 NEAR;
- Improved the documentation.

### `3.0.0`

- Release duration now starts from the moment the tokens are unlocked.
Expand Down
Binary file modified lockup/res/lockup_contract.wasm
Binary file not shown.
4 changes: 1 addition & 3 deletions scripts/README.md
Expand Up @@ -2,10 +2,8 @@

## Rebuild all contracts

TODO: Update to use reproducible builds using `near-sdk` Docker image.

```bash
./build_all.sh
./build_all_docker.sh
```

## Deploy core contracts using master account
Expand Down

0 comments on commit 43f9166

Please sign in to comment.