From 7368ab89fcab24c2e6cde1e929947214ae47643e Mon Sep 17 00:00:00 2001 From: Inkvi Date: Thu, 11 Apr 2024 08:35:57 -0700 Subject: [PATCH] Disable updatePacket and updateChannel --- ponder.schema.ts | 3 +++ src/packet.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/ponder.schema.ts b/ponder.schema.ts index dd2a1b0..ad6a65e 100644 --- a/ponder.schema.ts +++ b/ponder.schema.ts @@ -17,6 +17,9 @@ export default createSchema((p) => ({ maxFeePerGas: p.bigint().optional(), maxPriorityFeePerGas: p.bigint().optional(), from: p.string(), + polymerTxHash: p.string().optional(), + polymerGas: p.int().optional(), + polymerBlockNumber: p.bigint().optional(), }), CloseIbcChannel: p.createTable({ id: p.string(), diff --git a/src/packet.ts b/src/packet.ts index ec9c4cd..e55cec9 100644 --- a/src/packet.ts +++ b/src/packet.ts @@ -184,6 +184,7 @@ async function updateSendToAckGas>(conte } export async function updatePacket>(context: Virtual.Context, id: string) { + return; let packet = await context.db.Packet.findUnique({id}) if (!packet) { console.warn('No packet found with id', id)