Skip to content

Commit

Permalink
fix: use abstract signer
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Mar 7, 2024
1 parent f156c7a commit 014b4f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/handlers/hard-quote/injector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { KMSClient } from '@aws-sdk/client-kms';
import { Signer } from 'ethers';
import { KmsSigner } from '@uniswap/signer';
import { IMetric, setGlobalLogger, setGlobalMetric } from '@uniswap/smart-order-router';
import { MetricsLogger } from 'aws-embedded-metrics';
Expand Down Expand Up @@ -26,7 +27,7 @@ import { HardQuoteRequestBody } from './schema';
export interface ContainerInjected {
quoters: Quoter[];
firehose: FirehoseLogger;
cosigner: KmsSigner;
cosigner: Signer;
cosignerAddress: string;
orderServiceProvider: OrderServiceProvider;
}
Expand Down
3 changes: 2 additions & 1 deletion test/handlers/hard-quote/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ describe('Quote handler', () => {
getContainerInjected: () => {
return {
quoters,
cosignerWallet,
cosigner: cosignerWallet,
cosignerAddress: cosignerWallet.address,
orderServiceProvider: new MockOrderServiceProvider(),
};
},
Expand Down

0 comments on commit 014b4f7

Please sign in to comment.