Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Understanding upgradable contracts

In Chapter 1, Introduction to Blockchain, we discussed how, on the Ethereum blockchain, once a Solidity smart contract is deployed, it cannot be changed. Because smart contracts are immutable, only the states of the variables can be changed by an authorized person. We also discussed how, because of the immutability of contract code, it is very important to not have any bugs left in contract code, since this could cause issues later, once the code is deployed to production.

Because of the immutability of contracts, there have been many attacks happened in the past on smart contracts. Once an attacker identifies bugs in contracts with funds, they exploit the bugs and vulnerabilities present in the contract ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content