From 8cc2f151a16adc25d297fbb9ab533008b463d494 Mon Sep 17 00:00:00 2001 From: Debendra Oli Date: Sun, 26 May 2024 12:09:51 +0545 Subject: [PATCH] add: v1.2.6 changelog, rf: version ordering --- CHANGELOG.md | 166 +++++++++++++++++++++++---------------------------- 1 file changed, 76 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a13b39ce..68dea4f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,105 +2,60 @@ All notable changes to this project will be documented in this file. -## [1.1.0] - 2024-03-18 - -### Added - -- Support for cosmos chain -- Xcall contract support -- CallMessage event listener for all supported chains -- Fee related operations cmd. `getFee`, `setFee` and `claimFee` -- Structured events for easier event handling - -### Changed - -- Wallet encryption and decryption -- GO version to 1.22.1 +## [1.2.6] - 2024-05-26 ### Fixed -- Incorrect icon chain balance calculation. -- SetAdmin also checks for the admin address to avoid setting the admin address to the same address. -- Retries is less error prone now, only retries after set interval (5s) when failed. -- Fixed the issue when initilizing config file. - -### Migration from 1.0.0 to 1.1.0 - -We have added support for cosmos chains and xcall contract support. To migrate from 1.0.0 to 1.1.0, you need to update the configuration file and add the cosmos chain details. The configuration file is backward compatible, so you can add the cosmos chain details without affecting the existing configuration. - -Major changes in this release is the wallet encryption and decryption. Previously we only encrypted the keystore password, now we encrypt the entire keystore file adding an extra layer of security. The relay will automatically decrypt the keystore file and use it to sign the messages. - -We have also added the xcall execution contract support. The relay will now listen to the call message event and execute the xcall contract. - -Exection will respect the fees set on configuration. The relay will now calculate the fees and execute the contract. - -Migrate keystore files to the new format by running the following command: - -**important**: Before running the command, make sure you have the AWS KMS key id. You can get the KMS key id by running the `crly config show` command. - -```shell -aws kms encrypt --key-id --plaintext fileb://path/to/keystore.json --output text --query CiphertextBlob | base64 -d > path/to/keystore/address -``` +- Cosmos contracts subscriptions respects the configured contracts +- RPC failures are are handled more elegently, switches to the polling and back to the subscriptions +- Other improvements and bug fixes -Example when migrating the icon chain keystore file where its nid is `0x2.icon` and the wallet address is `0x0B958dd815195F73d6B9B91bFDF1639457678FEb`: +### Refactor -verify keystore exists: +- Icon `progressInterval` notification block is not incremented to handle rpc failures -```shell -ls $HOME/.centralized-relay/keystore/0x2.icon/0x0B958dd815195F73d6B9B91bFDF1639457678FEb.json -``` +## [1.2.5] - 2024-05-18 -Encrypt the keystore file: +### Fixed -```shell -aws kms encrypt --key-id --plaintext fileb://$HOME/.centralized-relay/keystore/0x2.icon/0x0B958dd815195F73d6B9B91bFDF1639457678FEb.json --output text --query CiphertextBlob | base64 -d > "$HOME/keystore/0x2.icon/0x0B958dd815195F73d6B9B91bFDF1639457678FEb" -``` +- Wrong params sent when estimating gas for the evm chain `executeCall` -Move the encrypted wallet passphrase to the new location: +## [1.2.4] - 2024-05-17 - ```shell - mv $HOME/keystore/0x2.icon/0x0B958dd815195F73d6B9B91bFDF1639457678FEb.password $HOME/.centralized relay/keystore/0x2.icon/0x0B958dd815195F73d6B9B91bFDF1639457678FEb.pass - ``` +### Added -### Additional Information +- Support for the injective chain -- All the keystore relayer files are located in the `keystore` directory. - `ls $HOME/.centralized-relay/keystore` +### Fixed -- The version `1.0.0` keystore files for chain are located in the inside the its `nid` directory in a following format: - `keystore//.json` +- Gas Estimation for the evm chain +- Cosmos sdk global config bech32 prefixes +- Other improvements and bug fixes -## [1.1.1] - 2024-03-21 +## [1.2.3] - 2024-05-14 ### Added -- Websocket support for evm chain - -### Fixed - -- AWS Region detection -- Static binary build +- Gas adjustment from config -## [1.1.2] - 2024-03-22 +## [1.2.2] - 2024-05-01 ### Fixed -- Region detection for AWS -- Priority 0 (high) for `start-height` evm -- Panic too many packets map access +- Avoid nonce increment when fixing the nonce error while sending the transaction -## [1.1.3] - 2024-03-27 +## [1.2.1] - 2024-04-30 -### Added +### Fixed -- Route manually from height (on chain) +- Websocket connection disconnect issue with icon chain +- Use `eth_gasPrice` for the gas price calculation all the time +- Other improvements and bug fixes +- Use block mined timeout instead of polling when waiting for transcation -### Fixed +### Removed -- Increase delivery failure by trying for per 15 seconds after initial failures. -- Panics when subscribing to the event result. -- AWS ec2 instance profile detection. -- Other improvements and bug fixes. +- Icon redunant polling code ## [1.2.0] - 2024-04-09 @@ -126,39 +81,70 @@ Move the encrypted wallet passphrase to the new location: - Height sync is no longer necessary. -## [1.2.1] - 2024-04-30 +## [1.1.3] - 2024-03-27 -### Fixed +### Added -- Websocket connection disconnect issue with icon chain -- Use `eth_gasPrice` for the gas price calculation all the time -- Other improvements and bug fixes -- Use block mined timeout instead of polling when waiting for transcation +- Route manually from height (on chain) -### Removed +### Fixed -- Icon redunant polling code +- Increase delivery failure by trying for per 15 seconds after initial failures. +- Panics when subscribing to the event result. +- AWS ec2 instance profile detection. +- Other improvements and bug fixes. -## [1.2.2] - 2024-05-01 +## [1.1.2] - 2024-03-22 ### Fixed -- Avoid nonce increment when fixing the nonce error while sending the transaction +- Region detection for AWS +- Priority 0 (high) for `start-height` evm +- Panic too many packets map access -# [1.2.3] - 2024-05-14 +## [1.1.1] - 2024-03-21 ### Added -- Gas adjustment from config +- Websocket support for evm chain -## [1.2.4] - 2024-05-17 +### Fixed + +- AWS Region detection +- Static binary build + +## [1.1.0] - 2024-03-18 ### Added -- Support for the injective chain +- Support for cosmos chain +- Xcall contract support +- CallMessage event listener for all supported chains +- Fee related operations cmd. `getFee`, `setFee` and `claimFee` +- Structured events for easier event handling + +### Changed + +- Wallet encryption and decryption +- GO version to 1.22.1 ### Fixed -- Gas Estimation for the evm chain -- Cosmos sdk global config bech32 prefixes -- Other improvements and bug fixes +- Incorrect icon chain balance calculation. +- SetAdmin also checks for the admin address to avoid setting the admin address to the same address. +- Retries is less error prone now, only retries after set interval (5s) when failed. +- Fixed the issue when initilizing config file. + +### Migration from 1.0.0 to 1.1.0 + +We have added support for cosmos chains and xcall contract support. To migrate from 1.0.0 to 1.1.0, you need to update the configuration file and add the cosmos chain details. The configuration file is backward compatible, so you can add the cosmos chain details without affecting the existing configuration. + +Major changes in this release is the wallet encryption and decryption. Previously we only encrypted the keystore password, now we encrypt the entire keystore file adding an extra layer of security. The relay will automatically decrypt the keystore file and use it to sign the messages. + +We have also added the xcall execution contract support. The relay will now listen to the call message event and execute the xcall contract. + +Exection will respect the fees set on configuration. The relay will now calculate the fees and execute the contract. + +Migrate keystore files to the new format by running the following command: + +**important**: Before running the command, make sure you have the AWS KMS key id. You can get the KMS key id by running the `crly config show` command.