Skip to content

Commit 9a1b4bf

Browse files
evm: fix build
client: add TODO
1 parent 58c9057 commit 9a1b4bf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/client/src/rpc/modules/eth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ export class Eth {
521521
throw {
522522
code: 3,
523523
data: bytesToHex(execResult.returnValue),
524-
message: execResult.exceptionError.type.code,
524+
message: execResult.exceptionError.type.code, // TODO EVMError now puts the error "message" into the error type, is this correct?
525525
}
526526
}
527527
return bytesToHex(execResult.returnValue)

packages/evm/src/evm.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import {
99
KECCAK256_NULL,
1010
KECCAK256_RLP,
1111
MAX_INTEGER,
12-
UsageError,
13-
UsageErrorType,
1412
bigIntToBytes,
1513
bytesToUnprefixedHex,
1614
createZeroAddress,

0 commit comments

Comments
 (0)