gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + gno.land: a blockchain for timeless code and fair open-source.
https://gno.land/
Other
901 stars 378 forks source link

[Keeper] JSON - Gas Consumption #1860

Open gfanton opened 8 months ago

gfanton commented 8 months ago

To prevent abuse, JSON marshaling and unmarshaling should include gas consumption. As mentioned here: https://github.com/gnolang/gno/pull/1776#issuecomment-2025749454, a custom JSON marshaller/unmarshaller implementation is needed to address this.

Kouteki commented 6 days ago

Related to https://github.com/gnolang/gno/issues/2029

Kouteki commented 6 days ago

I'm removing this issue out of the mainnet launch scope, in favor of a simpler approach covered in https://github.com/gnolang/gno/pull/2949