Skip to content

Commit

Permalink
[asset-mapping] fixed whole process for asset-mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Jan 24, 2025
1 parent 1ff229f commit cd64e95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions asset-mapping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,12 @@ fn test_asset_mapping_whole_process() -> Result<()> {
let state_proof = chain_state_1.get_with_proof(
&StateKey::resource(&alice, &CoinStoreResource::struct_tag_for_token(stc_struct_tag()))?,
)?;

(
chain_state_1.state_root(),
state_proof.proof.account_state_proof.leaf().unwrap().0,
state_proof.proof.account_state_proof.leaf().unwrap().1,
state_proof.proof.account_state_proof.siblings,
state_proof.proof.account_proof.leaf().unwrap().0,
state_proof.proof.account_proof.leaf().unwrap().1,
state_proof.proof.account_proof.siblings,
)
};

Expand Down

0 comments on commit cd64e95

Please sign in to comment.