DEV Community 👩‍💻👨‍💻

Discussion on: Web3 will not replace Contract Law?

willtrout profile image
Matt Willtrout

When you have a bug in your code you patch it , and open a pull request.
What do you do if there's a bug in your smart contract?

fjones profile image

Then you have a self-funding bug bounty. You'd have to:

  1. Flag the contract through some other on-chain message.
  2. Trust the off-chain smart contract brokers not to execute the flagged contract.
  3. Issue a new smart contract.

Note that this costs transaction fees and crucially isn't self-enforcing.