implement muldiv without overflow and underflow

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2025-08-10 16:41:14 +03:00
parent 9240f424e1
commit e2c75ca558
6 changed files with 323 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "ghost-networks"
version = "0.1.13"
version = "0.1.14"
license.workspace = true
authors.workspace = true
edition.workspace = true
@@ -10,6 +10,7 @@ repository.workspace = true
[dependencies]
scale-info = { workspace = true, features = ["derive"] }
codec = { workspace = true, features = ["max-encoded-len"] }
num-traits = { workspace = true }
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
@@ -30,6 +31,7 @@ default = ["std"]
std = [
"scale-info/std",
"codec/std",
"num-traits/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",