Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill out issue exploring description on chain #9

Closed
RusseII opened this issue Jan 31, 2022 · 2 comments
Closed

Fill out issue exploring description on chain #9

RusseII opened this issue Jan 31, 2022 · 2 comments
Assignees
Labels

Comments

@RusseII
Copy link
Contributor

RusseII commented Jan 31, 2022

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:

Bribe Protocol aims to revolutionize dGov with incentivized protocol participation. Improving upon current DAO governance models, Bribe coordinates voters into powerful coalitions up for auction by a highest bidder.

(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

@RusseII RusseII self-assigned this Jan 31, 2022
@RusseII RusseII added the draft label Feb 2, 2022
@Pet3ris
Copy link

Pet3ris commented Feb 11, 2022

Yeah descriptions on-chain are helpful. Governance proposals even host long-form markdown text on-chain so you wouldn't be the first one.

@RusseII
Copy link
Contributor Author

RusseII commented Mar 2, 2022

@Namaskar-1F64F would we want to store these descriptions in the bonds themselves,

@RusseII RusseII closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants