Skip to content

Commit

Permalink
changeset version (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
panieldark authored Nov 23, 2023
1 parent 705a1aa commit 10ae72f
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 26 deletions.
5 changes: 0 additions & 5 deletions .changeset/large-flies-whisper.md

This file was deleted.

7 changes: 7 additions & 0 deletions actors/bundler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.10.10

### Patch Changes

- Updated dependencies [08e6d2e0]
- @nocturne-xyz/client@4.0.3

## 0.10.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion actors/bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nocturne-xyz/bundler",
"version": "0.10.9",
"version": "0.10.10",
"private": true,
"license": "MIT",
"main": "dist/index.js",
Expand Down
30 changes: 15 additions & 15 deletions actors/bundler/src/submitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,12 @@ import {
} from "@nocturne-xyz/contracts";
import {
Address,
OperationTrait,
OperationStatus,
OperationTrait,
SubmittableOperationWithNetworkInfo,
maxGasForOperation,
parseEventsFromTransactionReceipt,
} from "@nocturne-xyz/core";
import { Job, Worker } from "bullmq";
import IORedis from "ioredis";
import { ethers } from "ethers";
import {
ACTOR_NAME,
OPERATION_BATCH_QUEUE,
OperationBatchJobData,
} from "./types";
import { NullifierDB, RedisTransaction, StatusDB } from "./db";
import * as JSON from "bigint-json-serialization";
import { Logger } from "winston";
import {
ActorHandle,
TxHash,
Expand All @@ -31,9 +21,19 @@ import {
} from "@nocturne-xyz/offchain-utils";
import * as ot from "@opentelemetry/api";
import retry from "async-retry";
import { parseEventsFromTransactionReceipt } from "@nocturne-xyz/core";
import * as JSON from "bigint-json-serialization";
import { Job, Worker } from "bullmq";
import { ethers } from "ethers";
import { LogDescription } from "ethers/lib/utils";
import IORedis from "ioredis";
import { Logger } from "winston";
import { NullifierDB, RedisTransaction, StatusDB } from "./db";
import { checkRevertError } from "./opValidation";
import {
ACTOR_NAME,
OPERATION_BATCH_QUEUE,
OperationBatchJobData,
} from "./types";

const COMPONENT_NAME = "submitter";

Expand Down Expand Up @@ -126,7 +126,7 @@ export class BundlerSubmitter {

// re-validate ops just before submission and remove any that now revert (marking them as
// failing validation)
let validOps: SubmittableOperationWithNetworkInfo[] = [];
const validOps: SubmittableOperationWithNetworkInfo[] = [];
for (let i = 0; i < operations.length; i++) {
const maybeErr = await checkRevertError(
this.tellerContract.address,
Expand All @@ -142,7 +142,7 @@ export class BundlerSubmitter {
`op failed. removing from batch. digest: ${opDigests[i]}`,
{ err: maybeErr }
);
this.statusDB.setJobStatus(
void this.statusDB.setJobStatus(
opDigests[i],
OperationStatus.OPERATION_VALIDATION_FAILED
);
Expand Down
8 changes: 8 additions & 0 deletions actors/test-actor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.7.10

### Patch Changes

- Updated dependencies [08e6d2e0]
- @nocturne-xyz/client@4.0.3
- @nocturne-xyz/op-request-plugins@2.1.17

## 0.7.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion actors/test-actor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nocturne-xyz/test-actor",
"license": "MIT",
"version": "0.7.9",
"version": "0.7.10",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 4.0.3

### Patch Changes

- 08e6d2e0: fix another gas edgeccase in tryUpdateJoinSplitRequestsForGasEstimate

## 4.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nocturne-xyz/client",
"version": "4.0.2",
"version": "4.0.3",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-cli/src/depositors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function fetchDepositors(
}
);

let depositors: Address[] = [];
const depositors: Address[] = [];
for await (const batch of depositEvents.iter) {
console.log(`Got batch of ${batch.depositEvents.length} events`);
const batchOfDepositors = batch.depositEvents.map((event) => event.spender);
Expand Down
8 changes: 8 additions & 0 deletions packages/frontend-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 7.1.4

### Patch Changes

- Updated dependencies [08e6d2e0]
- @nocturne-xyz/client@4.0.3
- @nocturne-xyz/op-request-plugins@2.1.17

## 7.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nocturne-xyz/frontend-sdk",
"version": "7.1.3",
"version": "7.1.4",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/op-request-plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 2.1.17

### Patch Changes

- Updated dependencies [08e6d2e0]
- @nocturne-xyz/client@4.0.3

## 2.1.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/op-request-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nocturne-xyz/op-request-plugins",
"version": "2.1.16",
"version": "2.1.17",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 10ae72f

Please sign in to comment.