Skip to content

Commit

Permalink
Merge pull request #70 from DIG-Network/release/v0.0.1-alpha.75
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.75
  • Loading branch information
MichaelTaylor3D authored Sep 24, 2024
2 parents e391a09 + d7c555e commit 11e2c33
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.0.1-alpha.75](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.74...v0.0.1-alpha.75) (2024-09-24)


### Features

* regen store createion height if its missing ([989e6c8](https://github.com/DIG-Network/dig-chia-sdk/commit/989e6c8701bfe137b610176ad40c0d7c7ff89322))

### [0.0.1-alpha.74](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.73...v0.0.1-alpha.74) (2024-09-24)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dignetwork/dig-sdk",
"version": "0.0.1-alpha.74",
"version": "0.0.1-alpha.75",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
9 changes: 5 additions & 4 deletions src/blockchain/DataStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,13 @@ export class DataStore {
}
}

public async cacheStoreCreationHeight(
storeId: string
): Promise<{ createdAtHeight: number; createdAtHash: Buffer }> {
public async cacheStoreCreationHeight(): Promise<{
createdAtHeight: number;
createdAtHash: Buffer;
}> {
const peer = await FullNodePeer.connect();
const createdAtHeight = await peer.getStoreCreationHeight(
Buffer.from(storeId, "hex"),
Buffer.from(this.storeId, "hex"),
null,
Buffer.from(MAIN_NET_GENISES_CHALLENGE, "hex")
);
Expand Down

0 comments on commit 11e2c33

Please sign in to comment.