0LNetworkCommunity / libra-framework

9 stars 33 forks source link

[move] multi_action initialization with offer pattern #288

Closed soaresa closed 4 months ago

soaresa commented 4 months ago

Multi-Action Offer Feature

This PR is to inform the team about my current work on the multi-action offer feature #227 . It includes functionality for proposing and claiming authority roles within the multi-auth account.

Important: breaks Move backwards compatibility

Move Test Coverage Change %

Test Coverage Overall Score #Tests
Before 67.56 262
After 68.64 303
Diff. 1.6% 41
Module Name Before After Diff
multi_action_migration 0.00 95.24 95.24
multi_action 82.01 91.18 9.17
community_wallet_init 54.68 58.84 4.16
proof_of_fee 87.31 88.27 0.96
multisig_account 82.67 83.14 0.47
primary_fungible_store 95.24 95.42 0.18
safe 93.97 94.07 0.10

Rust Smoke Tests

  1. create_community_wallet (offer/claim)
  2. update_community_wallet_offer (before cage)
  3. add_community_wallet_admin (vote -> claim)
  4. remove_community_wallet_admin (vote + threshold bug fix)
  5. upgrade_multi_action_on_twin_db (upgrade chain + cage a new cw)