Skip to content

Commit 3b23bce

Browse files
feat: refine work with membership info and other meta information (#2341)
* chore: update definitions to match the ABI * chore: improve exports and types * chore: use big endian instead of little endian * chore: improve logging * chore: update import * fix: use overloaded function call * chore: estimate gas * test * npm i * chore: regen locl * chore: update * chore: update playwright docker images * chore: cannot erase membership if it isn't expired/in grace period * chore: fix condition * chore: add `getMembershipStatus` method * refactor(rln): cache min/max rate limits at contract instantiation * chore: fix accessor * chore: rename arg * chore: allow chromebin path through env
1 parent a4dfd34 commit 3b23bce

File tree

12 files changed

+2762
-2744
lines changed

12 files changed

+2762
-2744
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
browser:
5858
runs-on: ubuntu-latest
5959
container:
60-
image: mcr.microsoft.com/playwright:v1.51.1-jammy
60+
image: mcr.microsoft.com/playwright:v1.52.0-jammy
6161
env:
6262
HOME: "/root"
6363
steps:

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
timeout-minutes: 60
2121
runs-on: ubuntu-latest
2222
container:
23-
image: mcr.microsoft.com/playwright:v1.51.1-jammy
23+
image: mcr.microsoft.com/playwright:v1.52.0-jammy
2424
steps:
2525
- uses: actions/checkout@v3
2626
- uses: actions/setup-node@v3

karma.conf.cjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
/* eslint-env node */
12
const playwright = require("playwright");
23
const webpack = require("webpack");
34

4-
process.env.CHROME_BIN = playwright.chromium.executablePath();
5+
if (!process.env.CHROME_BIN) {
6+
process.env.CHROME_BIN = playwright.chromium.executablePath();
7+
}
8+
console.log("Using CHROME_BIN:", process.env.CHROME_BIN);
59
process.env.FIREFOX_BIN = playwright.firefox.executablePath();
610

711
module.exports = function (config) {

package-lock.json

Lines changed: 2570 additions & 2630 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/rln/src/contract/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export { RLNContract } from "./rln_contract.js";
22
export * from "./constants.js";
3+
export * from "./types.js";

0 commit comments

Comments
 (0)