Skip to content

Commit

Permalink
try no signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Dec 25, 2024
1 parent ab50650 commit 254f69f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,15 @@ ponder.on("ORMPV2:HashImported", async ({ event, context }) => {
if (process.env["ORMPONDER_ENABLE_SIGNATURE"]) {
ponder.on("SignaturePub:SignatureSubmittion", async ({ event, context }) => {
const { SignatureSubmittion } = context.db;
return;
if (event.block.number <= 5043303n) {
return;
}
if (event.args.chainId == 701 || event.args.chainId == 421614) {
return;
}
// filter other channels
if (address.listenSignature.includes(event.args.channel)) {
if (event.block.number <= 5043303n) {
return;
}
if (event.args.chainId == 701 || event.args.chainId == 421614) {
return;
}
await SignatureSubmittion.create({
id: `${context.network.chainId}-${event.block.number}-${event.log.transactionIndex}-${event.log.logIndex}`,
data: {
Expand Down

0 comments on commit 254f69f

Please sign in to comment.