nearprotocol / near-runtime-ts

Typescript library for writing near smart contracts
22 stars 7 forks source link

Context.sender should point to predecessor_id #87

Open evgenykuzyakov opened 5 years ago

evgenykuzyakov commented 5 years ago

Context.sender should point to the predecessor_id instead of signer_id.

We should also export: Context.signer_id and Context.predecessor_id

DanielRX commented 5 years ago

Context.origin could be the alias for the signer_id