b-harvest / Canto

GNU Lesser General Public License v3.0
3 stars 4 forks source link

feat. simulation codes for canto modules #65

Closed poorphd closed 1 month ago

poorphd commented 2 months ago

Description

Closes: L-2, L-7


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.

I have...

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...

poorphd commented 2 months ago

need to fix coinswap simulation

dudong2 commented 1 month ago

need to implement RegisterStoreDecoder for all modules that have NewDecodeStore function. ref. https://github.com/cosmos/cosmos-sdk/blob/v0.50.8/x/staking/module.go#L292-L295

dudong2 commented 1 month ago

need to check interface about module.AppModuleSimulation for all AppModules. ref. https://github.com/cosmos/cosmos-sdk/blob/v0.50.8/x/staking/module.go#L41

poorphd commented 1 month ago

need to implement RegisterStoreDecoder for all modules that have NewDecodeStore function. ref. https://github.com/cosmos/cosmos-sdk/blob/v0.50.8/x/staking/module.go#L292-L295

applied in https://github.com/b-harvest/Canto/pull/65/commits/6d15af1affea7c97c8007cfadfb6b59a0fa14439

poorphd commented 1 month ago

need to check interface about module.AppModuleSimulation for all AppModules. ref. https://github.com/cosmos/cosmos-sdk/blob/v0.50.8/x/staking/module.go#L41

applied in https://github.com/b-harvest/Canto/pull/65/commits/096d7d1e1fabad31a9d9ce612dfc7f8729b08f2d