codex-storage / codex-contracts-eth

Ethereum smart contracts for Codex
Other
6 stars 9 forks source link

Simplify `Request`'s client address tracking #49

Open AuHau opened 1 year ago

AuHau commented 1 year ago

Currently the Request object has client property which is now enforced that it must be the msg.sender (here and is not allowed to be specified to some different address, hence it would be simpler to drop the Request.client property and instead use the msg.sender which could be stored in the RequestContext object.