Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyijing committed Oct 24, 2023
1 parent 95ed7ba commit f1d0b5b
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ lib
package-lock.json
yarn-error.log
.DS_Store
docker-compose.dev.yml
docker-compose-dev.yml
.env.example
62 changes: 31 additions & 31 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ services:
CHAIN_ID: '1'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
SCHEMA: 'events'
# FEAT_EXCLUSIVE_TOKENS_FROM_TRANSACTIONS: "true"
# TOKENS_FROM_TRANSACTIONS_START_BLOCK: 9193266
FEAT_EXCLUSIVE_TOKENS_FROM_TRANSACTIONS: "true"
TOKENS_FROM_TRANSACTIONS_START_BLOCK: 9193266
KAFKA_BROKERS: '${KAFKA_BROKERS}'
KAFKA_SSL: '${KAFKA_SSL}'
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
Expand All @@ -40,35 +40,35 @@ services:
MAX_TX_TO_PULL: 1000
BLOCK_FINALITY_THRESHOLD: 0
SECONDS_BETWEEN_RUNS: 1
# FEAT_UNISWAP_V2_VIP_SWAP_EVENT: "true"
# UNISWAP_V2_VIP_SWAP_SOURCES: "UniswapV2,SushiSwap"
# UNISWAP_V2_VIP_SWAP_START_BLOCK: 10917104
# FEAT_UNISWAP_V3_VIP_SWAP_EVENT: "true"
# UNISWAP_V3_VIP_SWAP_START_BLOCK: 12553659
# FEAT_UNISWAP_V3_SWAP_EVENT: "true"
# UNISWAP_V3_SWAP_START_BLOCK: 16670838
# FEAT_LIMIT_ORDERS: "true"
# V4_NATIVE_FILL_START_BLOCK: "11591021"
# FEAT_PLP_SWAP_EVENT: "true"
# PLP_VIP_START_BLOCK: 11377457
# FEAT_OTC_ORDERS: "true"
# OTC_ORDERS_FEATURE_START_BLOCK: 13143075
# FEAT_CANCEL_EVENTS: "true"
# FEAT_STAKING: "true"
# STAKING_DEPLOYMENT_BLOCK: 8952581
# FEAT_RFQ_EVENT: "true"
# FEAT_V3_NATIVE_FILL: "true"
# FEAT_ERC20_BRIDGE_TRANSFER_FLASHWALLET: "true"
# FLASHWALLET_ADDRESS: "0x22f9dcf4647084d6c31b2765f6910cd85c178c18"
# FLASHWALLET_DEPLOYMENT_BLOCK: 12231666
# FEAT_NFT: "true"
# NFT_FEATURE_START_BLOCK: 14258205
# FEAT_UNISWAP_V2_PAIR_CREATED_EVENT: "true"
# UNISWAP_V2_PAIR_CREATED_PROTOCOL_CONTRACT_ADDRESSES_AND_START_BLOCKS: "UniswapV2:0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f:10000835,SushiSwap:0xc0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac:10794229"
# FEAT_UNISWAP_V2_SYNC_EVENT: "true"
# UNISWAP_V2_SYNC_START_BLOCK: 10000835
# FEAT_ONCHAIN_GOVERNANCE: "true"
# ONCHAIN_GOVERNANCE_START_BLOCK: 16990159
FEAT_UNISWAP_V2_VIP_SWAP_EVENT: "true"
UNISWAP_V2_VIP_SWAP_SOURCES: "UniswapV2,SushiSwap"
UNISWAP_V2_VIP_SWAP_START_BLOCK: 10917104
FEAT_UNISWAP_V3_VIP_SWAP_EVENT: "true"
UNISWAP_V3_VIP_SWAP_START_BLOCK: 12553659
FEAT_UNISWAP_V3_SWAP_EVENT: "true"
UNISWAP_V3_SWAP_START_BLOCK: 16670838
FEAT_LIMIT_ORDERS: "true"
V4_NATIVE_FILL_START_BLOCK: "11591021"
FEAT_PLP_SWAP_EVENT: "true"
PLP_VIP_START_BLOCK: 11377457
FEAT_OTC_ORDERS: "true"
OTC_ORDERS_FEATURE_START_BLOCK: 13143075
FEAT_CANCEL_EVENTS: "true"
FEAT_STAKING: "true"
STAKING_DEPLOYMENT_BLOCK: 8952581
FEAT_RFQ_EVENT: "true"
FEAT_V3_NATIVE_FILL: "true"
FEAT_ERC20_BRIDGE_TRANSFER_FLASHWALLET: "true"
FLASHWALLET_ADDRESS: "0x22f9dcf4647084d6c31b2765f6910cd85c178c18"
FLASHWALLET_DEPLOYMENT_BLOCK: 12231666
FEAT_NFT: "true"
NFT_FEATURE_START_BLOCK: 14258205
FEAT_UNISWAP_V2_PAIR_CREATED_EVENT: "true"
UNISWAP_V2_PAIR_CREATED_PROTOCOL_CONTRACT_ADDRESSES_AND_START_BLOCKS: "UniswapV2:0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f:10000835,SushiSwap:0xc0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac:10794229"
FEAT_UNISWAP_V2_SYNC_EVENT: "true"
UNISWAP_V2_SYNC_START_BLOCK: 10000835
FEAT_ONCHAIN_GOVERNANCE: "true"
ONCHAIN_GOVERNANCE_START_BLOCK: 16990159
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/pull_and_save_events_by_topic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class EventsByTopicScraper {
),
),
] as string[];

if (txHashes.length) {
await getParseSaveTxAsync(connection, producer, web3Source, txHashes);
}
Expand Down

0 comments on commit f1d0b5b

Please sign in to comment.