Skip to content

Commit

Permalink
[3.0.1]: Publish, fix license to GPL, rebuild (#348)
Browse files Browse the repository at this point in the history
- Published `3.0.1-pre.1`. Will publish `3.0.1` once this is approved. (May need to publish nearcore crates as real versions)
- Rebuilt examples using contract builder
- Updated licenses of the crates that depend on `nearcore` crates to `GPL-3.0`
  • Loading branch information
Evgeny Kuzyakov committed Mar 25, 2021
1 parent 9d99077 commit ff38c94
Show file tree
Hide file tree
Showing 27 changed files with 65 additions and 59 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

## Release notes

### Version `3.0.0`
### Version `3.0.1`

* Introduced `#[private]` method decorator, that verifies `predecessor_account_id() == current_account_id()`.
NOTE: Usually, when a contract has to have a callback for a remote cross-contract call, this callback method should
Expand All @@ -55,7 +55,7 @@
* Introduce `Base58CryptoHash` and `CryptoHash` to represent `32` bytes slice of `u8`.
* Introduce `LazyOption` to keep a single large value with lazy deserialization.
* **BREAKING** `#[init]` now checks that the state is not initialized. This is expected behavior. To ignore state check you can call `#[init(ignore_state)]`
* NOTE: `3.0.0` is not published, due to tag conflicts on the `near-sdk-rs` repo.

**Previous version [CHANGELOG](CHANGELOG.md)**

Expand Down Expand Up @@ -244,4 +244,4 @@ Since WebAssembly compiler includes a bunch of debug information into the binary
different on different machines. To be able to compile the binary in a reproducible way, we added a Dockerfile
that allows to compile the binary.

**Use [contract-builder](https://github.com/near/near-sdk-rs/tree/master/contact-builder)**
**Use [contract-builder](https://github.com/near/near-sdk-rs/tree/master/contact-builder)**
8 changes: 4 additions & 4 deletions examples/cross-contract-high-level/Cargo.lock

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

Binary file not shown.
8 changes: 4 additions & 4 deletions examples/cross-contract-low-level/Cargo.lock

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

Binary file not shown.
10 changes: 5 additions & 5 deletions examples/fungible-token/Cargo.lock

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

Binary file modified examples/fungible-token/res/defi.wasm
Binary file not shown.
Binary file modified examples/fungible-token/res/fungible_token.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/gas-fee-tester/Cargo.lock

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

Binary file modified examples/gas-fee-tester/res/gas_fee_tester.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/lockable-fungible-token/Cargo.lock

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

Binary file not shown.
6 changes: 3 additions & 3 deletions examples/mission-control/Cargo.lock

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

Binary file modified examples/mission-control/res/mission_control.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/status-message-collections/Cargo.lock

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

Binary file not shown.
6 changes: 3 additions & 3 deletions examples/status-message/Cargo.lock

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

Binary file modified examples/status-message/res/status_message.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/test-contract/Cargo.lock

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

Binary file modified examples/test-contract/res/test_contract.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions near-contract-standards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "near-contract-standards"
version = "3.0.0-pre.3"
version = "3.0.1"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
license = "GPL-3.0"
categories = ["wasm"]
repository = "https://github.com/near/near-sdk-rs"
homepage = "https://github.com/near/near-sdk-rs/tree/master/near-contract-standards"
Expand All @@ -12,4 +12,4 @@ NEAR smart contracts standard library.
"""

[dependencies]
near-sdk = { path = "../near-sdk", version = "=3.0.0-pre.3" }
near-sdk = { path = "../near-sdk", version = "=3.0.1" }
2 changes: 1 addition & 1 deletion near-sdk-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk-core"
version = "3.0.0-pre.3"
version = "3.0.1"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions near-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk-macros"
version = "3.0.0-pre.3"
version = "3.0.1"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -15,7 +15,7 @@ Main macro of the library for writing NEAR smart contracts.
proc-macro = true

[dependencies]
near-sdk-core = { path = "../near-sdk-core", version = "=3.0.0-pre.3"}
near-sdk-core = { path = "../near-sdk-core", version = "=3.0.1"}
proc-macro2 = "1.0"
syn = {version = "=1.0.57", features = ["full", "fold", "visit"] }
quote = "1.0"
Expand Down
Loading

0 comments on commit ff38c94

Please sign in to comment.