Skip to content

Commit

Permalink
fix e2e test build after insertion writer e2e test uses core plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
luketchang committed Sep 7, 2023
1 parent 7c69b6f commit 7e96332
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Nocturne Snap",
"proposedName": "Nocturne Snap",
"source": {
"shasum": "265q67IBTCyrQ2PMfRJEYJSZD1HwFCgMtDFgu30p54s=",
"shasum": "jtV+jy3kDFcfemEvbUHUAXHia0Q5zcNPI4f50w9d1Fg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
1 change: 1 addition & 0 deletions packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@nocturne-xyz/deposit-screener": "workspace:^",
"@nocturne-xyz/insertion-writer": "workspace:^",
"@nocturne-xyz/local-prover": "workspace:^",
"@nocturne-xyz/op-request-plugins": "workspace:^",
"@nocturne-xyz/persistent-log": "workspace:^",
"@nocturne-xyz/subtree-updater": "workspace:^",
"@types/chai": "^4.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-tests/tests/InsertionWriter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
import { DepositManager, Teller } from "@nocturne-xyz/contracts";
import {
Asset,
Erc20Plugin,
JoinSplitProver,
NocturneClient,
NocturneSigner,
Expand All @@ -32,6 +31,7 @@ import {
import IORedis from "ioredis";
import * as ethers from "ethers";
import { SimpleERC20Token } from "@nocturne-xyz/contracts/dist/src/SimpleERC20Token";
import { Erc20Plugin } from "@nocturne-xyz/op-request-plugins";

chai.use(chaiAsPromised);

Expand Down Expand Up @@ -151,7 +151,7 @@ describe("InsertionWriter", () => {

// do an op
const eoaAddr = await eoa.getAddress();
const opRequest = newOpRequestBuilder({
const opRequest = await newOpRequestBuilder({
chainId: 31337n,
tellerContract: teller.address,
})
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4616,6 +4616,7 @@ __metadata:
"@nocturne-xyz/insertion-writer": "workspace:^"
"@nocturne-xyz/local-prover": "workspace:^"
"@nocturne-xyz/offchain-utils": "workspace:^"
"@nocturne-xyz/op-request-plugins": "workspace:^"
"@nocturne-xyz/persistent-log": "workspace:^"
"@nocturne-xyz/subtree-updater": "workspace:^"
"@types/chai": ^4.3.3
Expand Down Expand Up @@ -4790,7 +4791,7 @@ __metadata:
languageName: unknown
linkType: soft

"@nocturne-xyz/op-request-plugins@workspace:packages/op-request-plugins":
"@nocturne-xyz/op-request-plugins@workspace:^, @nocturne-xyz/op-request-plugins@workspace:packages/op-request-plugins":
version: 0.0.0-use.local
resolution: "@nocturne-xyz/op-request-plugins@workspace:packages/op-request-plugins"
dependencies:
Expand Down

0 comments on commit 7e96332

Please sign in to comment.