File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " viem " : patch
3+ ---
4+
5+ Removed hash on request cache key.
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ import type {
5656 EIP1193RequestOptions ,
5757} from '../types/eip1193.js'
5858import { stringToHex } from './encoding/toHex.js'
59- import { keccak256 } from './hash/keccak256.js'
6059import type { CreateBatchSchedulerErrorType } from './promise/createBatchScheduler.js'
6160import { withDedupe } from './promise/withDedupe.js'
6261import { type WithRetryErrorType , withRetry } from './promise/withRetry.js'
@@ -120,7 +119,7 @@ export function buildRequest<request extends (args: any) => Promise<any>>(
120119 } )
121120
122121 const requestId = dedupe
123- ? keccak256 ( stringToHex ( `${ uid } .${ stringify ( args ) } ` ) )
122+ ? stringToHex ( `${ uid } .${ stringify ( args ) } ` )
124123 : undefined
125124 return withDedupe (
126125 ( ) =>
You can’t perform that action at this time.
0 commit comments