essential-contributions / essential-integration

Integration of Pint and the Essential protocol.
Apache License 2.0
3 stars 1 forks source link

question about specifying `token_name` and `token_symbol` #98

Open rybla opened 9 hours ago

rybla commented 9 hours ago

does this (and the following line) not just ensure that the token_name and token_symbol have to be the ones in config.pnt every time?

https://github.com/essential-contributions/essential-integration/blob/879a959e9d1d6845dc5df3fe9aafc1b3ab4adc07/apps/token/pint/token/src/contract.pnt#L93

freesig commented 7 hours ago

Yeh it does. So you need to change the config. I guess we could remove this now that we have salt. It was originally done like this so different tokens would be different contracts. We just need pint to support salt and I might remove this