marigold-dev / deku

MIT License
80 stars 16 forks source link

WIP add contract address in receipts #991

Closed Gau-thier closed 2 years ago

Gau-thier commented 2 years ago

Problem

Contract address is not available in the receipts. Which means we cannot get it from /operations/{hash} in the API

Solution

Add the contract address to the receipts

Test it

Return must be something like following:

["Vm_transaction_receipt",{"operation":"Do3q6fNiXe2rEJ6ui8fJ6vGqiuT47R9rTnLbAZthrrBKCZsAchS4","contract_address":"DK19EoKv6622gK1icUwG8E3ziPqKyqEMsx3N"}