Tanmay
Tanmay
# Description Refactor MsgUpdateZRC20 into MsgPauseZrc20 and MsgUnPauseZRC20 MsgPauseZRC20 : PolicyType_groupEmergency MsgUnPauseZRC20 PolicyType_groupOperational Closes: https://github.com/zeta-chain/node/issues/2244 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue)...
We iterate over a list of ZRC20 coins and pause /unpause them. If a coin is not found, we return an error, discarding the state changes. This can be modified...
Add a make command that does the following. - Download the latest Genesis snapshot from https://snapshots.zetachain.com/latest-state-export. - Start a network with the previous version of the binary and import data....
Add a make command that does the following - Download the latest Genesis snapshot from `https://snapshots.zetachain.com/latest-state-export` - Import the required data into the genesis file for e2e test network -...
- Remove legacy types used for importing v14 data into the v16 binary. ```[tasklist] ### Tasks - [ ] https://github.com/zeta-chain/node/issues/2259 - [ ] https://github.com/zeta-chain/node/issues/2261 ```
- Use the policy table defined in #2246 for authorization. Replace existing `IsAuthorized` calls with the new function call
- Add the `PolicyTable` struct to the authority module. ``` type AdminPolicy { msgUrl string policy PolicyType } type PolicyTable struct { policyList []AdminPolicy } ``` - Define Get, Set,...
Create the new messages with policy requirements ``` MsgUpdateGasPriceIncreaseFlags : PolicyType_groupOperational MsgEnableCCTXFlags : PolicyType_groupOperational MsgDisableCCTXFlags : PolicyType_groupEmergency ```
Create the two messages with policy requirements ``` MsgPauseZRC20 : PolicyType_groupEmergency MsgUnPauseZRC20 PolicyType_groupOperational ```
Refactor ``` func MockIsAuthorized(m *mock.Mock, _ string, _ types.PolicyType, isAuthorized bool) ``` to ``` func MockIsAuthorized(m *mock.Mock, ,err error) ```