massa
massa copied to clipboard
Inconsistency in size of sub SC
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.
is this still relevant ?
Yes