Skip to content

Commit

Permalink
Disable updatePacket and updateChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvi committed Apr 11, 2024
1 parent bdaef7c commit 7368ab8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ponder.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 1 addition & 0 deletions src/packet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ async function updateSendToAckGas<name extends Virtual.EventNames<config>>(conte
}

export async function updatePacket<name extends Virtual.EventNames<config>>(context: Virtual.Context<config, schema, name>, id: string) {
return;
let packet = await context.db.Packet.findUnique({id})
if (!packet) {
console.warn('No packet found with id', id)
Expand Down

0 comments on commit 7368ab8

Please sign in to comment.