ava-labs / hypersdk

Opinionated Framework for Building Hyper-Scalable Blockchains on Avalanche
Other
200 stars 105 forks source link

[chain] Make the precision modulus configurable #1055

Open iFrostizz opened 3 months ago

iFrostizz commented 3 months ago

Ref: https://github.com/ava-labs/hypersdk/blob/ddf10dffbdbbb893b51477b3caaa577ee5e31cba/chain/base.go#L34-L36 https://github.com/ava-labs/hypersdk/blob/ddf10dffbdbbb893b51477b3caaa577ee5e31cba/chain/base.go#L61-L64

We should be able to configure the right hand side of modulus in order to be able to i.e. change the unit of the timestamp of transactions from milliseconds.

github-actions[bot] commented 1 month ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will exempt this issue from future lifecycle events.