Endpoint id in smart-contract

Hello!

We are developing a smart-contract expected to be ran in a state-channel. We would like to identify each time a certain function in the contract is called, who the caller is.

We tried to use Caller. addr / origin attributes to access caller address but we always receive the same address (belonging to contract deployer) no matter who made the function call using it.

Any idea and-or alternative?

thanks!
david

I was informed that this is an already known issue. Resolution is expected (at the moment) to be included in 2019’s september hard fork.

3 Likes

For clarity, tracked as Forced Progress context of Callerprimops

1 Like