File tree Expand file tree Collapse file tree 3 files changed +24
-9
lines changed
packages/apps/reputation-oracle/server/src Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 1+ import { MigrationInterface , QueryRunner } from 'typeorm' ;
2+
3+ export class RemoveOracleAddress1712220998800 implements MigrationInterface {
4+ name = 'RemoveOracleAddress1712220998800' ;
5+
6+ public async up ( queryRunner : QueryRunner ) : Promise < void > {
7+ await queryRunner . query (
8+ `ALTER TABLE "hmt"."webhook_incoming" DROP COLUMN "oracle_address"` ,
9+ ) ;
10+ }
11+
12+ public async down ( queryRunner : QueryRunner ) : Promise < void > {
13+ await queryRunner . query (
14+ `ALTER TABLE "hmt"."webhook_incoming" ADD "oracle_address" character varying` ,
15+ ) ;
16+ }
17+ }
Original file line number Diff line number Diff line change @@ -178,12 +178,13 @@ export class CronJobService {
178178 await escrowClient . getJobLauncherAddress ( escrowAddress ) ,
179179 )
180180 ) . webhookUrl ,
181- (
182- await OperatorUtils . getLeader (
183- chainId ,
184- await escrowClient . getRecordingOracleAddress ( escrowAddress ) ,
185- )
186- ) . webhookUrl ,
181+ // Temporarily disable sending webhook to Recoring Oracle
182+ // (
183+ // await OperatorUtils.getLeader(
184+ // chainId,
185+ // await escrowClient.getRecordingOracleAddress(escrowAddress),
186+ // )
187+ // ).webhookUrl,
187188 ] ;
188189 const webhookBody : WebhookDto = {
189190 chainId,
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ export class WebhookIncomingEntity extends BaseEntity {
1111 @Column ( { type : 'int' } )
1212 public chainId : ChainId ;
1313
14- @Column ( { type : 'varchar' , nullable : true } )
15- public oracleAddress : string ;
16-
1714 @Column ( { type : 'varchar' } )
1815 public escrowAddress : string ;
1916
You can’t perform that action at this time.
0 commit comments