Live data from Hacker News

OptiFi Program Incident Report

medium.com

1–10 of 158 posts

Re: OptiFi Program Incident Report

#4
post #2

Dev edits on live, makes mistake. Nothing to really see here.

I think there are some lessons that can learned from this. For example, the command line:

  solana program close 
didn't seem to sufficiently represent the destructive nature of the action.

The program's designers should likely have chosen the verb "shutdown", instead of "close".

Re: OptiFi Program Incident Report

#5
For all its flaws (and there are countless) the one thing about the show cryptocurrency space that stands out to me as a programmer is that programming errors can be suddenly very costly (granted, in this case it was more of a DevOps blunder).

Being able to very easily put a price tag on sloppy programming is intriguing to me.

Re: OptiFi Program Incident Report

#7
post #5

For all its flaws (and there are countless) the one thing about the show cryptocurrency space that stands out to me as a programmer is that programming errors can be suddenly very costly (granted, in this case it was more of a DevOps blunder). Being able to very easily put a price tag on sloppy programming is intriguing to me.

When the price tag is “everything you own”, how is this an improvement? Who wants to give over their financial life to a computer program?

This aspect of crypto is a 1960s paranoid computer fear come to life, and somehow it’s often presented as an improvement over the existing system of human checks and balances.

Re: OptiFi Program Incident Report

#8
post #4
post #2

Dev edits on live, makes mistake. Nothing to really see here.

I think there are some lessons that can learned from this. For example, the command line: solana program close didn't seem to sufficiently represent the destructive nature of the action. The program's designers should likely have chosen the verb "shutdown", instead of "close".

While it may not accurately represent what it does, "destroy" may be a better fit.

Re: OptiFi Program Incident Report

#9
From the article:

Lessoned we learned harshly EVERY DEPLOYMENT NEEDS A RIGOROUS PROCESS AND SINGLE POINT FAILURE CAN BE AVOIDED. PLEASE DON’T RUSH LIKE WHAT WE DID, ESPECIALLY FOR DEFI PROJECTS.

Best wishes to the company and individuals involved for recovery of assets and success going forward.

Re: OptiFi Program Incident Report

#10
post #4

Earlier quoted context omitted.

I think there are some lessons that can learned from this. For example, the command line: solana program close didn't seem to sufficiently represent the destructive nature of the action. The program's designers should likely have chosen the verb "shutdown", instead of "close".

While it may not accurately represent what it does, "destroy" may be a better fit.

this is better

solana program lose-all-money

Post reply on HN