- add support running without deBridge api (set empty API_BASE_URL on env)
- change Solana sync algorithm (save intermediate progress, wait SOLANA_API_WAIT_BATCH_INTERVAL between batch requests)
- update Solana reader
- up packages
git checkout mainnet
git pull origin mainnet
SOLANA_API_WAIT_BATCH_INTERVAL=1000
- fix check new assets for solana
- up solana reader version
git checkout mainnet
git pull origin mainnet
- add solana support
- refactoring
- update packages
- add http request/response logging for external service
- add checking .env
git checkout mainnet
git pull origin mainnet
SOLANA_DATA_READER_PORT=3007
SOLANA_RPC=
DEBRIDGE_PK=
SETTINGS_PK=
SOLANA_DATA_READER_API_BASE_URL=http://debridge-solanadatareader${DOCKER_ID}:${SOLANA_DATA_READER_PORT}
SOLANA_DATA_READER_API_SENTRY_DSN=
SOLANA_GET_HISTORICAL_BATCH_SIZE=200
SOLANA_GET_EVENTS_BATCH_SIZE=200
SOLANA_API_REQUEST_TIMEOUT=30000
{
"chainId": 7565164,
"name": "SOLANA",
"debridgeAddr": "",
"firstStartBlock": 0,
"provider": "",
"interval": 10000,
"blockConfirmation": 0,
"maxBlockRange": 0
}
Not used next properties: provider, blockConfirmation, maxBlockRange, debridgeAddr. Keep it in json to consistency data.
docker-compose up -d
- fix memory leak issue
- don't exit if there are no valid rpc's for the chain
- add unit tests
git checkout mainnet
git pull origin mainnet
docker-compose up -d --build --remove-orphans
- fix nonce validation for historical data
git checkout mainnet
git pull origin mainnet
docker-compose up -d --build --remove-orphans
- changed deployId calculation formula
git checkout mainnet
git pull origin mainnet
docker-compose up -d --build --remove-orphans
# get postgres container IPAddress
docker inspect postgres_0 | grep "IPAddress"
# run psql with given IPAddress,
psql -h IPAddress -U postgres
# connect to the ei_0 database
\c ei_0
Execute sql scripts:
DELETE FROM "confirmNewAssets";
UPDATE "submissions" SET "assetsStatus" = 1;
- fix support for multinode rpc connection
- fix nonce validation
git checkout mainnet
git pull origin mainnet
docker-compose up -d --build --remove-orphans
- 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
git checkout mainnet
git pull origin mainnet
THROTTLER_TTL=60
THROTTLER_LIMIT=10
WEB3_TIMEOUT=30000
ENABLE_DATAFIX=true
3. Optional. If you need to use multiple rpc providers or setting up basic auth just update config/chains_config.json as follow::
docker-compose up -d --build --remove-orphans
- temporary removed ipfs and orbitdb service
- applied halborn security audit
Full Changelog: https://github.com/debridge-finance/debridge-launcher/compare/v1.1.3...v1.1.4
git checkout master
git pull
THROTTLER_TTL=60
THROTTLER_LIMIT=10
docker-compose up -d --remove-orphans
- add timeout for Web3 requests
Full Changelog: https://github.com/debridge-finance/debridge-launcher/compare/v1.1.2...v1.1.3
git checkout master
git pull
docker-compose up -d
- add checker for chains_config
- fix config volume mounting
- send debridge-node version to the debridge
- create public ipfs-daemon image
Full Changelog: https://github.com/debridge-finance/debridge-launcher/compare/v1.1.1...v1.1.2
git checkout master
git pull
docker-compose up -d
- A component responsible for storing data in IPFS was moved to a separate service - orbitdb
- Fix LogConfirmNewAssets sending to orbitdb
- Add new env vars for orbitdb service and update .default.env to use specific sections for each service
git fetch && git checkout v1.1.1
- ORBITDB_JWT_SECRET # JWT random string. We recommend using upper and lower case symbols, numbers. The length should be at least 30 characters.
- ORBITDB_LOGIN # create a login to orbitdb API authentication
- ORBITDB_PASSWORD # create a strong password to orbitdb API authentication
- ORBITDB_PORT=3000
- ORBITDB_NODE_OPTIONS=--max_old_space_size=8192
- DEBRIDGE_NODE_NODE_OPTIONS=--max_old_space_size=8192
- ORBITDB_URL=http://orbitdb${DOCKER_ID}:${ORBITDB_PORT} # ORBITDB_PORT and DOCKER_ID should be set before ORBITDB_URL
Note: you can find the full list of env vars that you should need to setting up at the .default.env file. The simplest way to check if your .env file is up to date is to backup current .env file, recreate it from .default.env and update it with your values from your original .env.backup file:
cp .env .env.backup
cp .default.env .env
vi .env
docker-compose up -d
- Move orbitdb to a separate service
- Add checker for chains_config RPC correctness
- Add monitorings (mounts to the stats directory at host)
- Add node options env for debridge-node and orbitdb services to the .env
- Disable postgres logging for debridge-node
# pull the latest version
git pull
git checkout v1.1.0
# update .env file:
# 1. add env var `ORBITDB_NODE_OPTION=--max_old_space_size=8192`
# 2. add env var `DEBRIDGE_NODE_NODE_OPTION=--max_old_space_size=8192`
# you can find the full list of env vars at `.default.env`
# if `./config/chains_config.json` doesn't exist create it from `./config/chains_config_default.json`
cp ./config/chains_config_default.json ./config/chains_config.json
# and update ./config/chains_config.json with your values
# run new version
docker-compose up —build -d
- debridge-node: add timeout for http requests
- ipfs-daemon: config node with entrypoint.sh script
- docker-compose.yml: update env vars for debridge-node service
- .env: update vars for postgres and add variable
IPFS_URL
# pull the latest version
git pull
# update .env file as on the screenshot:
# 1. remove `EI_DATABASE`
# 2. change `POSTGRES_MULTIPLE_DATABASES=${EI_DATABASE}` to `POSTGRES_DATABASE=ei${PG_RANDOM_ID}`
# 3. add env var `IPFS_URL=http://ipfs-daemon${DOCKER_ID}:5001/api/v0`
# create ./config/chains_config.json from ./config/chains_config_default.json
cp ./config/chains_config_default.json ./config/chains_config.json
# update ./config/chains_config.json with your values
# run new version
docker-compose up —build -d
- Change javascript instance of IPFS to separate service, which runs go-IPFS daemon.
- Move orbitdb mounting directory on the host to the top level at
./data/orbitdb
. - Added ARBITRUM testnet to config/chains_config.json
- Added Sentry. If you are using sentry, please update SENTRY_DSN at .env file.
- Removed DEBRIDGE_API_ACCESS_KEY. We support validators auth by signing message with private key