Releases: axieinfinity/bridge-v2
v0.2.7
What's Changed
- fix: stats lock all routines when it cannot connect to Ronin stats server in #92
- Upgrade Golang version from 0.18 to 0.20
- Reflect Bridge version to v0.2.7
Full Changelog: v0.2.6...v0.2.7
v0.2.6
What's Changed
- fix: processing pending task only when backoff time expires by @minh-bq in #78
- Implement bridge stats by @DNK90 in #82
- config/testnet: change the Goerli gateway address, remove unused address by @minh-bq in #84
- feat: add gateway contract version detection by @minh-bq in #87
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's Changed
Reserve more gas than the returned number from eth_estimateGas to avoid transaction failure due to out of gas.
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
- feat: add support for legacy bridge operator key by @minh-bq in #72
- feat: check if contract is paused before continue processing tasks by @minh-bq in #73
- chore: add FROM_BLOCK environment variable by @minh-bq in #74
- chore: bump golang to 1.18 version by @minh-bq in #75
Full Changelog: v0.2.3...v0.2.4
Upgrading guide
To upgrade, follow these steps:
- Update the .env file:
BRIDGE_IMAGE=http://ghcr.io/axieinfinity/bridge:v0.2.4-70568ab
BRIDGE_OPERATOR_PRIVATE_KEY=BRIDGE_OPERATOR_PRIVATE_KEY
BRIDGE_VOTER_PRIVATE_KEY=BRIDGE_VOTER_PRIVATE_KEY
RONIN_LEGACY_BRIDGE_OPERATOR_KEY=RONIN_LEGACY_BRIDGE_OPERATOR_KEY
Set your BRIDGE_IMAGE
to the latest version (0.2.4) by copying the value from the preceding code block.
Next, create new keys:
BRIDGE_OPERATOR_PRIVATE_KEY: Your new bridge operator private key without the 0x prefix.
BRIDGE_VOTER_PRIVATE_KEY: Your new bridge voter private key without the 0x prefix
RONIN_LEGACY_BRIDGE_OPERATOR_KEY: Your PoA node’s private key—you can copy the value from VALIDATOR_PRIVATE_KEY.
- Update the docker-compose.yaml file:
In docker-compose.yaml, delete RONIN_VALIDATOR_KEY from the bridge’s environment attribute:
bridge:
image: ${BRIDGE_IMAGE}
...
environment:
...
- RONIN_VALIDATOR_KEY=${VALIDATOR_PRIVATE_KEY} <-- delete this
Create three new keys under the bridge’s environment attribute:
bridge:
image: ${BRIDGE_IMAGE}
...
environment:
...
- RONIN_BRIDGE_OPERATOR_KEY=${BRIDGE_OPERATOR_PRIVATE_KEY}
- RONIN_BRIDGE_VOTER_KEY=${BRIDGE_VOTER_PRIVATE_KEY}
- RONIN_LEGACY_BRIDGE_OPERATOR_KEY=${RONIN_LEGACY_BRIDGE_OPERATOR_KEY}
...
- Pull the new image and restart the bridge container:
docker-compose up -d
- Verify that your bridge container is up and running with the correct address:
docker logs bridge
bridge | INFO [04-04|07:28:53.358] [RoninListener] Operator account address=0xD76B33A7ce5dbf374400A8Af6f825xxxxx
bridge | INFO [04-04|07:28:53.358] [RoninListener] Voter account address=0xB2106e0b921c682d824bd5276902axxxxx
bridge | INFO [04-04|07:28:53.359] [RoninListener] Legacy bridge operator account address=0xE6A695F7D96D549b0d176D591Dxxxx
v0.2.3
What's Changed
- chore: update bridge operator environment name by @minh-bq in #68
- chore(ci): fix - trigger CI workflow by @qui-pham in #64
- chore: bump bridge-core version, define new functions in updated interface by @minh-bq in #69
- chore: update mainnet configuration by @minh-bq in #70
Full Changelog: v0.2.2...v0.2.3
v0.2.2
v0.2.1
What's Changed
- fix: check voter's address instead of operator's in voteBridgeOperator by @minh-bq in #57
- fix: update isTrustedNode's logic by @linh-1 in #58
- fix: bump bridge contract by @linh-1 in #59
- chore: add some warn logs for easier debugging by @minh-bq in #60
- chore: add ci for release docker image by @qui-pham in #61
- chore: fix - docker registry - ghcr.io by @qui-pham in #62
- chore: fix - public base image and edit dockerfile by @qui-pham in #63
New Contributors
Full Changelog: 0.2.0...0.2.1
PoSA (v0.2.0)
What's Changed
We implement new functions to support voting and relaying bridge operators (#30, #36), support emergency exit (#55). Besides, we fix many bugs to make the bridge more robust and stable.
Full Changelog: 0.1.1...0.2.0
0.1.1
What's Changed
- Public many internal packages and removed redudant lines of code by @ssscrom in #14
- Integrate KMS signing to bridge-v2 by @minh-bq in #13
- Support-private-repos by @huyngopt1994 in #15
- fix: Add conflict handler to prevent processing callback job failed by @DNK90 in #16
- Updated new version of bridge core by @ssscrom in #17
- Rebuild-docker-file by @huyngopt1994 in #18
- Remove KMS config in config file, add KMS config to README by @minh-bq in #19
- Updated rospten to goerli by @ssscrom in #21
- Removed cleaner by @ssscrom in #22
- chore: Update bridge-core to v0.1.1 by @DNK90 in #23
New Contributors
Full Changelog: 0.1.0...0.1.1