Skip to content

Commit

Permalink
feat: release 2.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmannjan committed Aug 4, 2023
1 parent b2c7f81 commit 679fe77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Removed
-->

## [2.15.2] - 2023-8-4

### Fixed

- Reintroduced `getStateRootHash` fix as its not specific for `casper-node 1.5` ([#339](https://github.com/casper-ecosystem/casper-js-sdk/pull/339))

## [2.15.1] - 2023-8-4

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-js-sdk",
"version": "2.15.1",
"version": "2.15.2",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"homepage": "https://github.com/casper-ecosystem/casper-js-sdk#README.md",
Expand All @@ -19,6 +19,7 @@
"build": "webpack --config webpack.config.js",
"clean": "rm -rf ./dist",
"~build": "tsc --watch",
"test:local": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register \"src/local.test.ts\"",
"test:node:unit": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register \"src/**/*.test.ts\"",
"test:node:unit:coverage": "nyc npm run test:node:unit",
"test:browser:unit": "cross-env NODE_ENV=test karma start karma.conf.js --single-run",
Expand Down
2 changes: 1 addition & 1 deletion src/services/CasperServiceByJsonRPC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ export class CasperServiceByJsonRPC {
.request(
{
method: 'chain_get_state_root_hash',
params: blockHashBase16 ? { block_identifier: blockHashBase16 } : []
params: blockHashBase16 ? [{ Hash: blockHashBase16 }] : []
},
props?.timeout
)
Expand Down

0 comments on commit 679fe77

Please sign in to comment.