File tree Expand file tree Collapse file tree 6 files changed +12
-19
lines changed Expand file tree Collapse file tree 6 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ The Graph Network's testnet is on Arbitrum Sepolia (eip155:421614). Sepolia netw
77| Component | Release |
88| ------------------ | ------------------------------------------------------------------------------------ |
99| contracts | [ 5.3.3] ( https://github.com/graphprotocol/contracts/releases/tag/v5.3.3 ) |
10- | indexer-agent | [ 0.23.5 ] ( https://github.com/graphprotocol/indexer/releases/tag/v0.23.5 ) |
11- | indexer-cli | [ 0.23.5 ] ( https://github.com/graphprotocol/indexer/releases/tag/v0.23.5 ) |
10+ | indexer-agent | [ 0.23.7 ] ( https://github.com/graphprotocol/indexer/releases/tag/v0.23.7 ) |
11+ | indexer-cli | [ 0.23.7 ] ( https://github.com/graphprotocol/indexer/releases/tag/v0.23.7 ) |
1212| indexer-service-rs | [ 1.0.0] ( https://github.com/graphprotocol/indexer-rs/releases/tag/v1.0.0 ) |
1313| tap-agent | [ 1.0.0] ( https://github.com/graphprotocol/indexer-rs/releases/tag/v1.0.0 ) |
1414| graph-node | [ 0.35.1] ( https://github.com/graphprotocol/graph-node/releases/tag/v0.35.1 ) |
Original file line number Diff line number Diff line change 44 ],
55 "npmClient" : " yarn" ,
66 "useWorkspaces" : true ,
7- "version" : " 0.23.5 "
7+ "version" : " 0.23.7 "
88}
Original file line number Diff line number Diff line change 11{
22 "name" : " @graphprotocol/indexer-agent" ,
3- "version" : " 0.23.5 " ,
3+ "version" : " 0.23.7 " ,
44 "description" : " Indexer agent" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
3030 },
3131 "dependencies" : {
3232 "@graphprotocol/common-ts" : " 2.0.11" ,
33- "@graphprotocol/indexer-common" : " ^0.23.5 " ,
33+ "@graphprotocol/indexer-common" : " ^0.23.7 " ,
3434 "@thi.ng/heaps" : " ^1.3.1" ,
3535 "axios" : " 0.26.1" ,
3636 "bs58" : " 5.0.0" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @graphprotocol/indexer-cli" ,
3- "version" : " 0.23.5 " ,
3+ "version" : " 0.23.7 " ,
44 "description" : " Indexer CLI for The Graph Network" ,
55 "main" : " ./dist/cli.js" ,
66 "files" : [
2727 },
2828 "dependencies" : {
2929 "@graphprotocol/common-ts" : " 2.0.11" ,
30- "@graphprotocol/indexer-common" : " ^0.23.5 " ,
30+ "@graphprotocol/indexer-common" : " ^0.23.7 " ,
3131 "@iarna/toml" : " 2.2.5" ,
3232 "@thi.ng/iterators" : " 5.1.74" ,
3333 "@urql/core" : " 3.1.0" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @graphprotocol/indexer-common" ,
3- "version" : " 0.23.5 " ,
3+ "version" : " 0.23.7 " ,
44 "description" : " Common library for Graph Protocol indexer components" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -231,19 +231,12 @@ const caip2ByChainAlias: { [key: string]: string } = {
231231}
232232
233233async function buildCaip2MappingsFromRegistry ( ) {
234- const networks = registry . networks
235-
236- for ( const network of networks ) {
237- if ( ! network . aliases ) {
234+ for ( const network of registry . networks ) {
235+ const alias = network . id
236+ caip2ByChainAlias [ alias ] = network . caip2Id
237+ if ( ! network . caip2Id . startsWith ( 'eip155' ) ) {
238238 continue
239239 }
240- for ( const alias of network . aliases ) {
241- caip2ByChainAlias [ alias ] = network . caip2Id
242- if ( alias . endsWith ( '-mainnet' ) ) {
243- const aliasWithoutSuffix = alias . replace ( '-mainnet' , '' )
244- caip2ByChainAlias [ aliasWithoutSuffix ] = network . caip2Id
245- }
246- }
247240 const chainId = parseInt ( network . caip2Id . split ( ':' ) [ 1 ] )
248241 if (
249242 typeof chainId === 'number' &&
You can’t perform that action at this time.
0 commit comments