Skip to content

Commit 89265bf

Browse files
committed
Fix lint and build issues
1 parent af34eae commit 89265bf

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/evm/src/opcodes/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ export const handlers: Map<number, OpHandler> = new Map([
996996
function (runState, _common) {
997997
const [id, modOffset, modSize, allocCount] = runState.stack.popN(4)
998998
const modulus = runState.memory.read(Number(modOffset), Number(modSize))
999-
runState.evmmaxState.AllocAndSetActive(Number(id), modulus, allocCount)
999+
runState.evmmaxState.allocAndSetActive(Number(id), modulus, allocCount)
10001000
},
10011001
],
10021002
// 0xc1: STOREX

packages/evm/src/opcodes/gas.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
bigIntToBytes,
1010
bytesToBigInt,
1111
equalsBytes,
12-
hexToBigInt,
1312
setLengthLeft,
1413
} from '@ethereumjs/util'
1514

@@ -34,11 +33,7 @@ import {
3433

3534
import type { Common } from '@ethereumjs/common'
3635
import type { Address } from '@ethereumjs/util'
37-
import {
38-
MAX_ALLOC_SIZE,
39-
SETMODX_ODD_MODULUS_COST,
40-
setmodxOddModulusCost,
41-
} from '../evmmax/constants.js'
36+
import { MAX_ALLOC_SIZE, SETMODX_ODD_MODULUS_COST } from '../evmmax/constants.js'
4237
import type { RunState } from '../interpreter.ts'
4338

4439
const EXTCALL_TARGET_MAX = BigInt(2) ** BigInt(8 * 20) - BigInt(1)

0 commit comments

Comments
 (0)