Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Merge #115
Browse files Browse the repository at this point in the history
115: SDK 1.0.22: ExecutableDeployItem fix. r=zie1ony a=zie1ony

## SDK 1.0.22

### Fixed
- Parsing `ExecutableDeployItem`'s `StoredContractByHash` from JSON to the `ExecutableDeployItem` object. 


Co-authored-by: Maciej Zielinski <maciek.s.zielinski@gmail.com>
  • Loading branch information
bors[bot] and zie1ony authored Feb 19, 2021
2 parents b0004cc + a8d124b commit 8e32e2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to casper-client-sdk.

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).

## 1.0.22

### Fixed
- Parsing `ExecutableDeployItem`'s `StoredContractByHash` from JSON to the `ExecutableDeployItem` object.

## 1.0.21

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-client-sdk",
"version": "1.0.21",
"version": "1.0.22",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/lib/DeployUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export class ExecutableDeployItem implements ToBytes {
public moduleBytes?: ModuleBytes;

@jsonMember({
name: 'StoredVersionedContractByHash',
name: 'StoredContractByHash',
constructor: StoredContractByHash
})
public storedContractByHash?: StoredContractByHash;
Expand Down

0 comments on commit 8e32e2d

Please sign in to comment.