medusa-network / medusa-contracts

Solidity smart contracts for Medusa
Other
10 stars 2 forks source link

Users are responsible for paying for gas required to deliver result #18

Open jaeaster opened 1 year ago

jaeaster commented 1 year ago

When a user submits a reencryption request, they should estimate the gas cost for the nodes to deliver the response onchain and pay for it.

Nodes will claim the reimbursement for the gas cost when they deliver the result.