CRYPTO NEWS

5 Categories Of Investments In 2022

While most people have genuinely not seen sense in early investment, a reward comes with a good investment in the long term. If you start to invest early enough, you have a great future set up for you as soon as you retire.

Nonce update for multiple CREATEs in a single transaction when some fail

Suppose executing the bytecode of a smart contract in a particular (single) transaction leads to several CREATE‘s in a row (triggered by the same smart contract). Is it true that the nonce of that smart contract gets raised by 1 with each CREATE regardless of whether the CREATEs fail (e.g. hit a REVERT during execution::Listen

Suppose executing the bytecode of a smart contract in a particular (single) transaction leads to several CREATE‘s in a row (triggered by the same smart contract). Is it true that the nonce of that smart contract gets raised by 1 with each CREATE regardless of whether the CREATEs fail (e.g. hit a REVERT during execution of its initcode or ran out of gas)?

There is no doubt that the nonce must change with every successful CREATE so as to assure that future creates in that transaction yield different addresses. But I’m not sure about what happens if a CREATE failed, although I expect that the nonce is raised regardless.

enter image description here

5 Categories Of Investments In 2022

Shopping cart
There are no products in the cart!
Continue shopping
0