v3.3.3
·
125 commits
to master
since this release
Setup & Configuration Updates
- Added AMOY network details
- Added POLYGON AMOY network
- Added IOTEX TESTNET network
- Updated installation script for multichain support
- Added task price setting in multichain support
- Updated the task execution price during setup
- Updated README.md
- Added dependency manager module
- Added IPFS configuration during setup
- Updated .env variables for default IPFS settings
- Update IPFS configuration settings in the storage module
- Disabled IPv6 during vagrant setup, as well as during agent startup
- ETNY_NGROK_AUTHTOKEN was added
Network & Blockchain Enhancements
- Optimized gas spending on Polygon
- Optimized IOTEX TESTNET gas parameters
- Increased MAX_FEE_PER_GAS to 30 for SEPOLIA
- Integrated threads to run each network in its own thread
- Refactored the code for multichain support
- Consolidated all network parameters inside the .env file
- Added EIP1559 support and related variables
- Added RPC_DELAY variable
- Added BLOC_TIME variable
- Added MIDDLEWARE variable
- Added TOKEN_NAME variable
- Added REWARD_TYPE variable
- Added NETWORK_FEE variable
- Added ENCLAVE_FEE variable
- Added network type variable
- Updated dispersion factor to take into account the size of the network
- Improved caching mechanisms
- Added the possibility to override any network parameter via command line
- Added migration from legacy node configuration
- Reordered imports to allow web3 upgrade
- Upgraded web3.py to version 7.6.1
Performance & Optimization Improvements
- DPRequests are created only once, leaving only heartbeats for regular calls
- Balanced is checked before starting new DP requests
- Memory floor instead of ceil is performed to advertise available resources
- Hardware information is collected during startup
- The agent restarts for upgrade every 48 hours now
- A restart of the threads is performed every 24 hours
- Registry cleanup process now stops the etny-securelock and etny-trustedzone enclaves
- Working dir is now changed to the proper network to manage downloads and cache
- Reordered imports to allow web3 upgrade
- Moved global vars inside init to prevent sharing between threads
IPFS & Storage Enhancements
- Enabled IPFS cache cleanup
- IPFS cache is being cleaned regularly for entries older than 14 days
- IPFS cache migration moves also the downloaded Qm* data
- When IPFS download fails, the local IPFS service is restarted to resume operations
- Retry uploads with restart of IPFS on failure
- Decreased IPFS timeout to 60 seconds
- IPFS garbage collection moved to the end of request processing
- IPFS upload performs a swarm connect every time now
- UFW rules enable IPFS gateway for local access
- IPFS configuration enables the gateway service on port 8080
Transaction & Order Handling Improvements
- All transactions retry several times until successful
- Refactored code for better transaction handling
- Fixed order approval handling
- Improved error handling for order placement
- Fixed a bug that prevented order requests under specific conditions
- Fixed a bug when a previous running task was blocking startup
- Fixed a bug when a task was not continued due to cache update
- Fixed a bug when placing an order would generate a continuous loop
- Integration tests are run until one of them is successful, then the rest are skipped
Logging & Debugging Improvements
- Rewards are shown in the logs now
- General clarification and simplifications of INFO log messages
- Marked most of detailed logs as DEBUG
- Enabled heartbeats during cache building
Bug Fixes
- Minor bug fix during Docker containers cleanup
- Fix Docker cleanup bug after restart and typo
- Fixed bug when installing on testnet
- Fixed RPC setting on testnet installation
- Fixed a bug when task was not continued due to cache update
- Fixed a bug when placing an order would generate a continuous loop
- Fixed SwiftStream startup
- Typo bug fix
Miscellaneous Improvements
- Improve how SGX compatibility is handled. Enabled testing for branch.
- Enabled heartbeats during cache building