Skip to content

Commit

Permalink
Fixed failing test by changing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrug-rdx committed Feb 7, 2024
1 parent 08f04c3 commit 3e2c5e5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions crates/radix-engine-toolkit-uniffi/src/transaction/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ impl DetailedManifestClass {
pub struct ExecutionSummary {
pub account_withdraws: HashMap<String, Vec<ResourceIndicator>>,
pub account_deposits: HashMap<String, Vec<ResourceIndicator>>,
pub presented_proofs: HashMap<Arc<Address>, Vec<ResourceSpecifier>>,
pub presented_proofs: HashMap<String, Vec<ResourceSpecifier>>,
pub new_entities: NewEntities,
pub encountered_entities: Vec<Arc<Address>>,
pub accounts_requiring_auth: Vec<Arc<Address>>,
Expand Down Expand Up @@ -754,10 +754,11 @@ impl ExecutionSummary {
.into_iter()
.map(|item| {
(
Arc::new(Address::unsafe_from_raw(
Address::unsafe_from_raw(
item.0.into_node_id(),
network_id,
)),
)
.address_string(),
item.1
.iter()
.map(|i| {
Expand Down Expand Up @@ -834,7 +835,7 @@ impl ExecutionSummary {

#[derive(Clone, Debug, Record)]
pub struct ManifestSummary {
pub presented_proofs: HashMap<Arc<Address>, Vec<ResourceSpecifier>>,
pub presented_proofs: HashMap<String, Vec<ResourceSpecifier>>,
pub accounts_withdrawn_from: Vec<Arc<Address>>,
pub accounts_deposited_into: Vec<Arc<Address>>,
pub encountered_entities: Vec<Arc<Address>>,
Expand All @@ -852,10 +853,11 @@ impl ManifestSummary {
.into_iter()
.map(|item| {
(
Arc::new(Address::unsafe_from_raw(
Address::unsafe_from_raw(
item.0.into_node_id(),
network_id,
)),
)
.address_string(),
item.1
.iter()
.map(|i| {
Expand Down

0 comments on commit 3e2c5e5

Please sign in to comment.