Skip to content

Commit

Permalink
Merge branch 'main' into small-cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
lightwalker-eth authored Jan 22, 2025
2 parents 0116cff + fcba71c commit f90747f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ jobs:

- name: Run TypeScript type checks
run: pnpm run typecheck

- name: Run Ponder build checks
run: pnpm codegen
2 changes: 1 addition & 1 deletion src/plugins/eth/ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const pluginNamespace = createPluginNamespace(ownedName);
// constrain indexing between the following start/end blocks
// https://ponder.sh/0_6/docs/contracts-and-networks#block-range
const START_BLOCK: ContractConfig["startBlock"] = undefined;
const END_BLOCK: ContractConfig["endBlock"] = 21_000_000;
const END_BLOCK: ContractConfig["endBlock"] = undefined;

const REGISTRY_OLD_ADDRESS = "0x314159265dd8dbb310642f98f50c066173c1259b";
const REGISTRY_ADDRESS = "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/helpers.spec.ts → test/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
parseRpcEndpointUrl,
parseRpcMaxRequestsPerSecond,
uniq,
} from "./helpers";
} from "../src/lib/helpers";

describe("helpers", () => {
describe("uniq", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { createPluginNamespace } from "./plugin-helpers";
import { createPluginNamespace } from "../src/lib/plugin-helpers";

describe("createPluginNamespace", () => {
it("should return a function that creates namespaced contract names", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
isLabelIndexable,
makeSubnodeNamehash,
tokenIdToLabel,
} from "./subname-helpers";
} from "../src/lib/subname-helpers";

describe("isLabelIndexable", () => {
it("should return false for labels containing unindexable characters", () => {
Expand Down

0 comments on commit f90747f

Please sign in to comment.