dfinity / sns-testing

Testing SNS in local testing environment
Apache License 2.0
9 stars 12 forks source link

Update example_sns_init.yaml #47

Closed bjoernek closed 1 year ago

bjoernek commented 1 year ago

Adjustments of the provided example values for the dissolve delay bonus and age bonus.

DanielThurau commented 1 year ago

@bjoernek So I went through the code, and even extended the sns-cli to print out what the equivalent SnsInitPayload would be. My findings are as follows:

In the v1 sns init config file, a multiplier of 2.0 would produce a max_dissolve_delay_bonus_percentage of 100%. In the v2 sns init config file, a percentage of 100% would produce a max_dissolve_delay_bonus_percentage of 100%. So I believe the example percentage given in the current template is correct.

Does that make sense to you?

bjoernek commented 1 year ago

Based on our discussion the description in the init file is update.