Closed RusseII closed 2 years ago
Yeah descriptions on-chain are helpful. Governance proposals even host long-form markdown text on-chain so you wouldn't be the first one.
@Namaskar-1F64F would we want to store these descriptions in the bonds themselves,
Should we store description on chain?
https://ethereum.stackexchange.com/questions/11556/use-string-type-or-bytes32
Gas cost is 20k gas per 32 characters.
Example: It would be 140k gas to store this on chain:
(215 characters / 32) = 6.7 rounded up is 7 (20k gas * 7) = 140k
@ 100 gwei 100k gas = .01 eth 1m gas = .1 eth 10m gas = 1 eth
Pros
Cons