Ethereum: Operation not valid with the current stack size

Ethereum: Operations are not really in the pile of scoring

Virtual Mashin Ethereum (EVM) is the basis of Dwiiguel, which arouses blockchain ethereum. One of its basic contractions is the operation, which is possible to fill in the Blockchain instructions. However, as indicated in [1], the hot size of the EVM steak may be insufficient for the uprising.

bip65 and sippe steak EVM

BIP-0065 specifications specify the maximum amount of byte that can be met by steke to operate. Consider this standard, the size of the steak is 256 bytes. However, in the actual size of the steak, you can change the substitute from the implementation and the specific variant.

foundation script: Operations are not real

Ethereum: Operation not valid with the current stack size

Here is a simple first wall, which is dismantled that it is necessary to supplement the operation with a defective pile:

`C

Pragma Polidy ^0.8.0;

A simple operational agreement is {

Bajt Memory of Data = "Address, World!";

Myfunction () Public Pure Return function (bytes) {

If

// In the direction of data Li less 256 being

Hash160

// If Pravda, the most important again

}

}

}

In this result, please use the operating operation, the “date. Length “less than its size. However, “Data.length” at the present time reflects 32 bytes (address of long strokes, world! “), This operation does not work.

What’s up?

To organize this assessment, disability may be able to give up the use of methods such as ::

  • bufferization : harding in the buffer, pre -test it.

  • Dinamic stretching of the steak

    : highlight more memory to use large operations for sublan.

3.

application

Well, the size of the Ethereum virtual machine steak can be consumed in the case of many variants, it is important to teach these braces of decline and implementation of blockchain. Ponima, how EVM works, and there is an optimization of its production, disability can be more efficient and scale blockchain decisions.

Wipes:

[1]

Note. This condition is maintained only after information outbreaks and is not thrown out as investment converting.

Similar Posts

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *