Skip to content

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

@luca992

Description

@luca992

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]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions