@fangorn-network/sdk 2026.10.21-dev → 2026.10.23-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ import { Fangorn } from "../fangorn.js";
7
7
  import { MemLedger, MemRegistry } from "./mem-registry.js";
8
8
  import { MemStorage } from "../engine/test-helpers.js";
9
9
  import { createTestClient, encodeFunctionData, getAddress, http, parseEther, publicActions, walletActions } from "viem";
10
+ import { foundry } from "viem/chains";
10
11
  import { generatePrivateKey, privateKeyToAccount } from "viem/accounts";
11
12
  import { spawn, spawnSync } from "node:child_process";
12
13
  import { existsSync, readFileSync } from "node:fs";
@@ -107,7 +108,10 @@ async function chainNetwork() {
107
108
  const { rpcUrl, anvil } = await startAnvil(FangornConfig.chain.id);
108
109
  const chain = createTestClient({
109
110
  mode: "anvil",
110
- chain: FangornConfig.chain,
111
+ chain: {
112
+ ...foundry,
113
+ id: FangornConfig.chain.id
114
+ },
111
115
  transport: http(rpcUrl)
112
116
  }).extend(publicActions).extend(walletActions);
113
117
  const admin = privateKeyToAccount(ADMIN_KEY);
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
+
1
2
  {
2
3
  "name": "@fangorn-network/sdk",
3
- "version": "2026.10.21-dev",
4
+ "version": "2026.10.23-dev",
4
5
  "description": "decentralized, verifiable and platformless content management framework",
5
6
  "repository": {
6
7
  "type": "git",
@@ -86,4 +87,4 @@
86
87
  }
87
88
  }
88
89
  }
89
- }
90
+ }