eae4276381
* Initial analysis * Implement core rewards distribution * Tests and refactoring for better testability * Feature gate ts-rs in mixnet-contract * No more floats * Fix performance calculation * Add migration * Bandwidth fix, reduce inflation pool size * Update tokenomics * Refactor rewarding and replace num crate * Address review comments * Cleanup, better test values * Simplify formula * Cleanup, add rewarding formulas to README * Address review comments * Cleanup rebase * [ci skip] Generate TS types * fmt Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
53 lines
1.6 KiB
TOML
53 lines
1.6 KiB
TOML
[package]
|
|
name = "mixnet-contracts"
|
|
version = "0.1.0"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
|
|
edition = "2018"
|
|
|
|
exclude = [
|
|
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
|
|
"contract.wasm",
|
|
"hash.txt",
|
|
]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[workspace] # adding a blank workspace to keep it out of the global workspace.
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
panic = 'abort'
|
|
incremental = false
|
|
overflow-checks = true
|
|
|
|
[features]
|
|
# for more explicit tests, cargo test --features=backtraces
|
|
backtraces = ["cosmwasm-std/backtraces"]
|
|
|
|
[dependencies]
|
|
mixnet-contract = { path = "../../common/mixnet-contract" }
|
|
config = { path = "../../common/config"}
|
|
|
|
# this branch is identical to 0.14.1 with addition of updated k256 dependency required to help poor cargo choose correct version
|
|
cosmwasm-std = { git = "https://github.com/jstuczyn/cosmwasm", branch="0.14.1-updatedk256", features = ["iterator"] }
|
|
cosmwasm-storage = { git = "https://github.com/jstuczyn/cosmwasm", branch="0.14.1-updatedk256", features = ["iterator"] }
|
|
|
|
#cosmwasm-std = { version = "0.14.1", features = ["iterator"] }
|
|
#cosmwasm-storage = { version = "0.14.1", features = ["iterator"] }
|
|
|
|
schemars = "0.8"
|
|
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
|
|
thiserror = { version = "1.0.23" }
|
|
|
|
[dev-dependencies]
|
|
cosmwasm-schema = { version = "0.14.0" }
|
|
fixed = "1.1"
|