fix: merkle root import (#64)

This commit is contained in:
RichΛrd 2023-05-23 07:08:59 -04:00 committed by GitHub
parent 7e93896538
commit fa1d3f8222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -18,7 +18,8 @@
}
},
"..": {
"version": "0.1.0",
"name": "@waku/rln",
"version": "0.1.1",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@waku/utils": "^0.0.5",
@ -42,7 +43,7 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/core": "^0.0.17",
"@waku/interfaces": "^0.0.11",
"@waku/interfaces": "^0.0.12",
"@waku/message-encryption": "^0.0.15",
"@web/rollup-plugin-import-meta-assets": "^1.0.7",
"app-root-path": "^3.0.0",
@ -3958,7 +3959,7 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/core": "^0.0.17",
"@waku/interfaces": "^0.0.11",
"@waku/interfaces": "^0.0.12",
"@waku/message-encryption": "^0.0.15",
"@waku/utils": "^0.0.5",
"@waku/zerokit-rln-wasm": "^0.0.10",

View File

@ -2,7 +2,7 @@ import { ethers } from "ethers";
import { RLN_ABI } from "./constants.js";
import { IdentityCredential, RLNInstance } from "./rln.js";
import { MerkleRootTracker } from "./root_tracker";
import { MerkleRootTracker } from "./root_tracker.js";
type Member = {
pubkey: string;

View File

@ -1,6 +1,6 @@
import { assert, expect } from "chai";
import { MerkleRootTracker } from "./root_tracker";
import { MerkleRootTracker } from "./root_tracker.js";
describe("js-rln", () => {
it("should track merkle roots and backfill from block number", async function () {