Closed RnkSngh closed 1 month ago
The pull request introduces significant changes to the IUniversalChannelHandler
functionality across multiple files. The primary modification is the removal of the openChannel
method and its replacement with the triggerChannelInit
method, which maintains similar parameters. This change is reflected in the ABI definitions, contract interfaces, and factory classes. Additionally, the version number in package.json
has been updated. Overall, the changes indicate a restructuring of channel management methods within the contract.
File Path | Change Summary |
---|---|
bindings/go/iuniversalchannelhandler/IUniversalChannelHandler.go | Removed openChannel methods; added triggerChannelInit methods. |
bindings/go/universalchannelhandler/UniversalChannelHandler.go | Removed openChannel methods; added triggerChannelInit methods. |
contracts/core/UniversalChannelHandler.sol | Renamed openChannel to triggerChannelInit . |
contracts/interfaces/IUniversalChannelHandler.sol | Renamed openChannel to triggerChannelInit . |
package.json | Updated version from 4.0.3 to 4.0.4 . |
src/evm/contracts/IUniversalChannelHandler.ts | Removed openChannel ; added triggerChannelInit . |
src/evm/contracts/UniversalChannelHandler.ts | Removed openChannel ; added triggerChannelInit . |
src/evm/contracts/factories/Earth__factory.ts | Updated bytecode string. |
src/evm/contracts/factories/IUniversalChannelHandler__factory.ts | Removed openChannel ; added triggerChannelInit ; added error type MwBitmpaCannotBeZero . |
src/evm/contracts/factories/UniversalChannelHandler__factory.ts | Removed openChannel ; added triggerChannelInit ; updated bytecode string. |
IUniversalChannelHandler
interface.UniversalChannelHandler
contract, directly related to the changes in the main PR.onChanOpenInit
and onChanCloseInit
callbacks, directly related to modifications in the IUniversalChannelHandler
interface.enhancement
, bug
🐇 In the meadow, channels bloom,
openChannel
fades, makes room.
triggerChannelInit
takes its place,
A new dawn shines, a fresh embrace.
Hops and jumps, we celebrate,
In the world of code, we innovate! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR to udpate uch challel open to
triggerChannelInit
, which will allow us to reuse our channel creation workflow as we do for mars for uchSummary by CodeRabbit
Release Notes
New Features
triggerChannelInit
, for initializing channels, enhancing channel management capabilities.Bug Fixes
openChannel
function to streamline the channel initialization process.Version Update