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.
defverify(ccu: Transaction,ccm: CCM)->None:
ifccm.status!=CCM_STATUS_CODE_OK:
raiseException("Sidechain terminated message must have status OK.")
# Thismessageshouldonlybecreatedonthemainchain.ifccm.sendingChainID!=CHAIN_ID_MAINCHAIN:
raiseException("Sidechain terminated message must be sent from the mainchain.")
### What was the problem?
This PR resolves#7658
### How was it solved?
- Update CCCommand execute to use `CCCommandExecuteContext`
- Update CCCommand to be able to have no schema
- Remove Sidechain terminated CCCommand from mainchain
- Update Sidechain terminated CCCommand on sidechain
### How was it tested?
- Add unit test to cover the cases
Description
Acceptance Criteria
Additional Information
The text was updated successfully, but these errors were encountered: