aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[account v2] a new account model with optional resources and working e2e with modified pro/epilogue

Open lightmark opened this issue 1 year ago • 4 comments

Description

It is a proof-of-concept implementation of Account v2 w/o account abstraction. It cannot work without completing the migration of APT to FA.

name it as lite_account now.

Test Plan

add a new lite account structure in e2e-move-test framework and add a test of sending fungible asset from one account to the other to make sure everything works e2e including prologue/transfer/epilogue(charging gas etc).

lightmark avatar Nov 03 '23 05:11 lightmark

This issue is stale because it has been open 45 days with no activity. Remove the stale label, comment or push a commit - otherwise this will be closed in 15 days.

github-actions[bot] avatar Feb 03 '24 01:02 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove the stale label, comment or push a commit - otherwise this will be closed in 15 days.

github-actions[bot] avatar Apr 05 '24 01:04 github-actions[bot]

Codecov Report

Attention: Patch coverage is 9.04762% with 191 lines in your changes missing coverage. Please review.

Project coverage is 59.1%. Comparing base (3af88bc) to head (b2b4860). Report is 10 commits behind head on main.

Files Patch % Lines
types/src/account_config/resources/lite_account.rs 0.0% 74 Missing :warning:
types/src/function_info.rs 0.0% 25 Missing :warning:
aptos-move/framework/src/natives/lite_account.rs 35.2% 22 Missing :warning:
types/src/account_config/resources/object.rs 0.0% 20 Missing :warning:
...pes/src/account_config/resources/fungible_store.rs 0.0% 16 Missing :warning:
types/src/state_store/mod.rs 0.0% 15 Missing :warning:
...ccount_config/resources/fungible_asset_metadata.rs 0.0% 11 Missing :warning:
aptos-move/aptos-vm/src/errors.rs 0.0% 7 Missing :warning:
aptos-move/aptos-vm/src/aptos_vm.rs 0.0% 1 Missing :warning:

:exclamation: There is a different number of reports uploaded between BASE (3af88bc) and HEAD (b2b4860). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3af88bc) HEAD (b2b4860)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main   #10780       +/-   ##
===========================================
- Coverage    70.8%    59.1%    -11.7%     
===========================================
  Files        2348      836     -1512     
  Lines      470183   202577   -267606     
===========================================
- Hits       333129   119898   -213231     
+ Misses     137054    82679    -54375     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 02 '24 23:05 codecov[bot]