Kick Contract #2

Merged
ghe0 merged 6 commits from general_and_admin into main 2025-05-23 13:14:54 +00:00

Production grade kick contract code for financial transaction tested for both vm and app
modified schema to include node in kick, default time for deleted_app and removed unwanted fields
app data migration for testing kick contract for active_app
fixed some tests
register operator

Production grade kick contract code for financial transaction tested for both vm and app modified schema to include node in kick, default time for deleted_app and removed unwanted fields app data migration for testing kick contract for active_app fixed some tests register operator
noormohammedb added 6 commits 2025-05-22 19:23:51 +00:00
app pricing calculation
add node in kick schema and type
improved handling
Clone on all app types
handle expected error on kick contract
validate both app and vm contracts
one single transaction query to execute all the kick operation
Remove unused fields from deleted_app schema
a basic test for kick and possibilities
migrating all db schemas
integrate app data in migration
fix vm node registration to new architecture
enhanced airdrop and handling admin in test
airdroping to wallet before creating vm
calculating refund inside transaction query
db function to calculate price per minute for app
binded all kick contract query to prevent sql injection
proper logging for kick contract
fix table schema app_node typo and default time on deleted_app
removed wrapper contract struct
removed migrating timer.sql
fixed some clippy warnings
noormohammedb requested review from ghe0 2025-05-22 19:24:00 +00:00
ghe0 merged commit 565128d6cb into main 2025-05-23 13:14:54 +00:00
ghe0 referenced this issue from a commit 2025-05-23 13:14:55 +00:00
noormohammedb referenced this issue from a commit 2025-05-25 21:48:09 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testnet/brain#2
No description provided.