Skip to content

Commit da22917

Browse files
update
1 parent dbbe34e commit da22917

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

packages/analyzer/src/utils/functionManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,10 @@ export class FunctionManager {
298298

299299
private convertTraceLogToFunction(traceLog: TTraceLog, contractFunctions: TContractFunction[]): TContractFunction {
300300
const baseContractInfo = this.dataLoader.analyzerContractData.get(traceLog.address, 'contractBaseData')
301-
302301
const inputs: TContractFunctionInputParameter[] =
303302
traceLog.callTypeData?.functionFragment?.inputs?.map((input, index) => {
304303
return {
305-
value: traceLog.callTypeData.decodedInput.getValue(input.name),
304+
value: traceLog.callTypeData?.decodedInput?.getValue(input.name),
306305
type: input.type,
307306
stackInitialIndex: index,
308307
name: input.name,

packages/transaction-trace-provider/hardhat.config.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,21 @@ export const config: HardhatUserConfig = {
1919
// CAUTION:
2020
// we shouldn't fork from too old blocks, because of getting errors of
2121
// too many requests per second
22-
// [ChainId.polygon]: {
23-
// hardforkHistory: {
24-
// cancun: 0,
25-
// },
26-
// },
22+
[ChainId.polygon]: {
23+
hardforkHistory: {
24+
cancun: 1,
25+
london: 1
26+
},
27+
},
2728
[ChainId.sepolia]: {
2829
hardforkHistory: {
2930
cancun: 3_100_000,
3031
},
3132
},
3233
[ChainId.amoy]: {
3334
hardforkHistory: {
34-
cancun: 0,
35+
cancun: 1,
36+
london: 1
3537
},
3638
},
3739
[ChainId.arbitrum]: {

0 commit comments

Comments
 (0)