Skip to content

Commit 57efe50

Browse files
authored
Update calibration testnet public key and npm library version (#16)
* update calibration testnet public key and npm library version * update request id and version
1 parent 6da6b76 commit 57efe50

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blocklock-js",
3-
"version": "0.0.8-rc6",
3+
"version": "0.0.8-rc8",
44
"description": "A library for encrypting and decrypting data for the future",
55
"source": "src/index.ts",
66
"main": "./dist/cjs/index.cjs",

src/blocklock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class Blocklock {
158158
const request = await this.blocklockSender.getRequest.staticCall(requestId)
159159
const blockHeight = decodeCondition(request.condition)
160160
return {
161-
id: request.decryptionRequestID,
161+
id: request.decryptionRequestId,
162162
blockHeight: blockHeight,
163163
ciphertext: parseSolidityCiphertext(request.ciphertext)
164164
}
@@ -174,7 +174,7 @@ export class Blocklock {
174174

175175
return new Map(Array.from(
176176
requests.map((event) => {
177-
const id = event.args.requestID
177+
const id = event.args.requestId
178178
const blockHeight = decodeCondition(event.args.condition)
179179

180180
return [id, {

src/networks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const FILECOIN_CALIBNET: NetworkConfig = {
2323
name: "filecoin_calibnet",
2424
chainId: 314159n,
2525
contractAddress: "0xF00aB3B64c81b6Ce51f8220EB2bFaa2D469cf702",
26-
publicKey: BLOCKLOCK_TESTNET_PUBLIC_KEY,
26+
publicKey: BLOCKLOCK_MAINNET_PUBLIC_KEY,
2727
ibeOpts: {
2828
hash: keccak_256,
2929
k: 128,

0 commit comments

Comments
 (0)