What's Changed
- Added support for multinode rpc connection
- Validate nonce before saving event to the database
- Refactor debrige-node Dockerfile and docker-compose
- Fix leaking connections to the rpc provider
- Add basic auth for node rpc
Full Changelog: v1.2.0...v2.1.0
How to update to v2.1.0
git checkout mainnet
git pull origin mainnet
2. Update .env file with new env var:
THROTTLER_TTL=60
THROTTLER_LIMIT=10
WEB3_TIMEOUT=30000
ENABLE_DATAFIX=true // fills new columns `nonce` and `blockNumber` for historical data
3. Optional. If you need to use multiple rpc providers or setting up basic auth just update config/chains_config.json as follow:
4. Run debridge-node
docker-compose up -d --build --remove-orphans