Skip to content

Commit

Permalink
Merge pull request #123 from embrio-tech/main
Browse files Browse the repository at this point in the history
Drop tinlake separation on ETH node
  • Loading branch information
hieronx authored Mar 13, 2024
2 parents d8e6772 + dcc715b commit f3e3e63
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 58 deletions.
28 changes: 23 additions & 5 deletions chains-evm/eth/centrifuge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,30 @@ network:
chainId: '1' # Ethereum Mainnet
endpoint: 'https://mainnet.infura.io/v3/a4ba76cd4be643618572e7467a444e3a'
dictionary: 'https://gx.api.subquery.network/sq/subquery/eth-dictionary'
bypassBlocks:
- '18721040-18735450'
- '18735460-18747630'
- '18747640-18763940'
dataSources:
- kind: ethereum/Runtime
startBlock: 18721030
options:
address: '0x78E9e622A57f70F1E0Ec652A4931E4e278e58142'
address: '0x78E9e622A57f70F1E0Ec652A4931E4e278e58142'
- kind: ethereum/Runtime
startBlock: 11063000
options:
abi: navFeed
assets:
navFeed:
file: ./abi/navfeed.abi.json
reserve:
file: ./abi/reserve.abi.json
shelf:
file: ./abi/shelf.abi.json
pile:
file: ./abi/pile.abi.json
multicall:
file: ./abi/multicall.abi.json
mapping:
file: ./dist/index.js
handlers:
- handler: handleEthBlock
kind: ethereum/BlockHandler
filter:
modulo: 300
45 changes: 0 additions & 45 deletions chains-tinlake/centrifuge.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions project-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@ for subdir in $subdirs; do
merge-yaml -i ./$subdir/${CHAIN_ID}.yaml ./chains-evm/_root.yaml -o ./project-${subdir##*/}.yaml
echo " - project-${subdir##*/}.yaml" >> subquery-multichain.yaml
fi
done

#TINLAKE
if [ -e "chains-tinlake/${CHAIN_ID}.yaml" ]; then
echo "Generating Tinlake config for"
merge-yaml -i ./chains-tinlake/${CHAIN_ID}.yaml -o ./project-tinlake.yaml
echo " - project-tinlake.yaml" >> subquery-multichain.yaml
fi
done

0 comments on commit f3e3e63

Please sign in to comment.