Skip to content

Latest commit

 

History

History
362 lines (298 loc) · 8.95 KB

changelog.md

File metadata and controls

362 lines (298 loc) · 8.95 KB

logo


Changelog

v2.4.5(12.12.2022)

  • 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

How to update to v2.4.5

Pull latest changes

git checkout mainnet
git pull origin mainnet

Add to env

SOLANA_API_WAIT_BATCH_INTERVAL=1000

v2.3.3(05.08.2022)

  • fix check new assets for solana
  • up solana reader version

How to update to v2.3.3

Pull latest changes

git checkout mainnet
git pull origin mainnet

v2.3.2(12.07.2022)

  • add solana support
  • refactoring
  • update packages
  • add http request/response logging for external service
  • add checking .env

How to update to v2.3.2

1. Pull latest changes

git checkout mainnet
git pull origin mainnet

2. Add to env

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

3. Add to array in config/chains_config.json

{
"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.

4. Run debridge-node

docker-compose up -d 

v2.2.2(21.03.2022)

  • fix memory leak issue
  • don't exit if there are no valid rpc's for the chain
  • add unit tests

How to update to v2.2.2

Pull latest changes

git checkout mainnet
git pull origin mainnet

Run debridge-node

docker-compose up -d --build --remove-orphans

v2.2.1(16.03.2022)

  • fix nonce validation for historical data

How to update to v2.2.1

Pull latest changes

git checkout mainnet
git pull origin mainnet

Run debridge-node

docker-compose up -d --build --remove-orphans

v2.2.0(14.03.2022)

  • changed deployId calculation formula

How to update to v2.2.0

git checkout mainnet
git pull origin mainnet

2. Run debridge-node

docker-compose up -d --build --remove-orphans

3. Regenerate signatures for deployed tokens in the postgres.

# 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;

update to v2.2.0


v2.1.1(13.03.2022)

  • fix support for multinode rpc connection
  • fix nonce validation

How to update to v2.1.1

git checkout mainnet
git pull origin mainnet

2. Run debridge-node

docker-compose up -d --build --remove-orphans

v2.1.0(09.03.2022)

  • 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

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

update env vars

3. Optional. If you need to use multiple rpc providers or setting up basic auth just update config/chains_config.json as follow::

multiple rpc providers

4. Run debridge-node

docker-compose up -d --build --remove-orphans

v1.1.4 (24.12.2021)

  • 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

How to update to v1.1.4

1. Pull latest changes

git checkout master

git pull

2. Add env vars to .env file:

THROTTLER_TTL=60
THROTTLER_LIMIT=10

3. Run

docker-compose up -d --remove-orphans

v1.1.3 (20.12.2021)

  • add timeout for Web3 requests

Full Changelog: https://github.com/debridge-finance/debridge-launcher/compare/v1.1.2...v1.1.3

How to update to v1.1.3

1. Pull latest changes

git checkout master
git pull

2. Run

docker-compose up -d

v1.1.2 (10.12.2021)

  • 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

How to update to v1.1.2

1. Pull latest changes

git checkout master
git pull

2. Run

docker-compose up -d

v1.1.1 (27.11.2021)

  • 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

How to update to v1.1.1

1. Fetch and checkout to the right tag

git fetch && git checkout v1.1.1

2. Since the new orbitdb service was created, you should add following envs to your .env file:

 - 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

changed env vars 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

3. Run

docker-compose up -d

v1.1.0 (25.11.2021)

  • 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

How to update to v1.1.0

# 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

v1.0.2 (20.11.2021)

  • 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

How to update to v1.0.2

# 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 env vars

v1.0.0 (27.10.2021)

  • 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