Skip to content

Commit

Permalink
update railgun sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
linkismissing committed Jan 23, 2025
1 parent dfe49ae commit f12732d
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
continue-on-error: true
run: |
cargo install nj-cli
npm ci --legacy-peer-deps
npm ci --legacy-peer-deps --foreground-scripts
- name: Ship
run: npm run ship
Expand Down
128 changes: 66 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
},
"dependencies": {
"@libp2p/interface": "1.3.0",
"@railgun-community/cookbook": "2.9.1",
"@railgun-community/cookbook": "2.10.1",
"@railgun-community/curve25519-scalarmult-rsjs": "0.2.4",
"@railgun-community/poseidon-hash-rsjs": "1.0.1",
"@railgun-community/shared-models": "7.5.0",
"@railgun-community/waku-broadcaster-client-node": "8.2.3",
"@railgun-community/wallet": "10.3.1",
"@railgun-community/waku-broadcaster-client-node": "8.2.4",
"@railgun-community/wallet": "10.3.3",
"bn": "1.0.5",
"colors": "^1.4.0",
"enquirer": "2.3.6",
Expand Down
8 changes: 6 additions & 2 deletions src/engine/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ export const initRailgunEngine = async () => {
const shouldDebug = true;
const useNativeArtifacts = false;
const skipMerkelTreeScans = false;
const poiNodeURL = "https://poi-node.terminal-wallet.com";
const poiNodeURLs = [
// "https://poi-node.terminal-wallet.com", // experiencing issues.
"https://ppoi-agg.horsewithsixlegs.xyz"
];

const customPOIList = undefined;

await startRailgunEngine(
Expand All @@ -119,7 +123,7 @@ export const initRailgunEngine = async () => {
artifactStorage,
useNativeArtifacts,
skipMerkelTreeScans,
[poiNodeURL],
poiNodeURLs,
customPOIList,
);

Expand Down

0 comments on commit f12732d

Please sign in to comment.