AssetMantle / AssetMantle/modules

CreationHeight should not be accepted if set Immutable Properties

Open
#211 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21
Forks
12
PR merge metrics
No merged PRs in 30d

Description

It is possible to pass creationHeight as immutables.
CreationHeight should not be accepted if set Immutable Properties.
https://github.com/AssetMantle/modules/blob/5571484f53d7b4b8716693cf58e58fbdce547e98/modules/orders/internal/transactions/make/keeper.go#L55-L63

Solution: CreationHeight should be picked from context everywhere, and in messages we should implement check if creationHeight set or not!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.