Closed zakir-code closed 1 week ago
The changes involve updates to several Go files across different packages, primarily focusing on marking various components as deprecated in the gas_price.go
files of both legacy v1 and v2. Additionally, new methods have been added to the msgServer
struct in the x/gov/keeper/msg_server.go
file, enhancing its functionality. Other modifications include changes to method receivers, type adjustments, and the removal of certain constants and functions, all aimed at improving clarity and performance without altering existing functionality.
File Path | Change Summary |
---|---|
server/grpc/gasprice/legacy/v1/gas_price.go |
Marked Querier struct, FxGasPrice , GasPrice methods, and RegisterGRPCGatewayRoutes as deprecated. |
server/grpc/gasprice/legacy/v2/gas_price.go |
Marked Querier type, GetGasPrice method, and RegisterGRPCGatewayRoutes as deprecated. |
x/gov/keeper/deposit.go |
Optimized validateDepositDenom by initializing denoms slice with a capacity equal to params.MinDeposit . |
x/gov/keeper/msg_server.go |
Added methods: SubmitProposal , Deposit , UpdateStore , UpdateSwitchParams , UpdateCustomParams . |
x/gov/types/params.go |
Removed certain imports/functions and changed NewCustomParams return type from pointer to value. |
x/ibc/middleware/types/events.go |
Removed constant AttributeKeyRecvError . |
x/ibc/middleware/types/packet.go |
Updated method receivers in IbcCallEvmPacket from value to pointer. |
gas_price.go
files.gas_price.go
file.π° In the code, we hop and play,
Marking old paths, clearing the way.
With new methods added, we grow and thrive,
In this land of code, we come alive!
So hereβs to the changes, both big and small,
A joyful leap for one and all! πβ¨
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
SubmitProposal
method in the msgServer for enhanced proposal submission functionality.Deprecations
Improvements
CustomParams
by changing function return types.Removals
AttributeKeyRecvError
constant from the IBC middleware.