Ensemble: Replies do not correctly overwrite the caller data if they return Some.
- 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:
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.