Skip to content

Commit

Permalink
Support added for Atlas update
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanAllaire committed Feb 27, 2024
1 parent 8abeb23 commit 024e174
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 58 deletions.
56 changes: 28 additions & 28 deletions configs/development.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
rpc:
mainnet:
uri: ${MAINNET_RPC_URI:-https://rpc.tzkt.io/mainnet}
timeout: 20
requests_per_second: 15
ghostnet:
uri: https://rpc.tzkt.io/ghostnet
timeout: 20
requests_per_second: 15
oxfordnet:
uri: https://rpc.tzkt.io/oxfordnet
# mainnet:
# uri: ${MAINNET_RPC_URI:-https://rpc.tzkt.io/mainnet}
# timeout: 20
# requests_per_second: 15
# ghostnet:
# uri: https://rpc.tzkt.io/ghostnet
# timeout: 20
# requests_per_second: 15
atlasnet:
uri: https://rpc.mavryk.network/atlasnet
timeout: 20
requests_per_second: 20

log_level: ${LOG_LEVEL:-info}

services:
mainnet:
mempool: https://mempool.dipdup.net/v1/graphql
ghostnet:
mempool: https://mempool.test.dipdup.net/v1/graphql
# mainnet:
# mempool: https://mempool.dipdup.net/v1/graphql
# ghostnet:
# mempool: https://mempool.test.dipdup.net/v1/graphql
oxfordnet:
mempool: https://mempool.test.dipdup.net/v1/graphql

Expand Down Expand Up @@ -55,27 +55,27 @@ api:
mempool_enabled: true
sandbox_mode: false
rpc:
mainnet: https://rpc.tzkt.io/mainnet
ghostnet: https://rpc.tzkt.io/ghostnet
oxfordnet: https://rpc.tzkt.io/oxfordnet
# mainnet: https://rpc.tzkt.io/mainnet
# ghostnet: https://rpc.tzkt.io/ghostnet
atlasnet: https://rpc.mavryk.network/atlasnet
networks:
- mainnet
- ghostnet
- oxfordnet
# - mainnet
# - ghostnet
- atlasnet

indexer:
project_name: indexer
sentry_enabled: false
networks:
mainnet:
receiver_threads: 5
ghostnet:
receiver_threads: 5
oxfordnet:
# mainnet:
# receiver_threads: 5
# ghostnet:
# receiver_threads: 5
atlasnet:
receiver_threads: 10

scripts:
networks:
- mainnet
- ghostnet
- oxfordnet
# - mainnet
# - ghostnet
- atlasnet
54 changes: 27 additions & 27 deletions configs/production.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
rpc:
mainnet:
uri: ${MAINNET_RPC_URI:-https://rpc.tzkt.io/mainnet}
timeout: 20
requests_per_second: 10
ghostnet:
uri: https://rpc.tzkt.io/ghostnet
timeout: 20
requests_per_second: 10
oxfordnet:
uri: https://rpc.tzkt.io/oxfordnet
# mainnet:
# uri: ${MAINNET_RPC_URI:-https://rpc.tzkt.io/mainnet}
# timeout: 20
# requests_per_second: 10
# ghostnet:
# uri: https://rpc.tzkt.io/ghostnet
# timeout: 20
# requests_per_second: 10
atlasnet:
uri: https://rpc.mavryk.network/atlasnet
timeout: 20
requests_per_second: 20

log_level: ${LOG_LEVEL:-info}

services:
mainnet:
mempool: https://mempool.dipdup.net/v1/graphql
ghostnet:
mempool: https://mempool.test.dipdup.net/v1/graphql
# mempool: https://mempool.dipdup.net/v1/graphql
# ghostnet:
# mempool: https://mempool.test.dipdup.net/v1/graphql
oxfordnet:
mempool: https://mempool.test.dipdup.net/v1/graphql

Expand Down Expand Up @@ -58,23 +58,23 @@ api:
mempool_enabled: true
sandbox_mode: false
rpc:
mainnet: https://rpc.tzkt.io/mainnet
ghostnet: https://rpc.tzkt.io/ghostnet
oxfordnet: https://rpc.tzkt.io/oxfordnet
# mainnet: https://rpc.tzkt.io/mainnet
# ghostnet: https://rpc.tzkt.io/ghostnet
atlasnet: https://rpc.mavryk.network/atlasnet
networks:
- mainnet
- ghostnet
- oxfordnet
# - mainnet
# - ghostnet
- atlasnet

indexer:
project_name: indexer
sentry_enabled: true
networks:
mainnet:
receiver_threads: ${MAINNET_THREADS:-10}
ghostnet:
receiver_threads: ${TESTNET_THREADS:-10}
oxfordnet:
# mainnet:
# receiver_threads: ${MAINNET_THREADS:-10}
# ghostnet:
# receiver_threads: ${TESTNET_THREADS:-10}
atlasnet:
receiver_threads: ${TESTNET_THREADS:-10}

scripts:
Expand All @@ -84,6 +84,6 @@ scripts:
access_key_id: ${AWS_ACCESS_KEY_ID}
secret_access_key: ${AWS_SECRET_ACCESS_KEY}
networks:
- mainnet
- ghostnet
- oxfordnet
# - mainnet
# - ghostnet
- atlasnet

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 4 additions & 0 deletions internal/parsers/protocols/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ func Get(ctx *config.Context, protocol string) (*Specific, error) {
"PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1",
"PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8",
<<<<<<< HEAD
"ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH":
=======
"PtAtLasLVMXnJGQPjVwVsLse9ncWgqCu32NKRsUM8R5u6RRDn5v":
>>>>>>> 50b68789 (Support added for Atlas update)
return &Specific{
StorageParser: storage.NewLazyBabylon(ctx.BigMapDiffs, ctx.Operations, ctx.Accounts),
ContractParser: contract.NewJakarta(ctx),
Expand Down

0 comments on commit 024e174

Please sign in to comment.