dash/src/evo
Odysseas Gabrielides 59db773eac
fix: Dmnstate unserialize fix (#5192)
## Issue being fixed or feature implemented

## What was done?
Currently, `CDeterministicMNStateDiff` is unserialized incorrectly when
the bit of `Field_pubKeyOperator` is on.
Why? Because it attempts to read all other fields as
`CBLSLazyPublicKey`.

`if (obj.fields & Field_pubKeyOperator) {\ // ---> This check is always
true for all the fields

READWRITE(CBLSLazyPublicKeyVersionWrapper(const_cast<CBLSLazyPublicKey&>(obj.state.pubKeyOperator),
true)); \
        }`

## How Has This Been Tested?

## Breaking Changes

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation

**For repository code-owners and collaborators only**
- [x] I have assigned this pull request to a milestone
2023-02-10 12:34:33 -06:00
..
cbtx.cpp fix: Merklerootmnlist calc bls scheme (#5157) 2023-01-12 16:51:14 -06:00
cbtx.h refactor: pass references to objects instead of using global definitions (#4988) 2022-09-22 15:14:48 +04:00
deterministicmns.cpp chore: run copyright_header.py update 2023-01-13 00:49:04 +03:00
deterministicmns.h refactor: Removed old evo/deterministicmns parts (#5113) 2022-12-26 18:58:51 -06:00
dmnstate.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
dmnstate.h fix: Dmnstate unserialize fix (#5192) 2023-02-10 12:34:33 -06:00
evodb.cpp chore: run copyright_header.py update 2023-01-13 00:49:04 +03:00
evodb.h chore: run copyright_header.py update 2023-01-13 00:49:04 +03:00
mnauth.cpp refactor: rearrange argument order to be more consistent 2023-02-03 15:25:38 -06:00
mnauth.h refactor: rearrange argument order to be more consistent 2023-02-03 15:25:38 -06:00
mnhftx.cpp feat!: BLS scheme upgrade (#5021) 2022-12-29 23:45:31 -06:00
mnhftx.h feat!: BLS scheme upgrade (#5021) 2022-12-29 23:45:31 -06:00
providertx.cpp feat!: BLS scheme upgrade (#5021) 2022-12-29 23:45:31 -06:00
providertx.h refactor: tidy up implementation of special tx manager (#5172) 2023-02-02 23:22:51 -06:00
simplifiedmns.cpp fix: Merklerootmnlist calc bls scheme (#5157) 2023-01-12 16:51:14 -06:00
simplifiedmns.h fix: Merklerootmnlist calc bls scheme (#5157) 2023-01-12 16:51:14 -06:00
specialtx.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
specialtx.h refactor: tidy up implementation of special tx manager (#5172) 2023-02-02 23:22:51 -06:00
specialtxman.cpp refactor: tidy up implementation of special tx manager (#5172) 2023-02-02 23:22:51 -06:00
specialtxman.h refactor: tidy up implementation of special tx manager (#5172) 2023-02-02 23:22:51 -06:00