Sample envs and blockchain type v3

pull/1085/head
kompotkot 2024-06-11 18:12:02 +00:00
rodzic 576b20a3ea
commit c7926a6719
2 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -160,6 +160,8 @@ def get_db_connection(uuid):
except requests.RequestException as e:
logging.error(f"Network-related error for UUID {uuid}: {str(e)}")
raise ValueError(f"Network-related error for UUID {uuid}: {str(e)}")
except Exception as e:
raise Exception(f"Unhandled exception, error: {str(e)}")
connection_string = response.text.strip('"')
@ -776,7 +778,7 @@ def main() -> None:
"--blockchain-type",
"-b",
type=str,
help=f"Available blockchain types: {[member.value for member in AvailableBlockchainType]}",
help=f"Available blockchain types: {[member.value for member in AvailableBlockchainTypeV3]}",
)
crawl_parser_v3.add_argument(
@ -882,7 +884,7 @@ def main() -> None:
"--blockchain-type",
"-b",
type=str,
help=f"Available blockchain types: {[member.value for member in AvailableBlockchainType]}",
help=f"Available blockchain types: {[member.value for member in AvailableBlockchainTypeV3]}",
)
historical_crawl_parser.add_argument(
"--web3",

Wyświetl plik

@ -3,7 +3,6 @@ export BUGOUT_BROOD_URL="https://auth.bugout.dev"
export BUGOUT_SPIRE_URL="https://spire.bugout.dev"
export HUMBUG_REPORTER_CRAWLERS_TOKEN="<Bugout_Humbug_token_for_crash_reports>"
# Engine environment variables
export MOONSTREAM_ENGINE_URL="https://engineapi.moonstream.to"
@ -19,6 +18,8 @@ export MOONSTREAM_DATA_JOURNAL_ID="<Bugout_journal_id_for_moonstream>"
export MOONSTREAM_MOONWORM_TASKS_JOURNAL="<journal_with_tasks_for_moonworm_crawler>"
export MOONSTREAM_ADMIN_ACCESS_TOKEN="<Bugout_access_token_for_moonstream>"
export NFT_HUMBUG_TOKEN="<Token_for_nft_crawler>"
export MOONSTREAM_DB_V3_CONTROLLER_SEER_ACCESS_TOKEN="<token_to_access_mdb_v3_controller_api>"
export MOONSTREAM_ADMIN_ACCESS_TOKEN="<moonstream_admin_access_token>"
# Blockchain nodes environment variables
export MOONSTREAM_NODE_ETHEREUM_A_EXTERNAL_URI="https://<connection_path_uri_to_node>"
@ -51,7 +52,6 @@ export MOONSTREAM_S3_SMARTCONTRACTS_ABI_BUCKET="<AWS_S3_bucket_to_store_dashboar
export MOONSTREAM_ETHERSCAN_TOKEN="<Token_for_etherscan>"
export COINMARKETCAP_API_KEY="<API_key_to_parse_conmarketcap>"
# Custom crawler
export MOONSTREAM_S3_PUBLIC_DATA_BUCKET="<public_bucket>"
export MOONSTREAM_S3_PUBLIC_DATA_BUCKET_PREFIX="dev"
@ -59,4 +59,4 @@ export MOONSTREAM_PUBLIC_QUERIES_DATA_ACCESS_TOKEN="<access token for run querie
export INFURA_PROJECT_ID="<infura_project_id>"
# Leaderboard worker
export MOONSTREAM_LEADERBOARD_GENERATOR_JOURNAL_ID=<Bugout_journal_id_for_leaderboards>
export MOONSTREAM_LEADERBOARD_GENERATOR_JOURNAL_ID="<Bugout_journal_id_for_leaderboards>"