Skip to content

Commit

Permalink
Update casper crates. (#12) (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony authored Jun 15, 2023
1 parent a191b4a commit 24ef1df
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2023-05-11

### Changed

- Updated casper crates to `3.0.0`.

## [0.3.0] - 2023-05-11

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = [
]

[workspace.package]
version = "0.3.0"
version = "0.4.0"
authors = ["Maciej Zieliński <[email protected]>"]
description = "The smart contract level events for Casper."
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions casper-event-standard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ license.workspace = true
doctest = false

[dependencies]
casper-types = "2.0.0"
casper-event-standard-macro = { version = "0.3.0", path = "../casper-event-standard-macro" }
casper-types = "3.0.0"
casper-event-standard-macro = { version = "0.4.0", path = "../casper-event-standard-macro" }
serde = { version = "1.0", features = ["derive"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
casper-contract = { version = "2.0.0", default-features = false }
casper-contract = { version = "3.0.0", default-features = false }

[package.metadata.docs.rs]
default-target = "wasm32-unknown-unknown"
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version = "0.1.0"
edition = "2021"

[dependencies]
casper-types = "2.0.0"
casper-types = "3.0.0"
casper-event-standard = { path = "../casper-event-standard" }
casper-contract = { version = "2.0.0", optional = true }
casper-engine-test-support = { version = "4.0.0", optional = true }
casper-execution-engine = { version = "4.0.0", optional = true }
casper-contract = { version = "3.0.0", optional = true }
casper-engine-test-support = { version = "5.0.0", optional = true }
casper-execution-engine = { version = "5.0.0", optional = true }

[features]
default = ["test-support", "contract-support"]
Expand Down
3 changes: 2 additions & 1 deletion integration-tests/tests/vm_tests.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use casper_engine_test_support::{
ExecuteRequestBuilder, InMemoryWasmTestBuilder, DEFAULT_ACCOUNT_INITIAL_BALANCE,
DEFAULT_GENESIS_CONFIG, DEFAULT_GENESIS_CONFIG_HASH,
DEFAULT_CHAINSPEC_REGISTRY, DEFAULT_GENESIS_CONFIG, DEFAULT_GENESIS_CONFIG_HASH,
};
use casper_event_standard::{
Schemas, CES_VERSION, CES_VERSION_KEY, EVENTS_DICT, EVENTS_LENGTH, EVENTS_SCHEMA,
Expand Down Expand Up @@ -43,6 +43,7 @@ impl TestEnv {
*DEFAULT_GENESIS_CONFIG_HASH,
genesis_config.protocol_version(),
genesis_config.take_ee_config(),
DEFAULT_CHAINSPEC_REGISTRY.clone(),
);

let mut context = InMemoryWasmTestBuilder::default();
Expand Down

0 comments on commit 24ef1df

Please sign in to comment.