Skip to content

Commit

Permalink
Fix integration js test (#907)
Browse files Browse the repository at this point in the history
* Fix integration js test

* erm ah , i think we ran out of ports or had a strange race condition, increasing the ports used with a bigger random number fixed it so...
  • Loading branch information
iainnash authored Nov 7, 2024
1 parent 63f9f6d commit 08568f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protocol-sdk/src/anvil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const makeAnvilTest = ({
test.extend<AnvilViemClientsTest>({
viemClients: async ({ task }, use) => {
console.log("setting up clients for", task.name);
const port = Math.floor(Math.random() * 2000) + 4000;
const port = Math.floor(Math.random() * 60000) + 4000;

const anvil = spawn(
"anvil",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { zoraSparksManagerImplABI } from "@zoralabs/protocol-deployments";
const anvilTest = makeAnvilTest({
forkUrl: forkUrls.zoraMainnet,
anvilChainId: zora.id,
forkBlockNumber: 17667435,
forkBlockNumber: 22160611,
});
describe("Sponsored Mints Spender with Relay", () => {
anvilTest(
Expand Down

0 comments on commit 08568f5

Please sign in to comment.