by carlosdp · 5y ago · 0 comments
The article isn't really detailed at all, so it's hard to know where to start with why these "services" aren't in fact "centralized."
It's effectively the equivalent of someone saying "you can't keep your password secure from hackers if you store it in a database, if someone hacks it then they can steal it and use every site you used that password on": it's just obviously false to people who know how this works, but now I have to explain how hashing works and such.
I'd just encourage reading up on how Ethereum transaction mining works before just taking the article's claims at face value.
The point is smart contracts. They are code, and they have to get updated if there are bugs. How do they get updated? Well, in the simple (and common) case somebody holds the private key and updates it. That's centralization, obviously.
You can get arbitrarily complex with how smart contracts are updated. You can have multisig, where 2:3 have to vote to update, or you can have actual voting, or you can even do voting by stakeholder in the contract.
But whatever you choose, it's fully a function of the smart contract itself what level of decentralization it achieves, and not at all about Ethereum.
Plenty of popular smart contracts do not do this though, and are fully immutable. Rather than updates, the developers upload a new version. Users can use the new version, or stay on the old one forever (the developers cannot delete it).
Regardless of which one, though, this is known ahead of time. A user (or, more likely, a community of users) can inspect the code and see to what extent the key holders can modify functionality.
Eth is immutable unless the central players lose too much money then they can roll it back
I did not know that popular major projects were using immutable smart contracts.
This seems crazy to me, but it does at least address the question of centralization (while introducing massive bug risk).
I will grant you "simple", and maybe even "common"... but only because most people don't really understand decentralization and many of the ones who do don't care about it.
The "actual" way this happens, for the protocols and contracts that "actually matter" (certainly almost everything you would have heard of, as opposed to the long tail of tiny pet projects) is that, in the case that a bug is found, all of the users have to vote with their feet to move to and accept a new one.
Essentially, this is equivalent to saying "decentralized contracts simply aren't upgradable", but of course everything is upgradable if you accept the idea of people giving up on old software and using new software ;P.
(If this sounds familiar, it should be: this is in a very real sense similar to how Wireguard intends to deal with cryptographic breaks in its chosen cipher suite, as they aren't some centralized power able to upgrade everyone's computers remotely.)
(FWIW, there is something else you can do, but as it would be implemented by still more contracts that themselves might have bugs I don't consider it the answer here as it begs the question: you make a contract--hopefully a simpler one that is less likely to have a bug--that lets people vote on which contract is the current accepted one, assuming they can all have compatible APIs.)
So assuming that this is mainly an issue of people not understanding versus understanding and not caring (though you said there’s some of that) how is the Ethereum community going to get the word out so that this becomes a mainstream success versus mainly for speculation as it is now?
A common issue and one that I personally feel crypto in general suffers from is that neat tech isnt a a criteria on which most people flock to use something so what are the reasons end users need to know to be like ah yup I will drop my regular finance interactions for this or heavily augment them with this?
That said, I was paid in crypto the other day through a DAO. I was told how to submit a proposal to be paid, and then the funds were released through a vote within hours. It was transparent and the only hiccup was in needing a 70 cent bond fee to submit the proposal - it wasn't "controlled" in the usual sense of assigning a person to handle funds. So I already see some benefit in organizational structure.
That there are a large number of silly projects most people haven't heard of, or random tutorials on the web for getting started in crypto, that involve building contracts with backdoors is no different from any technology... most stuff isn't scalable or even slightly secure, even if the products from the biggest companies and used by the most people tend to be: like think how many websites have ubiquitous SQL or HTML injection attacks... only "by volume" (looking at the total number of such websites, irrespective of how much use they get) as "by weight" (looking at the websites you use during the course of a day by how much you use them) I bet almost none of them do.
Interestingly, this is actually almost doable in the context of a decentralized contract/computing system (with bug bounties to incentivise reporting[1]). You can include in the contract a interface where someone provides a proof[0] that a given cryptographic primitive is broken (eg a pair of colliding messages for a hash function), and the contract self-modifies to no longer trust that hash function.
The other half of the process - adding new primitives - is harder, since you want to prevent the addition of deliberately broken primitives. Obvious ideas include requiring a machine-checkable proof of hardness from some reasonable axioms (eg ZFC + P!=NP + whatever else), although most primitives don't have such proofs, and that doesn't look likely to change. Or requiring a quorum of reliable-seeming cryptographers to vouch for it (refutation: NIST endorsed Dual_EC_DRBG). A escrow period, where a new primitive is accompanied by a deposit that's paid out to anyone who breaks it, might help, but you'd need a seperate mechanism to prevent NOBUS backdoors (again, see Dual_EC_DRBG).
0: Ideally, you want a semi-zero-knowledge proof such that someone who has the option of putting in a tractable but significant amount of work to prove it (eg hash collision in 2^64 operations) will expect to be able to recoup their losses without getting sniped by front-runners, but once such a proof has been used, it's only a matter of time before front runners recover it and warn every contract.
For hash collisions, probably the easiest design is a two-phase model, where the reporter provides a zero-knowledge proof to commit to a particular hash collision, but then has to provide the actual collision to get the bounty. This can also work for preimages of a Schelling point like all-bits-zero. I'm not sure what a good Schelling point for typical public-key cryptography like curve25519 would be though; zero is almost always algebraicly special.
1: Cryptographic primitives are generally broken incrementally, so this incentivises even malicious parties to report a not-yet-exploitable break immediately (and thereby neuter it), rather than spend time trying to develop a working exploit (and risk both the large and small rewards disappearing out from under them because someone else was either honest or just less patient).
There’s some fancy complex stuff where you can deploy 2 smart contracts with one being a proxy contract. Here, the proxy contract functions a lot like DNS does on the Internet. In this case, the contract CAN be (almost) fully updated but the proxy contract has to be setup at the very beginning. In like 80% or more of the smart contracts I’ve seen, smart contracts do not utilize proxy contracts for (almost) full updatability due to the extra complexity it adds, the less trustworthyness, and some other reasons.
Source: I am a smart contract developer.
It seems like for any contract that holds significant value it would be insane to make it immutable, particularly when it's written in a turing complete language like Solidity.
This part does talk about Ethereum itself. It's just a conflation that, I agree, the author probably didn't intend, but nonetheless demonstrates the lack of understanding.
Decentralized communities choose to use a different contract or not.
I’m not really sure the point of the goal posts here.
I'm looking for interesting takes, generally growing exhausted from the various eth subreddits, cryptocurrency and bitcoin that are commentary on pricing. Sites like cointelgraph are also just barren of anything interesting. It seems like such an exciting time for cryptocurrency but not seeing the level of rigorous thinking I want.
Yeah this article is complete trash. No comment.
There are also some decent selections here: https://danromero.org/crypto-reading/
In my post I write about an open source project I implemented using smart contracts that acts as an options (derivatives) exchange, and all the components required for making it work (ex: stablecoins, price oracles, collateral management, liquidity pools, etc).
[1] https://thomasvilhena.com/2021/02/building-a-decentralized-o...
https://decrypt.co/ is also pretty decent.
I would have fleshed this out more if I knew this was going to reach the front page. Yes, many smart contracts are deployed with distributed upgrade mechanisms, and I mention them briefly at the end of the post. I mostly wrote this to start a conversation with friends about a) how many internet services can be practically operated with the friction that such upgrade mechanisms create, and b) the potential to use the blockchain only for the voting protocol, then to sign and deploy the service on a traditional cloud.
I can read the article, gather my initial thoughts and come to some sensible comments within that articles posting to further navigate.
If this article is garbage, the way to dispense with it is with comments such as these. (I'm not making any claim to the validity or lack-thereof of the article)