Skip to content

Commit

Permalink
CHANGELOG, version bump to 1.2.0, gen schema. (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony authored Jul 30, 2024
1 parent aea3316 commit 6dba46d
Show file tree
Hide file tree
Showing 46 changed files with 184 additions and 136 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Changelog

Changelog for `odra`.
## [1.1.0] - 2024-06-XX

## [1.2.0] - 2024-07-30
### Added
- `Extern` type for simple external calls.

### Changed
- Allow for reminting tokens in `CEP78`.
- Include custom types into schema.

## [1.1.0] - 2024-06-17
### Added
- Support for CSPR.cloud's auth token.
- `new` method for `Address` to create an address from a string.
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ exclude = [ "examples", "modules", "benchmark", "odra-casper/proxy-caller", "tem
resolver = "2"

[workspace.package]
version = "1.1.0"
version = "1.2.0"
authors = ["Jakub Płaskonka <kuba@odra.dev>", "Krzysztof Pobiarżyn <krzysztof@odra.dev>", "Maciej Zieliński <maciej@odra.dev>"]
license = "MIT"
homepage = "https://odra.dev/docs"
repository = "https://github.com/odradev/odra"

[workspace.dependencies]
odra-core = { path = "core", version = "1.1.0" }
odra-macros = { path = "odra-macros", version = "1.1.0" }
odra-casper-test-vm = { path = "odra-casper/test-vm", version = "1.1.0" }
odra-casper-rpc-client = { path = "odra-casper/rpc-client", version = "1.1.0" }
odra-vm = { path = "odra-vm", version = "1.1.0" }
odra-casper-wasm-env = { path = "odra-casper/wasm-env", version = "1.1.0"}
odra-schema = { path = "odra-schema", version = "1.1.0" }
odra-core = { path = "core", version = "1.2.0" }
odra-macros = { path = "odra-macros", version = "1.2.0" }
odra-casper-test-vm = { path = "odra-casper/test-vm", version = "1.2.0" }
odra-casper-rpc-client = { path = "odra-casper/rpc-client", version = "1.2.0" }
odra-vm = { path = "odra-vm", version = "1.2.0" }
odra-casper-wasm-env = { path = "odra-casper/wasm-env", version = "1.2.0"}
odra-schema = { path = "odra-schema", version = "1.2.0" }
casper-contract = { version = "4.0.0", default-features = false }
casper-types = { version = "4.0.1", default-features = false }
casper-execution-engine = "7.0.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "odra-examples"
version = "1.1.0"
version = "1.2.0"
edition = "2021"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "BalanceChecker",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand All @@ -14,12 +14,6 @@
"description": "Checks the balance of the given account for the given token.",
"is_mutable": false,
"arguments": [
{
"name": "token",
"description": null,
"ty": "Key",
"optional": false
},
{
"name": "account",
"description": null,
Expand All @@ -35,7 +29,7 @@
"events": [],
"call": {
"wasm_file_name": "BalanceChecker.wasm",
"description": null,
"description": "Initializes the contract with the given parameters.",
"arguments": [
{
"name": "odra_cfg_package_hash_key_name",
Expand All @@ -54,6 +48,12 @@
"description": "The arg name for the contract upgradeability setting.",
"ty": "Bool",
"optional": false
},
{
"name": "address",
"description": null,
"ty": "Key",
"optional": false
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "CrossContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "DogContract2",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "DogContract3",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "DogContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "HostContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "LivenetContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "MathEngine",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "MockModerated",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "ModulesContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "MyContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "NestedOdraTypesContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "OwnedContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "PartyContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "PauseableCounter",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "PublicWallet",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "ReentrancyMock",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "SignatureVerifier",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "TestingContract",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "TimeLockWallet",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [
{
"struct": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"casper_contract_schema_version": 1,
"toolchain": "rustc 1.78.0-nightly (98aa3624b 2024-02-08)",
"toolchain": "rustc 1.79.0-nightly (3a36386dc 2024-04-25)",
"authors": [],
"repository": null,
"homepage": null,
"contract_name": "TokenManager",
"contract_version": "1.0.0",
"contract_version": "1.2.0",
"types": [],
"errors": [],
"entry_points": [
Expand Down
Loading

0 comments on commit 6dba46d

Please sign in to comment.