Closed zakir-code closed 6 days ago
The pull request introduces enhancements to the AppModule
structure across multiple modules by integrating the crosschain.AutoCLIAppModule
. Each module's constructor is updated to initialize this new structure, allowing for improved command-line interface (CLI) functionalities specific to cross-chain operations. Additionally, a new file defining the AutoCLIAppModule
is added, and several command functions in the CLI-related files are streamlined, resulting in a reduced command set focused on essential operations.
File(s) | Change Summary |
---|---|
x/arbitrum/module.go, x/avalanche/module.go, x/bsc/module.go, x/eth/module.go, x/layer2/module.go, x/optimism/module.go, x/polygon/module.go, x/tron/module.go | Updated AppModule to include crosschain.AutoCLIAppModule . Modified NewAppModule constructor to initialize AutoCLIAppModule with ModuleName from types.ModuleName . |
x/crosschain/autocli.go | Introduced AutoCLIAppModule struct with ModuleName and implemented AutoCLIOptions method for command options related to cross-chain operations. |
x/crosschain/client/cli/query.go, x/crosschain/client/cli/tx.go | Removed multiple command functions to streamline CLI commands for querying oracles and bridge operations in query.go and tx.go . Modified one command function in query.go to change a variable name. |
x/crosschain/client/cli/tx.go
, which may relate to the overall enhancements in CLI functionalities introduced in the main PR.x/arbitrum/module.go
and others, aligning with the main PR's focus on enhancing the AppModule
structure for CLI interactions.app/app.go
regarding the AutoCliOpts
method reflect updates in module management, relevant to the integration of crosschain.AutoCLIAppModule
.AppModule
structure and its integration with cross-chain functionalities.🐇 In a world where chains intertwine,
A rabbit hops, oh so divine!
With CLI commands now refined,
Cross-chain magic, well-defined.
Let’s leap ahead, with joy we sing,
For every module, a new spring! 🌸
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?
Summary by CodeRabbit
New Features
AutoCLIAppModule
across multiple modules.AutoCLIAppModule
struct for improved command-line interface functionalities.Bug Fixes
Documentation