You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Refactor AuthModule.beforeCommandExecute() to always use only 1 get and 1 set store operation, instead of up to 2 gets and 2 sets.
RegisterMultisignatureCommand.verify(): Move sorting of optional keys after checking that mandatory keys are sorted
Tests:
Rename framework/test/unit/modules/auth/method.ts to method.spec.ts
Rename framework/test/unit/modules/auth/auth_module.ts into module.ts
Unskip Multi-signature registration transaction from module.spec.ts
beforeCommandExecute test initialize senderAccount with default values should use correct value for numberOfSignatures and asert all properties of the account
endpoint test suite verifyTransaction actually tests isValidSignature and should be renamed
The text was updated successfully, but these errors were encountered:
### What was the problem?
This PR resolves#7832
### How was it solved?
Functionality:
- Refactored `AuthModule.beforeCommandExecute()` to always use only 1
get and 1 set store operation, instead of up to 2 gets and 2 sets.
- `RegisterMultisignatureCommand.verify()`: Moved sorting of optional
keys after checking that mandatory keys are sorted
Tests:
- Renamed `framework/test/unit/modules/auth/method.ts` to
`method.spec.ts`
- Renamed `framework/test/unit/modules/auth/auth_module.ts` into
`module.ts`
- Unskiped _Multi-signature registration transaction_ from
`module.spec.ts`
- `beforeCommandExecute` test _initialize senderAccount with default
values_ now uses correct value for `numberOfSignatures` and asserts all
properties of the account
- endpoint test suite `verifyTransaction` renamed to `isValidSignature`
### How was it tested?
All unit tests passed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Functionality:
AuthModule.beforeCommandExecute()
to always use only 1 get and 1 set store operation, instead of up to 2 gets and 2 sets.RegisterMultisignatureCommand.verify()
: Move sorting of optional keys after checking that mandatory keys are sortedTests:
framework/test/unit/modules/auth/method.ts
tomethod.spec.ts
framework/test/unit/modules/auth/auth_module.ts
intomodule.ts
module.spec.ts
beforeCommandExecute
test initialize senderAccount with default values should use correct value fornumberOfSignatures
and asert all properties of the accountverifyTransaction
actually testsisValidSignature
and should be renamedThe text was updated successfully, but these errors were encountered: