Skip to content

Releases: axieinfinity/bridge-v2

v0.2.7

27 Nov 10:20
Compare
Choose a tag to compare

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

11 Oct 06:21
1daa149
Compare
Choose a tag to compare

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

30 May 06:21
e5a7f57
Compare
Choose a tag to compare

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

05 Apr 08:28
70568ab
Compare
Choose a tag to compare

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:

  1. 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.
  1. 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}
    ...
  1. Pull the new image and restart the bridge container:
docker-compose up -d
  1. 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

27 Mar 10:45
56f7328
Compare
Choose a tag to compare

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

09 Mar 09:58
da196d9
Compare
Choose a tag to compare

What's Changed

Update testnet configuration to new RoninGovernanceAdmin address

  • chore: check bridge voter's voting status earlier by @minh-bq in #66
  • chore: update testnet RoninGovernanceAdmin contract address by @minh-bq in #67

Full Changelog: 0.2.1...0.2.2

v0.2.1

31 Jan 08:36
c15a725
Compare
Choose a tag to compare

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)

05 Jan 04:27
52f7709
Compare
Choose a tag to compare

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

19 Oct 05:54
b4652d3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.1.0...0.1.1

v0.1.0

04 Aug 07:38
810c047
Compare
Choose a tag to compare

What's Changed

  • added prometheus metrics by @ssscrom in #9
  • Added pprof for profiling by @ssscrom in #10
  • Split bridge codes into small repositories (bridge-core, bridge-contracts, bridge-migrations) by @DNK90 in #12

New Contributors

Full Changelog: 2.0.1-8e3d254...0.1.0