massa icon indicating copy to clipboard operation
massa copied to clipboard

Inconsistency in size of sub SC

Open AurelienFT opened this issue 2 years ago • 2 comments

In this test : https://github.com/massalabs/massa/blob/e73a532f8ecf0c3333b42e3e353c13492827a9f2/massa-execution-worker/src/tests/scenarios_mandatories.rs#L121 we use the size of a sub smart contract to calculate the storage costs.

The size we hard-coded is the size we get in set_bytecode of speculative_ledger.rs. I tried to get the size of the sub smart contract built (his .wasm) and the size of his base64 none of them correspond to the size hard-coded.

AurelienFT avatar Sep 27 '22 07:09 AurelienFT

is this still relevant ?

damip avatar Jun 05 '23 09:06 damip

Yes

AurelienFT avatar Jun 05 '23 09:06 AurelienFT