hackbg / hackbg/fadroma

Ensemble: Replies do not correctly overwrite the caller data if they return Some.

Open
#182 6 comments 0 reactions 1 assignee Claimed by @egasimus View on GitHub
bug repro? rust
Dominant language
TypeScript
Stars
53
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I have a fairly complex operation which when I execute it in `Contract A`, will instantiate two `Contracts B & C`. `Contract C` relies on `B`. So `Contract A` will wait for the reply of the `Contract B` instantiation. Then from the reply it will launch another submessage to instantiate `Contract C`. `Contract A` then waits for the reply of `Contract C`. Finally `Contract A` will return a response after `Contract C` replies with the addresses of both `Contract B & C`.

The data set by Contract A from the final reply from Contract C is not being returned in the response in Ensemble:

Screenshot 2023-06-26 at 8 39 23 PM

It is picking the wrong index and setting the data of state[1] when I think it should be overwriting the data in state[0]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.