File tree Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.6.53 " ,
2
+ "version" : " 0.6.54 " ,
3
3
"private" : true ,
4
4
"type" : " module" ,
5
5
"scripts" : {
Original file line number Diff line number Diff line change 28
28
"evmExtendedModel" : false ,
29
29
"bufUrl" : " https://buf.build/streamingfast/firehose-ethereum" ,
30
30
"bytesEncoding" : " hex"
31
- }
31
+ },
32
+ "icon" : { "web3Icons" : { "name" : " manta-pacific" } }
32
33
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " megaeth-testnet" ,
3
+ "shortName" : " MegaETH" ,
4
+ "secondName" : " Testnet" ,
5
+ "fullName" : " MegaETH Testnet" ,
6
+ "aliases" : [" evm-6342" ],
7
+ "caip2Id" : " eip155:6342" ,
8
+ "networkType" : " testnet" ,
9
+ "graphNode" : { "protocol" : " ethereum" },
10
+ "explorerUrls" : [" https://www.megaexplorer.xyz/" ],
11
+ "rpcUrls" : [" https://carrot.megaeth.com/rpc" ],
12
+ "services" : { "subgraphs" : [" https://api.studio.thegraph.com/deploy" ] },
13
+ "issuanceRewards" : false ,
14
+ "nativeToken" : " ETH" ,
15
+ "genesis" : {
16
+ "hash" : " 0xe56bd7ae2a26376ed01d4775edcec3fc18817451137e4a06a5899bf478b75500" ,
17
+ "height" : 0
18
+ },
19
+ "firehose" : {
20
+ "blockType" : " sf.ethereum.type.v2.Block" ,
21
+ "evmExtendedModel" : true ,
22
+ "bufUrl" : " https://buf.build/streamingfast/firehose-ethereum" ,
23
+ "bytesEncoding" : " hex"
24
+ },
25
+ "icon" : { "web3Icons" : { "name" : " mega-eth" } }
26
+ }
Original file line number Diff line number Diff line change @@ -279,11 +279,7 @@ async function validateWeb3Icons(networks: Network[]) {
279
279
}
280
280
if ( network . icon . web3Icons . name ) {
281
281
const ourIcon = network . icon . web3Icons ;
282
- /**
283
- * in web3icons the fileName is better point of reference than "id"
284
- * since id can differ from fileName, using id would prevent loading icons from github urls
285
- */
286
- const web3Icon = web3Icons . find ( ( i ) => i . fileName === ourIcon . name ) ;
282
+ const web3Icon = web3Icons . find ( ( i ) => i . id === ourIcon . name ) ;
287
283
if ( ! web3Icon ) {
288
284
ERRORS . push (
289
285
`\`${ network . id } \` - web3icon id does not exist on web3Icons: \`${ ourIcon . name } \`` ,
You can’t perform that action at this time.
0 commit comments