exorde-labs / exorde-client

Exorde participation module (Testnet 2022-2023) - CLI
GNU General Public License v3.0
1.11k stars 84 forks source link

refactor: improve Dockerfile, add ingnore files #5

Closed mur-me closed 1 year ago

mur-me commented 1 year ago

Done the following:

mur-me commented 1 year ago

Proof that it is running after my changes:

Selected logging Level:  1 .  (0 = no logs, 1 = general logs, 2 = validation logs, 3 = validation + scraping logs, 4 = detailed validation + scraping logs
Local version signature =  ccf8996aff5917859abca5474cdc76da  Latest (github) version signature =  ccf8996aff5917859abca5474cdc76da

[INITIAL MODULE SETUP] Downloading code modules on decentralized storage...
        Code Sub-Module  1  /  4 .
....    Code Sub-Module  2  /  4 .
....    Code Sub-Module  3  /  4 .
....    Code Sub-Module  4  /  4 .
....
****************
[BYPASS] Impossible to fetch latest code from the Protocol. Fetching from ExordeLabs github:  https://raw.githubusercontent.com/exorde-labs/TestnetProtocol/main/targets/CodeModules.txt
        [Github Override] Code Sub-Module  1
        Downloading...   https://bafybeigionosjw5sksw7ameheypw5jlxlzzpcrfymafvzetycyz45x4m3i.ipfs.w3s.link/Transaction.py
        [Github Override] Code Sub-Module  2
        Downloading...   https://bafybeiaxac77yqfzjwvk3xfiulmsjctujtl4qfhtsssglzbrqilfjps5ea.ipfs.w3s.link/Scraper.py
        [Github Override] Code Sub-Module  3
        Downloading...   https://bafybeiauyfunzdgxnwee3ii74flukck6thn3kvtuieaybwo4t2hjm3goy4.ipfs.w3s.link/Validator.py
        [Github Override] Code Sub-Module  4
        Downloading...   https://bafybeicm2ycixebpknlpj23bylpfmdx35du4rq55aeslwikqnbslcbznqe.ipfs.w3s.link/App.py

[Init] UPDATING CONFIG
[Init] READING CONFIG FILE
[Init] Current Config :  {'ExordeApp': {'ERCAddress': '', 'MainERCAddress': '', 'Updated': 0, 'SendCountryInfo': 1, 'lastInfo': "Let's all restart & let's go. Thanks, we love you guys. Exorde Labs", 'lastUpdate': '1.3.4'}}
[Init] FIRST WORKER LAUNCH
[Init] New Worker Local Address =  0xblablablab
[Init] First funding of the worker wallet
[Initial Auto Faucet] Top up sFuel & some EXDT to worker address...
[Faucet] selecting Auto-Faucet n° 88
[Faucet] Error:  HTTPSConnectionPool(host='light-vast-diphda-archive.skalenodes.com', port=10072): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f860f092500>: Failed to establish a new connection: [Errno 111] Connection refused'))
[Faucet] Auto-Faucet n° 88  Failure... retrying.
mur-me commented 1 year ago

@MathiasExorde please, take a look :pray:

jean-baptiste-exorde commented 1 year ago

Hi, thanks for your improvements. With an earlier version used internally, we had some missing libs using the slim image. When the protocol is back and fully operational, I'll try to build and run the container.

Your PR should be merged today.

mur-me commented 1 year ago

Hi @jean-baptiste-exorde, yeah it was fasttext package and it is required C++ 11 as dependency thus I've added build-essential as apt package to fulfill it