@@ -10,7 +10,6 @@ import {
10
10
generateAddress ,
11
11
generateAddress2 ,
12
12
toBuffer ,
13
- isPrecompiled ,
14
13
isValidChecksumAddress ,
15
14
isValidAddress ,
16
15
toChecksumAddress ,
@@ -375,32 +374,6 @@ describe('generateAddress2: EIP-1014 testdata examples', function() {
375
374
}
376
375
} )
377
376
378
- describe ( 'isPrecompiled' , function ( ) {
379
- it ( 'should return true' , function ( ) {
380
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000001' ) , true )
381
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000002' ) , true )
382
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000003' ) , true )
383
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000004' ) , true )
384
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000005' ) , true )
385
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000006' ) , true )
386
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000007' ) , true )
387
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000008' ) , true )
388
- assert . equal (
389
- isPrecompiled ( Buffer . from ( '0000000000000000000000000000000000000001' , 'hex' ) ) ,
390
- true ,
391
- )
392
- } )
393
- it ( 'should return false' , function ( ) {
394
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000000' ) , false )
395
- assert . equal ( isPrecompiled ( '0000000000000000000000000000000000000009' ) , false )
396
- assert . equal ( isPrecompiled ( '1000000000000000000000000000000000000000' ) , false )
397
- assert . equal (
398
- isPrecompiled ( Buffer . from ( '0000000000000000000000000000000000000000' , 'hex' ) ) ,
399
- false ,
400
- )
401
- } )
402
- } )
403
-
404
377
const eip55ChecksumAddresses = [
405
378
// All caps
406
379
'0x52908400098527886E0F7030069857D2E4169EE7' ,
0 commit comments