Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/eth/monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function main() {
await withEventTracker(
config.deviceId,
BridgeJSON,
config.wsSource,
config.rpcSource,
config.monitorAccount,
config.mongodbUrl,
(eventTracker: EventTracker) => {
Expand Down
3 changes: 3 additions & 0 deletions src/eth/pending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { L1ClientRole } from "delphinus-deployment/src/types";
const BridgeJSON = require("solidity/build/contracts/Bridge.json");

async function main() {
/*
const config = await getConfigByChainName(
L1ClientRole.Monitor,
process.argv[2]
Expand All @@ -22,6 +23,8 @@ async function main() {
await etracker.subscribePendingEvents().then((v) => {
console.log("start subscribe pending events:");
});
*/
throw Error("unimplement");
}

main();