rooch-network / rooch

Fully on-chain Application Container with Move Language
https://rooch.network
Apache License 2.0
126 stars 53 forks source link

Add permanent area for Inscription. #1608

Closed pause125 closed 1 week ago

pause125 commented 1 week ago

Summary

  1. Add permanent_area for bitcoin_move::ord::Inscription
  2. Add an incomplete example bitcoin_plants(#1214 ) which use the permanent area.
vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
rooch-rooch-portal-v1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:26pm
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/59PAY1quUC8aJsvrejasdxaQZDsu)) | [Visit Preview](https://rooch-git-fork-pause125-plants-rooch.vercel.app) | | Apr 24, 2024 1:26pm |
jolestar commented 1 week ago

Inscription also needs the temp state area.

pause125 commented 1 week ago

Test failed with message:

2024-04-23T15:07:07.881156Z ERROR moveos::moveos: verify_genesis_tx error:VMError { major_status: TYPE_MISMATCH, sub_status: None, message: Some("The type parameter 0x2::bcs::from_bytes when calling function 0::types::Transaction is not a data_struct"), exec_state: None, location: Module(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000004, name: Identifier("ord") }), indices: [], offsets: [(FunctionDefinitionIndex(75), 0)] }
test tests::test_genesis_init ... FAILED

Test cmd:

cargo nextest run --workspace --all-features --exclude rooch-framework-tests --exclude rooch-integration-test-runner -v

Please give some tips. @jolestar @steelgeek091

jolestar commented 1 week ago

Need @@steelgeek091 help

pause125 commented 1 week ago

Inscription also needs the temp state area.

Added. Also updated the plants example.