rooch-network / rooch

VApp Container with Move Language
https://rooch.network
Apache License 2.0
134 stars 60 forks source link

[Framework] Include create_time and update_time in the ObjectEntity #1766

Closed baichuan3 closed 3 weeks ago

baichuan3 commented 4 weeks ago

Summary

  1. Migrate timestamp module from rooch framework to moveos stdlib
  2. Include create_time and update_time in the ObjectEntity
  3. Update IndexerObject and IndexerField timestamp
vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 1:38am
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/7or5h3rZMZdFjtu15hmCyMn1me5Z)) | [Visit Preview](https://rooch-git-refactortimestamp-rooch.vercel.app) | | May 31, 2024 1:38am |
baichuan3 commented 3 weeks ago

The Create timestamp object in object runtime mentioned earlier has been updated and can be reviewed again.

In addition, the rust genesis test case encountered this exception, which is a bit strange. Please help to have a look. @jolestar

2024-05-30T14:15:48.905105Z ERROR moveos::moveos: execute_genesis_tx vm_error:VMError { major_status: ABORTED, sub_status: Some(2), message: Some("0x0000000000000000000000000000000000000000000000000000000000000002::copyable_any::unpack at offset 19"), exec_state: Some(ExecutionState { stack_trace: [(Some(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000002, name: Identifier("tx_context") }), FunctionDefinitionIndex(11), 12), (Some(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000002, name: Identifier("tx_context") }), FunctionDefinitionIndex(12), 1), (Some(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000003, name: Identifier("genesis") }), FunctionDefinitionIndex(0), 5)] }), location: Module(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000002, name: Identifier("copyable_any") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 19)] }
test tests::test_genesis_init ... FAILED