NEAR-DevHub / neardevhub-contract

DevHub Portal Product Contract (Hosted on NEAR Blockchain) – Includes other instances (e.g. Infrastructure, Events)
https://neardevhub.org
19 stars 15 forks source link

feat: additional kyc check for review stage #138

Closed PolyProgrammist closed 4 months ago

PolyProgrammist commented 4 months ago

Closes https://github.com/NEAR-DevHub/neardevhub-bos/issues/848 - adds additional kyc check for review stage.

For that, VersionedTimelineStatus along with TimelineStatusV1 is introduced

Also it removes posts functionality for the following reason:

Action #0: ExecutionError("Exceeded the prepaid gas.")

It arises on calling either unsafe_self_upgrade or unsafe_migrate on test_deploy_contract_self_upgrade test. You can check kyc-review branch for that And I see the only reason is the code size as it exceeds 1.1 MB. So code for posts was removed. No migrations needed for that as there are no posts on devhub.near. Just one test post